-
... ports.put(0x80000001, MIDIPort(srctemp)); numPorts = max(numPorts, ports.size); NoteOnResponder({ arg src, chan, note, vel; if(ports[src].isNil) { // true == post warning // warning should not post repeatedly // unless the MIDI subsystem re ...
-
... =MIDIOut(0, mididestination.uid); MIDIOut.connect(0, mididestination.uid); nonr=NoteOnResponder(non,midisource.uid,swallowEvent:true); nofr=NoteOffResponder(non,midisource.uid,swallowEvent:true); cor=CCResponder(co,midisource.uid,swallowEve ...
-
... ion slider.action = a.func( 'wiggle' ) // call the API using lookup by API name NoteOnResponder ({ |src,chan,note,vel| API ( 'myApp' ).call( 'wiggle' ,vel) }); If a new device (midi/keyboard) comes along you can quickly attach it to your mu ...