Skip to content

channel-music/ex_portaudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.