Hi all,
Some time ago, Julian suggested adopting the OSCresponder style for
MIDI input handling. At the time, we decided to leave well enough
alone.
But this may be the best way to incorporate support of sysex commands.
Here is a basic model:
MIDI commands are broken into: portID command channel ...args
(command is the top niibble: $80, $90, etc..; channel is the lower
nibble)
MIDIresponder would select based on command and channel;
MIDIpathResponder could select on portID and other args (for system
commands,
continuous controllers, etc).
Methods like
MIDIIn-noteOn_ { arg func; MIDIresponder(16r90,nil,func).add}
could be included to maintain the current interface.
Comments?
RJK
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev