Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (154) Code (34) Doc (29) Help (5) Quark (86) SCDoc ↗ Forum ↗ Google ↗
  1. MackieControl Quark

    ... olMIDI { classvar <>all; var mackieControl, <>midiFuncs; var <>offset = 0; var <midiIn, <midiOut; var <>currentFaderVals; var <>softSetTime = 0.9, <>hwSoftSetTasks; var <>knobRes = 0.0078125; // resolution for knobs (default 1/128) var <>kn ...

  2. Using a MIDI keyboard - simple example by bruno (Bruno Ruviaro) Code

    Basic example - how to use a MIDI keyboard with a simple synth MIDIIn.connectAll; // MIDIClient.init; ( // A SynthDef with ADSR envelope SynthDef("quick2", {arg freq = 440, amp = 0.1, gate = 1; var snd, env; env = Env.adsr(0.01, ...

  3. MIDISim Doc

    ... ntrollers Location: NOT INSTALLED! See also: Modality , MKtl , MIDIMKtlDevice , MIDIIn , MIDIClient Description MIDISim is intended for testing controller setups without requiring the device to be there. It can create any kind of midi messa ...

  4. MIDIMonitor Quark

    /* // Example: MIDIIn.connectAll; MIDIMonitor.start; // now wiggle all elements, then see hierarchy of messages: MIDIMonitor.postTree; MIDIMonitor.msgTree.keys; To Do: 1. abstract out consecutive note numbers and controller numbers in order ...

  5. MIDI_input_output_tests Quark

    ... st to SuperCollider for this, which makes this an option rather than a default: MIDIIn.noteOnZeroAsNoteOff = false; See: https://github.com/supercollider/supercollider/issues/1483 and: https://github.com/supercollider/supercollider/pull/148 ...

  6. MIDI control Quark

    ... ontroller 1 (modulation wheel) on any channel to the frequency of the sine wave MIDIIn.connectAll; // needs to be runned once ( m = MIDIFunc.cc({ |val, num, chan, src| x[0][0].freq = val.linexp(0,127,20,20000); // points to first unit of fi ...

  7. MIDISyncClock Quark

    ... not initialized, this method will do it and connect the sources sequentially to MIDIIn. Note that MIDIIn.sysrt receives clock messages ONLY from the port assigned to MIDIIn inport 0. If your clock source is not at MIDIClient.sources[0], mak ...

  8. MIDISyncClock Quark

    ... not initialized, this method will do it and connect the sources sequentially to MIDIIn. Note that MIDIIn.sysrt receives clock messages ONLY from the port assigned to MIDIIn inport 0. If your clock source is not at MIDIClient.sources[0], mak ...

  9. Controller Quark

    ... l,size); } derive { arg n; ^Controller.newP(ctl.copyRange(n,size-n), size-n); } midiInitialize { if(MIDIClient.initialized.not,{ MIDIClient.init; }); MIDIClient.sources.do({ arg endPoint; MIDIIn.connect(0, endPoint); }); MIDIIn.control = { ...

  10. TeensyHeadTracker Quark

    ... lient.sources.do{|src, srcNum| if(src.device == "Teensy Head Tracker", { if(try{MIDIIn.isTeensyHeadTrackerConnected}.isNil, { if(MIDIClient.sources.any({|e| e.device=="Teensy Head Tracker"}), { "Connecting Teensy Head Tracker".postln; MIDII ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow