-
... ports.put(0x80000001, MIDIPort(srctemp)); numPorts = max(numPorts, ports.size); MIDIFunc.noteOn({ arg vel, note, chan, src; if(ports[src].isNil) { // true == post warning // warning should not post repeatedly // unless the MIDI subsystem re ...
-
... e; }); if (midiNoteFuncOff.notNil, { midiNoteFuncOff.free; }); midiNoteFuncOn = MIDIFunc.noteOn(noteOnActionIntermediate, srcID: midiIn.uid, chan: chan); midiNoteFuncOff = MIDIFunc.noteOff(noteOffActionIntermediate, srcID: midiIn.uid, chan: ...
-
... = 16383; cc1 = aCc1; cc2 = aCc2; chan = aChan; pattern = PatternProxy(0); def = MIDIFunc.cc({ |val,num,chan,src| pattern.source = val; case {num==cc1}{this.msbSet(val)} {num==cc2}{this.lsbSet(val)} }, [cc1,cc2],chan); if(fix, { def.fix; }); ...
-
... name, `spec) }) // .put(\learned, { |num, name| // learning.clear; // }) ; midi.midiFuncs.do { |midiResp| if(#[noteOn, noteOff].includes(midiResp[\name]).not) { this.addCtl(midiResp[\num], midiResp[\name], midiResp[\spec]); }; }; func = { | ...
-
... Vars[3].not.postln, true); }); Butz.add(\MIDI_trace, { "*** MIDI_trace: ".post; MIDIFunc.trace(MIDIFunc.classVars[2].not.postln, true); }); /// some general helpers Butz.add('setAll', { WinBounds.restoreAll }); Butz.add('chanTest', { WinBou ...
-
... tMIDI; } 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.id ++ "_" ++ tab.id; synths[key] = tab.track ...
-
... space[\osc]) m = JITModMIDI(p.proxyspace); m.addCtl(1, \freq, \freq); m.slotAt(\midiFuncs).at(\name1).chan m.removeCtl(1, \freq); m.addCtl(1, \speed, [1, 15, \exp]); MIDIIn.doControlAction(MIDIClient.sources[0].uid, 0, 1, 100); m.removeCtl( ...
-
... // will need to unpack it correctly later: // either support multiple ports in MIDIfunc, // or merge one MKtl for each port into one mother MKtl *merge { |dict, key, newItem| var arr = dict[key].asArray; if (arr.includesEqual(newItem).not) ...
-
... MKtlDesc.descFolders explore MKtl('dt', "elektron-digitakt"); MKtl('dt').trace MIDIFunc.trace MKtl('dt').elAt(\kn) MKtlDesc.loadCaches MKtlDesc.writeCaches "/Users/tboverma/Library/Application Support/SuperCollider/MKtlDescriptions/_allDes ...
-
... |str1| MIDIIn.connectAll; }, "start midiin"); cW.add(\midipost, [\str], {|str1| MIDIFunc.trace(true); }, "post all incomming midi messages"); cW.add(\midipostst, [\str], {|str1| MIDIFunc.trace(false); }, "stop posting all incomming midi mes ...