Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (167) Code (30) Doc (36) Help (9) Quark (92) SCDoc ↗ Forum ↗ Google ↗
  1. SCMMIDIOutSelectorView Quark

    ... ass { midiOuts = Dictionary(); dependants = Set(); this.refresh(); } *refresh { MIDIClient.init(); midiOuts.clear(); MIDIClient.destinations do: { |midiEndPoint| var endPointName = midiEndPoint.device + "-" + midiEndPoint.name; midiOuts[end ...

  2. MackieControl Quark

    ... 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 = ...

  3. MIDIResponder Help

    ... 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 nu ...

  4. Launchpad Spiral by schemawound (Schemawound) Code

    ... al of it here: https://www.instagram.com/p/BFjqSxCwF4J/?taken-by=schemawound ( MIDIClient.init; MIDIIn.connectAll; ~lpChan = 0; ~lpIn = MIDIClient.sources.select({arg item, i; (item.name == "Launchpad Mini")})[0]; //Pick the first launc ...

  5. Listening to CC messages by hemsinlet (hems.inlet) Code

    ... o all midi in devices // if you need to specify one, // check the sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) MIDIIn.connect; // show incoming control data ~control = { arg src, chan, num, val ...

  6. exhaustive MIDI debugger by soundlake (soundlake) Code

    ... becomes more human-readable format; MIDIEndPoint.device and MIDIEndPoint.name. MIDIClient.init; MIDIIn.connectAll; ( // List or comment out the message types to debug ~types = [ "noteOn", "noteOff", "control", "touch", "polyt ...

  7. PolyTouchResponder Quark

    ... 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 ...

  8. Sending a Sysex Message by hemsinlet (hems.inlet) Code

    ... 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(0); // send a sysex message on that output m.sysex(Int8Array[ 16rf0, 0, 0, 27, ...

  9. MIDI value recorder by lfsaw (LFSaw) Code

    ... by Ableton Live). // requires SimpleMIDI from wslib quark "wslib".include; MIDIClient.init; MIDIIn.connectAll; /* MIDIFunc.trace; // show all MIDI messages coming in MIDIFunc.trace(false); // show all MIDI messages coming in */ ...

  10. SCLOrkJack Quark

    ... nil, go for dialog".postln; Dialog.openPanel(loadFunction); }); } // Checks if MIDIClient.init has been initialized. If not, attempt to initialize it. // Run function when after MIDI has been initialized. *waitForMIDI { |onComplete, lag = ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow