Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (572) Code (144) Doc (154) Help (54) Quark (220) SCDoc ↗ Forum ↗ Google ↗
  1. Pbinop Doc

    ... me common cases: Pseq([1, 2, 3]) + 2; Pseq([1, 2, 3]) / Pseq([3, 4, 5, 6]); max(Pwhite(-10, 10, inf), Pseq([0, 2, 3, 4])); ⧉ ✔ // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05, amp = 0.1| var env; env = En ...

  2. EventShortcuts Doc

    ... All // play an Event with midinote 70 (m: 70).play // play a Pbind ( Pbind( \m, Pwhite(60, 90, 20) + [0, -7], // midinote \p, Pwhite(-1.0, 1), // pan \l, 3, // legato \s, 0.1, // strum \d, 0.5 // dur ).play ) // define new dictionary based ...

  3. Pnaryop Doc

    ... [Pseq([3, 4, 5], inf), Pseq([9, 7], inf)]); a.asStream.all; ) // common cases: Pwhite(0, 1, inf).linexp(0, 1, 200, 1000); Pwhite(0, 1, inf).degreeToKey([0, 1, 3, 5, 7, 9, 11], 10); blend(Pseq([1, 2, 3], inf), Pseq([3, 2, 1, 0], inf), Pseri ...

  4. PHSpar Doc

    ... te, Pkey(\theseVals) + Pseq([0,1],inf), \legato, 0.2 ] ], hsIndices: [ Pstutter(Pwhite(5,10), Pxrand([0, 1, [0,1]], inf)) ] ).play; ) p.free; // two Pbinds with different event timing // hsIndices specified for each ( p = PHSpar(h, // "+" w ...

  5. NodeProxy_roles Doc

    ... , dt)*0.1 }; a.play; ( a[1] = \set -> Pbind( \dur, Prand([1, 0.5], inf), \freq, Pwhite(200.0, 1000, inf), \rate, Pdup(4, Prand([1, 3, 6, 10], inf)), \dt, Pwhite(0.01, 0.1, inf) ) ); // modify the source in the meanwhile: a[0] = { |freq = 44 ...

  6. Pseed Doc

    ... ll cause the subpattern to be embedded an infinite number of times. Compare: // Pwhite repeats its three values forever Pseed(1000, Pwhite(1, 10, 3)).asStream.nextN(10); // Pwhite runs once: // the output stream consists of three values, th ...

  7. Plprand Doc

    ... treams-Patterns-Events > Patterns'>Patterns > Patterns>Random'>Random Plprand : Pwhite : Pattern : AbstractFunction : Object random values that tend toward lo Source: RandomDistPatterns.sc See also: Phprand Class Methods Plprand. new ( lo: ...

  8. Phprand Doc

    ... treams-Patterns-Events > Patterns'>Patterns > Patterns>Random'>Random Phprand : Pwhite : Pattern : AbstractFunction : Object random values that tend toward hi Source: RandomDistPatterns.sc See also: Plprand Class Methods Phprand. new ( lo: ...

  9. Pmeanrand Doc

    ... eams-Patterns-Events > Patterns'>Patterns > Patterns>Random'>Random Pmeanrand : Pwhite : Pattern : AbstractFunction : Object random values that tend toward ((lo + hi) / 2) Source: RandomDistPatterns.sc See also: Plprand , Phprand Class Meth ...

  10. Pif Doc

    ... iffalse = value . iftrue . iftrue = value Examples p = Pif(Pfunc({ 0.3.coin }), Pwhite(0, 9, inf), Pwhite(100, 109, inf)).asStream; p.nextN(20); // 7 of the 20 values, or roughly 30%, are in the 0-9 range: [105, 107, 107, 8, 100, 3, 105, 5, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow