-
... state when they are pressed (on). k = MKtl( 'lpd80' ); k.gui; s.boot; k.reset; MIDIIn.noteOnZeroAsNoteOff_( false ); // ---------------- on - off -------------- // the simplest version is just on-off Ndef( \testSynth, { |on=0| SinOsc.ar( 4 ...
-
... \midi_note_gate, { |unit, midifuncs| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifuncs.do(_.free); func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (a ...
-
... ble= false; } ); index= MIDIClient.sources.detectIndex{|x| x.uid==device.id}; //MIDIIn.disconnect(index, MIDIClient.sources[index]); //TODO disconnect needed? MIDIIn.connect(index, MIDIClient.sources[index]); ccResponders.do{|x| x.free}; se ...
-
... le = false | if (enable) { if (slaved.not) { "Slaving transport to MMC".postln; MIDIIn.addFuncTo(\sysex, sysex); }; slaved = true; } { if (slaved) { "MIDI input closed".postln; MIDIIn.removeFuncFrom(\sysex, sysex); }; slaved = false; }; } s ...
-
... \midi_note_gate, { |unit, midifuncs| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifuncs.do(_.free); func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (a ...
-
... latform support) * This blocks (which may be useful) */ init { nk_sources = []; MIDIIn.connectAll(); // this calls MIDIClient.init; input device is filtered in MIDIdef nk_last_seen = Dictionary[]; nk_sources = MIDIClient.sources.select {|e| ...
-
... it(app) } init{|anApp| app = anApp; this.initMIDI; } initMIDI{ MIDIClient.init; MIDIIn.connectAll; synths = Dictionary.new; MIDIFunc.noteOn({|vel, key| var tab = app.gui.tabs[app.gui.tabView.activeTab.index]; var name = "colliding_" ++ app. ...
-
... lib, initCalibReset; var textOscSelect, textRestrictToPort, textMidiSelect; var midiInitBut, midiSourceSelect, sourceNames; var oscIPSelect, restrictToPort, oscAddrList; var midiSrcID, oscIPAddress; OSCCommands.collectTempIPsAndCmds; if(GUI ...
-
... ; // Rutina de pausado del Synth var resumeRoutine; classvar settings; classvar midiInitialized; // true o false. Para no inicializarse más de una vez. // Métodos de clase ////////////////////////////////////////////////////////////////// * ...
-
... to send LED command back to QuNeo toQuNeo = MIDIOut(0).latency_(0); midiPort = MIDIIn.findPort("QUNEO", "QUNEO MIDI 1"); // .notNil or: MIDIIn.findPort("QUNEO", "QUNEO").notNil; if (midiPort.notNil, { "QuNeo found:".postln; midiPort.postln ...