-
... ch 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| e.device.containsi("nanoKontrol") ...
-
... s from FoxDot".postln; } *startRemote { this.start(true); } *midi { arg port=0; MIDIClient.init; midiout = MIDIOut(port); OSCFunc( { arg msg, time, addr, port; var note, vel, sus, channel, nudge; // listen for specific MIDI trigger messages ...
-
... uts on the console // find the number of the output interface you want to use MIDIClient.init; // select the midi out you would like to use m = MIDIOut( 8 ).latency_(0.0); // send a sysex functions // some example messages MKS-50 ...
-
... on.notNil.if { if ( thisProcess.platform.name == \linux ) { midiOut.disconnect( MIDIClient.destinations.indexOfEqual(destination) ) }; midiOut = nil; }; source = nil; destination = nil; } // open all ports *initDevices { |force = false| if ...
-
... init() } init{ //Connect to MIDI sources if noone has bothered to do it yet. if(MIDIClient.sources.isNil, {MIDIIn.connect}); //Find QUNEO in and out ports if not specified during creation. if(scInPort.isNil, {scInPort = this.detectInPort}); ...
-
// version 0.3 // first, initialize your midi device. ( MIDIClient.init; MIDIClient.list; // to check, which are there, you can query them ) // create a midi out connection ~midiOut = MIDIOut.newByName("FastLane USB", "Port A"); // substitu ...
-
... idi/Croatia.mid"); m.timeMode_('seconds'); // convert ticks to seconds ); ( MIDIClient.init; // check list for available devices MIDIClient.destinations; a = MIDIOut(2); //Midi number of destination ); ( ~cont = 0; ~tiempo = 0.2; ...
-
... ..2] -- you can do MIDIPort.init([2, 0, 1]) and you'll get // MIDIIn.connect(0, MIDIClient.sources[2]) // MIDIIn.connect(1, MIDIClient.sources[0]) // MIDIIn.connect(2, MIDIClient.sources[1]) *init { |sourceInports| var srctemp; var randsrc; ...
-
... ionary(); dependants = Set(); this.refresh(); } *refresh { MIDIIn.connectAll(); MIDIClient.init(); midiIns.clear(); MIDIClient.sources do: { |midiEndPoint| var endPointName = midiEndPoint.device + "-" + midiEndPoint.name; midiIns[endPointNa ...
-
... correctly. // example is from linux, where apps auto-register midi IO. // give MIDIClient fake sources and destinations: MIDIClient.prSetSources([ MIDIEndPoint("System", "Timer", 0), MIDIEndPoint("System", "Announce", 1), MIDIEndPoint("Mid ...