Skip to content

channel-music/ex_portaudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71a4796 · Mar 9, 2018

History

29 Commits
Mar 9, 2018
Feb 19, 2018
Mar 9, 2018
Mar 9, 2018
Feb 28, 2018
Feb 19, 2018
Feb 19, 2018
Feb 20, 2018
Mar 9, 2018
Mar 9, 2018
Mar 9, 2018
Feb 20, 2018

Repository files navigation

Elixir PortAudio

PortAudio bindings for elixir.

WARNING: This project is heavily WIP, don't expect it to work at all.

Prerequisites

  • Working C compiler along with Make build tools
  • Erlang >= 20
  • PortAudio

Supported Platforms

These are the platforms that I have personally tested, it may or may not work for other operating systems.

  • Ubuntu 16.04

Installation

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

Examples

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

License

This project is licensed under BSDv3 to Antonis Kalou.

See the license file for more details.