Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (458) Code (127) Doc (139) Help (76) Quark (116) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Cookbook02_Manipulating_Patterns Doc

    ... he continuity should still be audible. ( var melodies = ( lowMelody: Pseries(4, Prand(#[-2, -1, 1, 2], inf), inf).fold(-7, 11), highMelody: Pseries(14, Prand(#[-3, -2, 2, 3], inf), inf).fold(7, 18) ); p = Pbind( \degree, Pnsym1(Pwrand(#[low ...

  2. PbindProxy Doc

    ... .ar(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; ) s.boot; x = Pbi ...

  3. PLxrand Doc

    ... elements can be dynamically replaced by Patterns or Streams. repeats Symbol or Prand repeats arg. If a Symbol is passed, repeats can be assigned to an envir variable later on. Defaults to inf. cutItems Symbol or Boolean or Integer (0 or 1) ...

  4. PG_Ref01_Pattern_Internals Doc

    ... he pattern's work One of the simpler pattern definitions in the main library is Prand: Prand : ListPattern { embedInStream { arg inval; var item; repeats.value.do({ arg i; item = list.at(list.size.rand); inval = item.embedInStream(inval); } ...

  5. Pmindread Doc

    ... defn(\mind, Pseq([0, 1, 1, 0], inf)) Pdefn(\mind, Pseq([0, 1, 0, 1, 0, 1, 0, 1, Prand([1, 0], 1)], inf)) Pdefn(\mind, Pseq([1, 0, 1, 1, 1, 1, 0], inf)) Pdefn(\mind, Pmindread(Pseq([1, 0, 1, 1, 0], inf))) Pdef(\x).stop; Pdef(\y).stop; // rec ...

  6. MdaPiano Doc

    ... 5, -2, 5, -7, 5, -2, -3, -4, -5 ], inf), \dur, 0.5, \octave, 3, \root, 3, \vel, Prand([Pseq([100, 30, 50, 10]), Pseq([100, 30, 10, 10, 5, 10, 20, 30])], inf), \legato, 0.95 ), Pbind( \instrument, \help_mdapiano, \degree, Pseq([ \, 0, -1, 0, ...

  7. Psync Doc

    ... ), \instrument, \help_sinegrain ); // this pattern has indetermined length: a = Prand([ Pbind( \dur, Pseq([0.02, 0.002, 0.1, 0.1], 2), \degree, Pseq([9, 7, 5], inf), \instrument, \help_sinegrain ), Pbind( \dur, Pseq([1, 0.35], 2), \degree, ...

  8. AY Doc

    ... inf), \freqb, Pseq([ Pseq( (#[55, 55, 54, 55, 54, 55, 58, 57]+12).midicps, 2), Prand((#[55, 55, 54, 55, 54, 55, 58, 57]+12).midicps, 2) ], inf), \dur, Pseq(#[3, 0.5, 0.5, 1.5, 0.5, 1, 1, 4] * 0.4, inf), \wobbly, Pstutter(8 * 4, Prand(#[0, ...

  9. BeatClockPlayer Doc

    ... shaperSynths1,\decay2,\one], [ BeatClockPlayer(16), // trig / gate StreamKrDur( Prand(Array.fill(rrand(7,32),{ rrand(20,80).midicps }),inf), 0.25,// a float 0.1), -0.2, Env.perc, 0.07, 0.7, 4000 ]); p.topGui; ) Being a subclass of KrPlayer, ...

  10. Pproto Doc

    ... hite(1, 16) * 100, detune: Pfunc { Array.fill(3.rand + 1, { 3.0.rand }) }, dur: Prand([2, 2, 2.2, 1], 10), db: Pn(Pstep([-10, -20, -20, -15, -20, -20, -20], 0.5)), legato: Pwhite(0.0, 1).linexp(0, 0, 0.1, 3) ]), Pbind(*[ type: \sine1, amps: ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow