Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nverted 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); ...

  2. Pwalk Help

    ... / 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 ...

  3. PmonoArtic Help

    ... 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;

  4. PG_02_Basic_Vocabulary Help

    ... dom order, and use the same random order 'repeats' times. Like list.scramble. * Pwrand(list, weights, repeats): Choose randomly by weighted probabilities (like list.wchoose(weights)). * Pseries(start, step, length): Arithmetic series (addit ...

  5. Randomness Help

    ... rownian motion Plprand Phprand Pmeanrand Pbeta Pcauchy Pgauss Ppoisson Pexprand Pwrand ([ 1, 2, 3 ], [0.1, 0.3, 0.6], 20); // choose from a list, probabilities by weights Pshuf ([ 1, 2, 3, 4 ], 2); // scramble the list, then repeat that ord ...

  6. PG_04_Words_to_Phrases Help

    ... th no repeats ( Pxrand ), or random order according to a set of probabilities ( Pwrand ). Pshuf creates one random ordering and uses it repeatedly. Direct array indexing: Patterns can be chosen in arbitrary order by index. This gives you mo ...

  7. PG_Cookbook01_Basic_Sequencing Help

    ... ) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand (#[1, 0.5], #[0.8, 0.2], inf ) ).play; ) p.stop; Using custom SynthDefs (including unpitched SynthDefs) Patterns have special features to support several ...

  8. PG_06g_Data_Sharing Help

    ... pNote ] }).isNil) { ev[ \merge ] ++ ev[ \topNote ] } { ev[ \merge ] } }, \dur , Pwrand ([ Pseq ([0.5, Pwhite (1, 3, 1), 0.5], 1), 1, 2, 3], #[1, 3, 2, 2].normalizeSum, inf ), \amp , 0.05 ).play(quant: 1); ) ~bass.stop; ~chords.stop; The cho ...

  9. Pattern Help

    ... ) - random selection from list without repeats Pxrand ([p, q, r], inf ).play // Pwrand( patternList, weights, repeats ) - weighted random selection from list Pwrand ([p, q, r], #[1, 3, 5].normalizeSum, inf ).play // Pwalk( patternList, step ...

  10. Sequencing with Patterns Help

    ... repeats) -- choose randomly, but never return the same list item twice in a row Pwrand(list, weights, repeats) -- like Prand, but chooses values according to a list of probabilities/weights Other patterns generate values according to variou ...

prev 1 2

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow