-
Notifications
You must be signed in to change notification settings - Fork 5
Ruby bindings for PortAudio
License
jvoorhis/ruby-portaudio
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= PortAudio Author:: Jeremy Voorhis Copyright:: Copyright (c) 2009 Jeremy Voorhis License:: BSD 3-clause (see LICENSE) This package contains Ruby bindings to the PortAudio api. PortAudio is a cross- platform interface to your audio hardware. The ruby-portaudio package supports both PortAudio apis: blocking and non-blocking. The blocking API allows Ruby scripts to iteratively fill a sample buffer which is then written to the audio hardware (later versions will also support reading from a buffer). The non-blocking api allows Ruby programs to act as controllers for audio streams defined by an external callback function. Because the callback function may be run in an interrupt, it is not really feasible to implement one in Ruby. You can, however, write your callback function in a C extension, or you may build your own using LLVM or LibJIT as in http://github.com/jvoorhis/Motivik. See the bottom of lib/portaudio.rb for an example. == Requirements * PortAudio, version 1.9 or better * Fairly complete support for Ruby's foreign function interface
About
Ruby bindings for PortAudio
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published