Skip to content

sample-usr/speakers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

def deps do
  [
    {: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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published