-
... 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 ...
-
... 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 ...
-
... ..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 ...
-
... ass { midiOuts = Dictionary(); dependants = Set(); this.refresh(); } *refresh { MIDIClient.init(); midiOuts.clear(); MIDIClient.destinations do: { |midiEndPoint| var endPointName = midiEndPoint.device + "-" + midiEndPoint.name; midiOuts[end ...
-
... false).not ) { all = all.add( this ); }; } *getMIDIInSrc { |mIn| var port; if( MIDIClient.initialized.not ) { MIDIIn.connectAll; }; case { mIn.isNumber } { port = MIDIClient.sources[ mIn ] ?? { MIDIClient.sources.detect({ |item| item.uid = ...
-
... nt) .init(install) } *initialized { ^ptrinit } *responders { ^ptrs } *init { if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); ptrinit = true; ptrs = []; MIDIIn.polytouch = { arg src, chan, note, touch; ptrs.any({ arg r; r.respond(src,c ...