-
... ], inf ), \dur , Pwrand (#[1, 0.5], #[0.8, 0.2], inf ) ), player; ~noteOnResp = NoteOnResponder ({ if(player.isNil or: { player.isPlaying.not }) { player = pattern.play; } { player.stop; }; // num: 60 limits this responder to listen to midd ...
-
... CFunc and MIDIFunc provides better alternatives to the old OSCresponderNode and NoteOnResponder , etc. OSCFunc can receive on any port, not only the main NetAddr.langPort . New Location of Startup file The sclang startup file has moved to P ...
-
... },{ pads.at(x,y+1).responseOff; }); //}.play; }; nonr=NoteOnResponder(non,midisource.uid,swallowEvent:true); nof={|src,chan,num,val| var x=num%16; var y=(num-x)/16; //[\off,src,chan,num,val].post ...
-
... 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 ...
-
... der - allow functions to be registered to respond to MIDI control change events NoteOnResponder - allow functions to be registered to respond to MIDI noteOn events NoteOffResponder - allow functions to be registered to respond to MIDI noteO ...