@i = UniMIDI::Input.use(:first) @o = UniMIDI::Output.use(:first) M(@i, @o) do tu :n rc :n { |m| tp(m, :oct, 1) if %w{C E G}.include?(m.note_name) } j end
See the alias definitions here for the complete list.
http://github.com/arirusso/micromidi
Next: Generating Sysex Messages
No comments:
Post a Comment