This library let's you play audio files through the speakers (default output device). It also gives you the ability handle the file like a media player.
iex> Speakers.add_to_queue("/Users/test/Downloads/audio.mp3")
It uses rust via a NIF under the hood and is essentially a wrapper over the excellent library rodio
If available in Hex, the package can be installed
by adding speakers to your list of dependencies in mix.exs:
defdepsdo[{:speakers,"~> 0.1.0"}]endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/speakers.