Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. TestPattern Quark

    ... = AlgaNode({SinOsc.kr(1).range(100, 500)}); a = AlgaPattern(( def: \test, dur: Pseq([0.25, 0.5, 1]), freq: Pwhite(100, 1000) )).play; }); ) a.interpPattern(\freq, Pseq([1000, 880]), 2) a.interpPattern(\freq, Pwhite(1000, 800), 2) a.interpP ...

  2. Pperform Quark

    ... // examples // perform a sequence of addition and subtraction ( a = Pperform ( Pseq ([ '+' , '-' ], 16), Pseq ([0, 1, 2, 3], inf ), Pseq ([3, 4, 5], inf )); x = a.asStream; x.nextN(20); ) // duplicate and multiply ( a = Pperform ( Pseq ([ ...

  3. pluck-demo-extras Quark

    ... d by Happy by Julia Michaels Pbindef(\dmpluck, \instrument, "pluck", \midinote, Pseq([ Pseq([ [57, 69, 73, 76], [57, 69, 73, 76], [57, 71, 73, 80], [52, 78, 76, 80], [52, 78, 76, 80], [59, 71, 75], [59, 71, 75]], 2), 64]), \amp, Pseq([0.2, ...

  4. distortedGuitar-demo Quark

    ... ndef( \distortedGuitar, \instrument, "distortedGuitar", \ctranspose, -24, \amp, Pseq([Pseq([ 0.1, 0.1, 0.1, 0.1, 0.1, 0, 0.1, 0.1, 0.1, 0.1, 0, 0.1, 0.1, 0, 0.1, 0.1], 4), 0.1]) * 0.6, \dur, 0.175, \strum, Pseq([1, -1], inf) * Pwhite(0.02, ...

  5. crossoverDistortion-demo Quark

    Pbindef( \crossoverDistortion, \instrument, "crossoverDistortion", \dur, Pseq([2, Pseq([Pser([1], 7), 2, Pser([1], 7)], inf)]) / 4, \rel, Pseq([2, Pseq([Pser([1], 7), 2, Pser([1], 7)], inf)]), \ctranspose, -12, \degree, Pseq([6, //De-gree d ...

  6. decimator-demo Quark

    ... cimator, \instrument, "decimator", \dur, 1/3, \legato, 0.5, \rel, 0.3, \degree, Pseq([ Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0, Pn(\rest, 2), Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0]), \samplerate, Pn(Pgeom(22500, 8/9, 35), 2), \preamp, Pn(Pgeom( ...

  7. TestFreqParams Quark

    ... ef: { SinOsc.ar(\freq.kr(440)) * EnvGen.ar(Env.perc, doneAction:2) }, //degree: Pseq([1, 2], inf), //detune: Pseq([100, [200, 400], 300], inf), freq: Pseq([[440, 880], 220], inf), dur: 0.5 )).play }); ) a.from(Pseq([1000, 300], inf), \freq, ...

  8. PLn Quark

    ... compare PL and PLn, start with polling two items from each Stream // Note that Pseq defaults to repeats = 1 and PL/PLn default to repeats = inf ( ~a = Pseq ([1, 2, 3]); x = PLn ( \a ).asStream; y = PL ( \a ).asStream; x.nextN(2); y.nextN(2 ...

  9. TestPattern3 Quark

    ... ); d = AN({ DC.ar(440) }); //s.plotTree }); ) s.scope a.from(300, \freq) a.from(Pseq([440, 880, 1760], inf), \freq, sched:1) a <<.dur 0.5 a.from(1, \dur, sched:1) a.from(0.5, \dur, sched:1) a.from(0.25, \dur, sched:1) a.from(0.125, \dur, sc ...

  10. beating-demo Quark

    ... beatFreq, 9, \dur, Pwhite(0.25, 0.3, inf), \dec, Pwhite(0.7, 1.75, inf), \note, Pseq([Pseq([0, 11, 7], 4), Pseq([3, 14, 10], 2), 2, 6, 7, 6, [0, 7, 11]], 1), \amp, Pseq([Pseq([0.35, 0.15, 0.35, 0.2, 0.2, 0.2], 3), 0.35, 0.35, 0.35, 0.25, 0. ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow