arirusso/unimidi
关于
Realtime MIDI IO for Ruby
开发工具可以做什么
- Supports Linux, JRuby, OSX, Windows and Cygwin
- No compilation required
- Both input and output to and from multiple devices concurrently
- Generalized handling of different MIDI and SysEx Message types
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文UniMIDI
Platform independent realtime MIDI input and output for Ruby.
Also see MicroMIDI which builds a full MIDI messaging DSL on top of this library.
Features
- Supports Linux, JRuby, OSX, Windows and Cygwin
- No compilation required
- Both input and output to and from multiple devices concurrently
- Generalized handling of different MIDI and SysEx Message types
- (OSX Only) Use IAC to internally route MIDI to other programs
Requirements
UniMIDI uses one of the following libraries, depending on which platform you're using it on. The necessary library should install automatically with the unimidi gem.
Platform
- JRuby: midi-jruby
- Linux: alsa-rawmidi
- OSX: ffi-coremidi
- Windows/Cygwin: midi-winmm
Install
If you're using Bundler, add this line to your application's Gemfile:
gem "unimidi"
Otherwise...
gem install unimidi
Usage
Blog Posts
In addition, some examples are included with the library
Tests
UniMIDI includes a set of tests which assume that an output is connected to an input. You will be asked to select which input and output as the test is run.
The tests can be run using
rake spec
See below for additional notes on testing with JRuby
Documentation
Platform Specific Notes
JRuby
- javax.sound has some documented issues with SysEx messages in some versions OSX Snow Leopard which do affect this library.
Linux
- libasound and libasound-dev packages are required
Author
Ari Russo <ari.russo at gmail.com>
License
Apache 2.0, See the file LICENSE
Copyright (c) 2010-2022 Ari Russo
探索相关项目
加载中…