Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (77) Code (26) Doc (35) Quark (16) SCDoc ↗ Forum ↗ Google ↗
  1. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... ut], ~efx); }); }; // clean up on ServerQuit ~cleanup = { s.freeAll; MIDIdef.freeAll; s.newBusAllocators; ServerBoot.removeAll; ServerTree.removeAll; ServerQuit.removeAll; }; // MIDI stuff! ~bend = 8192; // initializin ...

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

    ... oteArray = Array.newClear(128); // array has one slot per possible MIDI note MIDIdef.noteOn(\myKeyDown, {arg vel, note; noteArray[note] = Synth("quick2", [\freq, note.midicps, \amp, vel.linlin(0, 127, 0, 1)]); ["NOTE ON", note].postl ...

  3. Additive Synthesis Demo with QuNeo - Patch 3 (Risset Bell) by bruno (Bruno Ruviaro) Code

    ... 64); var duration = 4; var quneoChannel = 11; // MIDIIn.connectAll; MIDIdef.freeAll; MIDIdef.noteOn( key: \noteOn, func: {arg vel, note; var index = note - 36; // start from 0 padsArray[index] = Synth("risset" ...

  4. Pushing air by coreyker (coreyker) Code

    ... .add; ) ~t = TempoClock.new; ~t.tempo = 3; Tdef(\morse).play(~t); ( MIDIdef.cc(\attackTime, {|val, num, chan, src| var attackTime; attackTime = val.linlin(0,127,0,2); ~ctlbus1.set(attackTime); ("attackTime: " ++ at ...

  5. Sampling Demo with QuNeo - Patch 1 by bruno (Bruno Ruviaro) Code

    ... env * amp; Out.ar(0, snd); }).add; }.play; // MIDI from QuNeo MIDIdef.cc( key: \xpads, func: {arg vel, ccNum; var index, rate, previous, winner; index = (24, 27 .. 69).indexOf(ccNum); index = index + ba ...

  6. exhaustive MIDI debugger by soundlake (soundlake) Code

    ... p.uid -> mep.device.catArgs(", ", mep.name)); }); // Register the debugger MIDIdef.freeAll; ~types.do({ |type| var key, func, msgType; key = (type + "Func").asSymbol; msgType = type.asSymbol; // Define the debugger funcito ...

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

    ... .1, \ctranspose, Pstutter(8, Pwhite(0, 36)) ).play(quant: 0.1); }; MIDIdef.noteOn(\test, { arg vel, note; /*note.postln;*/ f.value(vel, note) }); });

  8. MIDI arpeggiator demo by wondersluyter (wondersluyter) Code

    ... ///////// // MIDI MIDIClient.init; MIDIIn.connectAll; ~notes = nil ! 127; MIDIdef.noteOn(\keyOn, { |vel, num| ~notes.do { |note, i| if (note.notNil) { if (note.pressed.not) { ~notes[i] = nil; }; }; ...

  9. Subtractive Synthesis Demo with QuNeo - Patch 2 by bruno (Bruno Ruviaro) Code

    ... nArray = Array.newClear(16); quneoChannel = 11; // MIDIIn.connectAll; MIDIdef.freeAll; patternArray[0] = Pbind( \instrument, "noise-quneo-2", \freq, Pwhite(100, 5500), \pulseFreq, Pwhite(5, 10), \dur, 0.3, \amp, ...

  10. Performance Unit - Buffers (part 2) by makary-kleinschmidt (rumush) Code

    ... (In.ar(8,1)*vol+Mix.new(src),~gBuf4,bufWr); src }); /* MIDI Control */ MIDIdef.noteOn(\notes, {arg ...args; args.postln; Ndef(\rd1).set(\note, args[1]); Ndef(\rd2).set(\note, args[1]); Ndef(\rd3).set(\note, args[1]); Ndef(\ ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow