-
... i hardware interface we connect it to. // See which MIDI sources are available: MIDIClient.sources; // figure out which one you want to use, // and open it via the port name as idInfo: MKtl(\nocoast).openDeviceVia("IAC Driver"); */ ( device ...
-
... 017 **********/ NoCoastConfig { var m_midiout; *new { ^super.new.init; } init { MIDIClient.init; this.makeWindow; } makeWindow { var win, mainLayout; win = Window("0-Coast Setup"); mainLayout = GridLayout(); mainLayout.vSpacing_(15); mainLa ...
-
... dex, value: value).postln; c.elAt(wheelIndex).deviceValueAction_(value); }); ); MIDIClient.init; // test that coding is correct: // access wheels, last 4 bits of note MIDIIn.noteOn.value(0, 0, 0, 0); // action: '1', 0 MIDIIn.noteOn.value(0, ...
-
... if ( srcID.notNil ){ observedSrcID = nil; }; resps.do(_.free); } *postSrcInfo { MIDIClient.sources.do { |src, i| "i: % - idInfo: % - name: % - uid: % \n".postf( i, src.device, src.name, src.uid ); }; } *prepareObserve { totalSum = 0; observ ...
-
... ON", Color.white, Color.blue] ]) .action_({ |b| if(b.value==1, { { "Waiting for MIDIClient to initialize...".postln; MIDIClient.init; 3.wait; "Almost there...".postln; 1.wait; if(MIDIClient.initialized, { this.connectQuNeo; this.onConnectMI ...
-
... n the ones with the same idInfo first, // and collect all their srcIDs/destIDs: MIDIClient.sources.do { |endpoint, index| MKtlLookup.addOrMergeMIDI(endpoint, index, \src); }; MIDIClient.destinations.do { |endpoint, index| MKtlLookup.addOrMe ...
-
... iOut; *new { ^super.new.initSGUImidiOutput; } initSGUImidiOutput{ var popup; if(MIDIClient.initialized.not, { MIDIClient.init; }); Platform.case( \osx, { if(MIDIClient.destinations.size<1 or:{MIDIClient.destinations[0].device.beginsWith("IA ...
-
... mechaMaxDur , 0.2) x.free /////////////////////////////////////// // Midi Mixer MIDIClient .init; MIDIIn .connect; ( MIDIIn .control = { |port, chan, ctlNum, val| [chan, ctlNum, val].postln; (ctlNum == 7).if{ // fader (chan == 8).if{ // mas ...
-
... d.start; /* JITseto.action = nil; // */ ) /////////////////////// // Midi Mixer MIDIClient .init; MIDIIn .connect; ( MIDIIn .control = { |port, chan, ctlNum, val| [chan, ctlNum, val].postln; (ctlNum == 7).if{ // fader == cubes (chan == 8).i ...
-
... *new { |parent, bounds| ^super.new(parent, bounds).initialize(); } initialize { MIDIClient.init; MIDIIn.connectAll; patternBoxLauncherItemViews = List(); this.initializeEvents(); this.initializeView(); this.registerEventHandlers(); projectS ...