-
... , 15)).font_(Font(Font.available("Arial") ? Font.defaultSansFace, 9, true)); if(MIDIClient.initialized, { midiInitBut.states_([ ["restart MIDI", Color.black, Color.green] ]) }, { midiInitBut.states_([ ["init MIDI", Color.white, Color.red] ] ...
-
... rt( -476939297 ); // or to get the uid of e.g. the first connected MIDI device: MIDIClient.sources[0].uid.postln; MIDIExplorer.start(MIDIClient.sources[0].uid); // if only a single device is connected, you can also just do MIDIExplorer.star ...
-
... sages coming in from this port. The number may be the system UID (obtained from MIDIClient.sources[index].uid) or the index itself. If nil, the responder will match any port. chan The MIDI channel(s) to match. num The control or note number ...
-
... tln; }; ) Quick start for 2 or more ports: ( var inPorts = 2; var outPorts = 2; MIDIClient .init(inPorts,outPorts); // explicitly intialize the client inPorts.do({ arg i; MIDIIn .connect(i, MIDIClient .sources.at(i)); }); ) class methods: * ...
-
... ote on, off, and continuous control messages // initialize the midi client MIDIClient.init; // connect all the possible inputs MIDIIn.connectAll; // if we receive a midi on message, display some data about it including velocity, ...
-
... MapDefs set */ ValueUMapDef( \midi_noteOn_freq, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.remove; func = { |value, range| var outSpec; outSpec = unit.getSpec( \value ); value = value - 69; i ...
-
... UMapDefs set */ ValueUMapDef( \midi_note_gate, { |unit, midifuncs| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifuncs.do(_.free); func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curv ...
-
... src, chan, num, value. src The src number may be the system UID (obtained from MIDIClient.sources[index].uid ) or the index of the source in the MIDIClient.sources array. nil matches all. chan An Integer between 0 and 15 that selects which ...
-
... > MIDI'>MIDI MIDIIn : Object receive MIDI messages Source: MIDIOut.sc See also: MIDIClient , MIDIOut , MIDIFunc , MIDIdef , MIDI , Using MIDI Description This document explains technical details of the MIDI hardware interface class, MIDIIn. ...
-
... src, chan, num, value. src The src number may be the system UID (obtained from MIDIClient.sources[index].uid ) or the index of the source in the MIDIClient.sources array. nil matches all. chan An Integer between 0 and 15 that selects which ...