Skip to content

Repository files navigation

Speakers

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

Installation

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"}]end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/speakers.

About

Play audio files through speakers

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages