PortAudio bindings for elixir.
WARNING: This project is heavily WIP, don't expect it to work at all.
- Working C compiler along with Make build tools
- Erlang >= 20
- PortAudio
These are the platforms that I have personally tested, it may or may not work for other operating systems.
- Ubuntu 16.04
There is currently no hex package, so installation can be done using the git repository directly.
def deps do
[{:ex_portaudio, git: "https://github.com/channel-music/ex_portaudio"}]
end
Check the examples directory for a set of examples on recording audio and playing raw audio files.
To play the demo song run:
$ mix run --no-halt examples/play_song.exs examples/song.raw
This project is licensed under BSDv3 to Antonis Kalou.
See the license file for more details.