Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (140) Code (46) Doc (37) Help (20) Quark (37) SCDoc ↗ Forum ↗ Google ↗
  1. Prand Doc

    ... d values randomly chosen from a list Source: ListPatterns.sc See also: Pxrand , Pwrand Description Embed one item from the list at random for each repeat. Class Methods Inherited class methods Instance Methods Inherited instance methods Und ...

  2. PG_Cookbook05_Using_Samples Doc

    ... th a randomly generated rhythm. The catch is that we have no assurance that the Pwrand \dur pattern will add up to exactly 4 beats. The Pfindur ("finite duration") pattern cuts off the inner Pbind after 4 beats. This would stop the pattern, ...

  3. TempoClick Doc

    ... d( \degree, Pstutter(Pwhite(1, 4, inf), Pwhite(-2, 9, inf)) - #[0, 2, 4], \dur, Pwrand([Pseq(#[0.125, 0.375], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf), \sustain, max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1] ...

  4. PHS Doc

    ... \midinote, Pkey(\val), \amp, 0.1], [ \midinote, Pkey(\val) + [-7, 4, 7], \amp, Pwrand([0.04, 0.08], [0.8, 0.2], inf), \type, Pkey(\val).collect { |x| x.asInteger.even.if { \note }{ \rest } } ] ] ).play; ) // stop player and free HS p.free; ...

  5. PmonoArtic Doc

    ... add; ) p = PmonoArtic(\sawpulse, \dur, 0.2, \freq, Pwhite(1, 8) * 100, \legato, Pwrand(#[0.5, 1.0], #[0.1, 0.9], inf)).play; p.stop; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/PmonoArtic.schelp link::Classes/Pmon ...

  6. PG_Cookbook04_Sending_MIDI Doc

    ... s converted to midinote, not just frequency \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, sin(Ptime(inf) * 0.5).linexp(-1, 1, 1/3, 3), \amp, Pexprand(0.5, 1.0, inf) ).play(quant: 1); ) p.stop; ...

  7. Pseed Doc

    ... is the seed. Pbind(*[ instrument: \varsaw, attack: Plprand(0.01, 1.0), release: Pwrand([0.5, 8], [8, 1].normalizeSum, inf), dur: 1 / Pstutter(Phprand(5, 11), Plprand(5, 11)), freq: 100 * Plprand(1, 9), width: Phprand(0.0, 0.5), cutoff: Phpr ...

  8. Pwalk Doc

    ... / integers, 0-19 // steps up to 2 in either direction, weighted toward positive Pwrand([-2, -1, 0, 1, 2], [0.05, 0.1, 0.15, 1, 0.1].normalizeSum, inf), // reverse direction at boundaries Pseq([1, -1], inf), 10); // start in the middle x = a ...

  9. PG_02_Basic_Vocabulary Doc

    ... random order, and use the same random order repeats times. Like list.scramble . Pwrand(list, weights, repeats) Choose randomly, according to weighted probabilities (same as list.wchoose(weights) ). Pseries(start, step, length) Arithmetic se ...

  10. Randomness Doc

    ... rownian motion Plprand Phprand Pmeanrand Pbeta Pcauchy Pgauss Ppoisson Pexprand Pwrand choose from a list, probabilities by weights Pwrand([ 1, 2, 3 ], [0.1, 0.3, 0.6], 20); ⧉ ✔ Pshuf scramble the list, then repeat that order <repeats> time ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow