-
... Data) }; if(verbose) { "new synth named '%':\n%\n\n".postf(name, event) }; } addMIDI { |name, device, event, appendToExisting = false, metaData| var midiEvent = DirtEventTypes.midiEvent.copy.put(\midiout, device); if(event.notNil) { midiEve ...
-
... separately. // one array variable in one environment, one player v = VarGui ([ \midi , [50, 70, \lin , 1, 55] ! 3], stream: p, quant: 0.2).gui; // three single variables in three environments, three players v = VarGui ([ \midi , [50, 70, \l ...
-
... only to switch MPadView to its proper mode. noteOnTrig: { |dict| dict.putAll((\midiMsgType: \noteOn, \spec: \midiBut)); }, noteOnVel: { |dict| dict.putAll((\midiMsgType: \noteOn, \spec: \midiVel)); }, // pass if already expanded elem: { |d ...
-
... rror, -1], target.freeMsg, #[error, -2] ); }; // asClass b/c you might not have MIDI Suite installed // nil.update is OK (no-op) 'MIDIPort'.asClass.update; // clears VoicerMIDISocket associated with me // if socket is pointing to proxy, the ...
-
... cated for a more OO solution ~prepare = #{ |notes, nextNote, storage, parms, rawMIDI = true| // notes should be in the format [note, note, note] var mode = parms.atBackup(\mode, storage) ? \default; ~notes = notes.asArray; ~nextNote = nextN ...
-
... cated for a more OO solution ~prepare = #{ |notes, nextNote, storage, parms, rawMIDI = true| // notes should be in the format [note, note, note] var mode = parms.atBackup(\mode, storage) ? \default; ~notes = notes.asArray; ~nextNote = nextN ...
-
... } ccRel_{ |ccNumOrFunc, chan, srcID, argTemplate, dispatcher, broadcast=false| ^MIDIControlValue().ccRel_(ccNumOrFunc, chan, srcID, argTemplate, dispatcher, broadcast).mapTo(this); } cc14_{ |ccNumOrFunc, chan, srcID, argTemplate, dispatcher ...
-
... 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 ...
-
... Changed notifications // if true: chord/arpegBP factories prefer mode stored in MIDIRecBuf properties // if false: chord/arpegBP factories prefer \default mode if(Library.at(\clUseBufMode).isNil) { Library.put(\clUseBufMode, false); }; // h ...
-
... d function to get or set its value when called from a SystemClock thread or OSC/MIDI responder. And when the action is called (via valueAction or doAction) it is done immediately instead of with the AppClock delay ( t = Task ({ var pt; pt = ...