Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. MIDIExplorer Doc

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

  3. MIDIResponder Doc

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

  4. MIDIIn Help

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

  5. MIDI displayer/debugger by peterk (peterk) Code

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

  6. midi_noteOn_freq Quark

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

  7. midi_note_gate Quark

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

  8. NoteOnResponder Doc

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

  9. MIDIIn Doc

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

  10. NoteOffResponder Doc

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow