Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (154) Code (34) Doc (29) Help (5) Quark (86) SCDoc ↗ Forum ↗ Google ↗
  1. Listening to CC messages by hemsinlet (hems.inlet) Code

    ... 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; [chan,num,val].postln; }; MI ...

  2. Simple MIDI CC to Sysex messages ( proof of concept ) by hemsinlet (hems.inlet) Code

    ... specify one, // check the sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) MIDIIn.connectAll; // show incoming control data ~control = { arg src, channel, control, value; // ( control + " : " ...

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

  4. glitchySampler by tigges-p (tigges-p) Code

    ... ed recordings of a tuba, a western guitar and a panflute*/); MIDIClient.init; MIDIIn.connect(0, MIDIClient.sources[/*index of your device*/]); ( var activenotes = nil!128; var sustain = 0; var sustained = false!128; var rel ...

  5. Fifths (QuNeo demo) by bruno (Bruno Ruviaro) Code

    ... // (QuNeo demo) // // // Ctrl + A, then Ctrl + Enter s.waitForBoot({ MIDIIn.connectAll; a = Array.fill(8, {arg count; [count, count+7] }); f = {arg velocity, midinote; var notes = if(midinote>=44, {a.reverse+midinote} ...

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

    ... ialize 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, note number, channel, and source MIDIdef.noteOn(\noteO ...

  7. Re: Launchpad Spiral by 0-2U (grirgz) Code

    For the challenge, let's make the path algorithmically =) ( MIDIClient.init; MIDIIn.connectAll; ~lpChan = 0; ~lpIn = MIDIClient.sources.select({arg item, i; (item.name == "Launchpad Mini")})[0]; //Pick the first launcpad mini you find ...

  8. Δ by delta (Δ) Code

    ... verbose: false ) ; { connect ( disconnect ( MIDIIn , * [ ~source.index, ~source.in.uid ] ) , * [ ~source.index, ~source.in.uid ] ) } try: ...

  9. just a start with Livid BASE by moncrey (moncrey) Code

    ... "Controls", { baseFound=true; this.base = b; this.baseIn=MIDIIn(b); this.baseOut = MIDIOut.newByName("Base","Controls"); } ) }; if(this.base == nil, {Post << "BASE not found! base=="<< this.ba ...

  10. midi soft takeover by meunierfabien (meunier.fabien) Code

    ... value of your GUI. Thanks to sludgefree and alberto de campo for their help ( MIDIIn.connectAll; SynthDef(\SimpleSynth, { arg out = 0, freq = 1000, t_trig = 0, level = 0.2; var sig, env; env = EnvGen.kr(Env.adsr(releaseTime ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow