AudioPlayer
Play sound file using elixir. NIF implementation using rodio crate.
Installation
If available in Hex, the package can be installed
by adding audio_player to your list of dependencies in mix.exs:
def deps do
[
{:audio_player, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/audio_player.
Usage
AudioPlayer.play("~/audio.mp3")