Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (175) Code (49) Doc (56) Help (16) Quark (52) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Event_patterns_and_array_args Doc

    ... ps, sig, env, freqs, amps, arr; otAmps = Demand.kr(Impulse.kr(1 / duration), 0, Dseq(q, inf)); freqs = (freq * (1..8)).clip(20, 20000).lag(freqLag); amps = ((otAmps / ((1..8) ** dampExp)).normalizeSum * amp).lag(otLag); sig = SinOsc.ar(freq ...

  2. Dtag Doc

    ... , [3, 1, 1]]; tag = Dtag(size, deletionNumber, axiom, rules, 0, mode: 4); tag = Dseq([tag, Dseq([0], freq)], inf); index = Duty.ar(1 / freq, 0, tag, doneAction:2); SinOsc.ar(index * 1200 + 400).dup * 0.1 }.play; ) // aliens calling // u = 4 ...

  3. Fb1 Quark

    ... set makeBlockCount = { Main.versionAtLeast(3, 9).if { Duty.kr(ControlDur.ir, 0, Dseq((0..blockFactor-1), inf)) }{ // correct init bug for older SC version Duty.kr(ControlDur.ir, 0, Dseq((0..blockFactor-1), inf) - 1 % blockFactor) } }; block ...

  4. Operators Doc

    ... need to be called, but only one of their outputs is needed ( { var a, b, c; a = Dseq([1, 2, 3, 4], inf).dpoll("a"); b = Dseq([1955, 1952, 1823, 1452], inf).dpoll("b"); c = (a <! b).dpoll("------> a <! b = "); // c only Duty.kr(0.4, 0, c); 0 ...

  5. PolyBuf Quark

    ... f{|repeats=1| ^Pshuf(buffers, repeats) } // Demand rate convenience functions asDseq{|repeats=1, offset=0| ^Dseq(buffers, repeats, offset) } asDrand{|repeats=1| ^Drand(buffers, repeats) } asDxrand{|repeats=1| ^Dxrand(buffers, repeats) } asD ...

  6. PV_ChainUGen Doc

    ... ase].sqrt; // [mag, 3.14.rand]; // [mag, LFNoise0.kr.range(0, 3.14)]; // [mag * Dseq([1, 0, 0, 1, 1, 0, 1, 0].dupEach(8), 999999999999)]; // Can even use Demand ugens! One val demanded each frame // [mag.sqrt, 3.14.rand]; // if(index % 7 == ...

  7. Live Granulation Quark

    ... Dur); // select L/R or random sequencing pan = Demand .ar( trig, 0, Dswitch1 ([ Dseq ([1, -1], inf ), Dwhite (-1, 1) ], panType) ) * min(panMax, 0.999); sig = GrainIn .ar( 2, trig, grainDur, inSig, pan, envBuf ); Out .ar(out, sig * EnvGate ...

  8. Live_Granulation Doc

    ... inDur); // select L/R or random sequencing pan = Demand.ar( trig, 0, Dswitch1([ Dseq([1, -1], inf), Dwhite(-1, 1) ], panType) ) * min(panMax, 0.999); sig = GrainIn.ar( 2, trig, grainDur, inSig, pan, envBuf ); Out.ar(out, sig * EnvGate.new * ...

  9. DXMixIn Doc

    ... rce still running z.release // get source with other rhythm ( z = { DXMixIn.ar( Dseq([[0, 1], [2, 3], [4, 0], [1, 2], [3, 4]], inf) + a.index, fadeTime: [0.05, 2] ) }.play(addAction: \addToTail) ) z.release // cleanup ( x.free; a.free; ) ⧉ ...

  10. Middle Children of History MUSC115 Final by ianmcdougall60 (ianmcdougall60) Code

    ... .1, gate=1, bps=2| var snd; var seq = Demand.kr(Impulse.kr(bps*4), 0, Dseq(freq*[1,3,2], inf)).lag(0.01); snd = LFSaw.ar(freq*{rrand(0.995, 1.005)}!4); snd = Splay.ar(snd); snd = MoogFF.ar(snd, seq, 0.5); snd = ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow