https://github.com/arirusso/alsa-rawmidi
Realtime MIDI IO with Ruby for Linux
https://github.com/arirusso/alsa-rawmidi
Last synced: over 1 year ago
JSON representation
Realtime MIDI IO with Ruby for Linux
- Host: GitHub
- URL: https://github.com/arirusso/alsa-rawmidi
- Owner: arirusso
- License: other
- Created: 2011-03-19T22:54:18.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T02:20:13.000Z (over 4 years ago)
- Last Synced: 2024-04-23T23:55:41.275Z (over 2 years ago)
- Language: Ruby
- Homepage:
- Size: 104 KB
- Stars: 12
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alsa-rawmidi
#### Realtime MIDI IO with Ruby for Linux.
Access the ALSA RawMIDI API with Ruby.
Note that in the interest of allowing people on other platforms to utilize your code, you should consider using [unimidi](http://github.com/arirusso/unimidi). Unimidi is a platform independent wrapper that implements this gem and has a similar API.
## Features
* Simplified API
* Input and output on multiple devices concurrently
* Generalized handling of different MIDI Message types (including SysEx)
* Timestamped input events
## Requirements
* [ffi](http://github.com/ffi/ffi)
* libasound, libasound-dev packages
## Installation
If you're using Bundler, add this line to your application's Gemfile:
`gem "alsa-rawmidi"`
Otherwise
`gem install alsa-rawmidi`
## Usage
* [input](http://github.com/arirusso/alsa-rawmidi/blob/master/examples/input.rb)
* [output](http://github.com/arirusso/alsa-rawmidi/blob/master/examples/output.rb)
## Documentation
* [rdoc](http://rdoc.info/gems/alsa-rawmidi)
## Author
[Ari Russo](http://github.com/arirusso)
## License
Apache 2.0, See the file LICENSE
Copyright (c) 2010-2022 Ari Russo