-
... ponder , ProgramChangeResponder , TouchResponder See also: MIDIFunc , MIDIdef , MIDIIn , MIDI , Using MIDI Description NOTE: SC 3.5 added the MIDIFunc and MIDIdef classes. These are faster, and aim to have a more convenient, logical and con ...
-
... 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 ...
-
... el, lastTime = 0, count = 0, bank = 36; if(MIDIClient.sources.size==0, { MIDIIn.connectAll }, { "MIDI already connected".postln } ); // Choose here how much transposition is desired for X axis maxRate = 1 + ~pitchBend; m ...
-
... makes it easy to connect a CV to any control source: ( // MIDI MIDIClient.init; MIDIIn.connect(0,0); MIDIIn.control = { arg src, chan, num, val; a.input_(val/127) } ) ⧉ ✔ The methods input and input_ are also used by ConductorPreset to allo ...
-
... ~lpfFreq = 0.5; ~lpfRes = 0.5; ~fundamental = 110; ~quNeoChannel = 0; MIDIIn.connectAll; //MIDIdef.freeAll; MIDIdef.noteOn( key: \noteOn, func: { arg vel, note; var node, partial; node = notes.at(note); ...
-
... dur, 0.38, \amp, 0.6, ).play(TempoClock(128/60)); ) ) s.stopRecording; MIDIIn.connectAll; s.record; ( MIDIdef.noteOn(\blips, {arg vel, note; Synth("SynthesisSynergy", [ \freq, note.midicps, // converts to Hz \amp, vel.lin ...
-
... 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 ...