unimidi 0.3.2-i686-linux → 0.3.3-i686-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -3
- data/lib/unimidi.rb +1 -1
- data/lib/unimidi/congruous_api_adapter.rb +4 -0
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -4,13 +4,15 @@
|
|
4
4
|
|
5
5
|
Platform independent realtime MIDI input and output for Ruby.
|
6
6
|
|
7
|
+
Also see {micromidi}[http://github.com/arirusso/micromidi] which builds a full MIDI messaging DSL on top of unimidi
|
8
|
+
|
7
9
|
== Features
|
8
10
|
|
9
11
|
* Supports Linux, JRuby, OSX, Windows and Cygwin
|
10
12
|
* No compilation required
|
11
13
|
* Both input and output to and from multiple devices concurrently
|
12
14
|
* Agnostically handle different MIDI and SysEx Message types
|
13
|
-
* (OSX Only)
|
15
|
+
* (OSX Only) Use IAC to internally route MIDI to other programs
|
14
16
|
|
15
17
|
== Requirements
|
16
18
|
|
@@ -43,8 +45,7 @@ In addition, some examples are included with the library
|
|
43
45
|
* {selecting a device}[http://github.com/arirusso/unimidi/blob/master/examples/select_a_device.rb]
|
44
46
|
* {input}[http://github.com/arirusso/unimidi/blob/master/examples/input.rb]
|
45
47
|
* {output}[http://github.com/arirusso/unimidi/blob/master/examples/output.rb]
|
46
|
-
|
47
|
-
{more...}[http://github.com/arirusso/unimidi/blob/master/examples]
|
48
|
+
* {sysex output}[http://github.com/arirusso/unimidi/blob/master/examples/sysex_output.rb]
|
48
49
|
|
49
50
|
== Tests
|
50
51
|
|
data/lib/unimidi.rb
CHANGED
@@ -184,6 +184,8 @@ module UniMIDI
|
|
184
184
|
#
|
185
185
|
def gets(*a)
|
186
186
|
@device.gets(*a)
|
187
|
+
rescue SystemExit, Interrupt
|
188
|
+
exit
|
187
189
|
end
|
188
190
|
|
189
191
|
#
|
@@ -196,6 +198,8 @@ module UniMIDI
|
|
196
198
|
#
|
197
199
|
def gets_s(*a)
|
198
200
|
@device.gets_s(*a)
|
201
|
+
rescue SystemExit, Interrupt
|
202
|
+
exit
|
199
203
|
end
|
200
204
|
alias_method :gets_bytestr, :gets_s
|
201
205
|
alias_method :gets_hex, :gets_s
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unimidi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: i686-linux
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-06 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: alsa-rawmidi
|
16
|
-
requirement: &
|
16
|
+
requirement: &70193347432120 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70193347432120
|
25
25
|
description: Platform Independent, realtime MIDI input and output for Ruby
|
26
26
|
email:
|
27
27
|
- ari.russo@gmail.com
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: 1.3.6
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project: unimidi
|
70
|
-
rubygems_version: 1.8.
|
70
|
+
rubygems_version: 1.8.17
|
71
71
|
signing_key:
|
72
72
|
specification_version: 3
|
73
73
|
summary: Realtime MIDI input and output for Ruby
|