Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (119) Code (25) Doc (43) Help (17) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. Pxrand Help

    Pxrand embed values randomly chosen from a list like Prand , returns one item from the list at random for each repeat, but Pxrand never repeats the same element twice in a row. see also: Pwrand ( var a, b; a = Pxrand .new(#[1, 2, 3], 10); / ...

  2. Ppatlace Help

    ... .2]); 0.17.wait; }) }).play; ) // a more complicated example: ( c = Ppatlace ([ Pxrand ([ Pseq (#[0, -2, -3, -5, -7], 1), Pwhite (-12, 4, 3), Pshuf (#[0, -2, -3, -5, -7], 1) ], inf ), Pxrand ([ Pseq (#[0, 2, 4, 5, 7], 1), Pwhite (-4, 12, 3) ...

  3. Streams Help

    ... Practical Considerations Specific classes: ListPatterns Pseq Pser Prand Pwrand Pxrand Pshuf Place Ptuple Pslide Pfsm Place ... FilterPatterns Pseed Prewrite Pswitch Pswitch1 Pn Pstutter Pfin Psync Pcollect Pselect Preject PdurStutter Pcons ...

  4. Prand Help

    ... : ListPattern Embed one item from the list at random for each repeat. see also: Pxrand , Pwrand ( var a, b; a = Prand ([1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) // return also a subpattern: ( var a, ...

  5. Pbind Help

    ... ent , \cfstring1 , \ctranspose , 0 ).asStream; ) ( e.stream = Pbind ( \degree , Pxrand ([0, 1, 2, 4, 6, 3, 5, 7, 8], inf ), \dur , Prand ([0.2, 0.4, 0.8], inf ), \amp , 0.05, \octave , 5, \instrument , \cfstring1 ).asStream; ) Additional ex ...

  6. PatternsDocumentedAndNot Help

    ... [ Pswitch1 ] ListPattern [ Pwalk Pslide Ptuple Ppar [ Ptpar ] Pdfsm Pfsm Pwrand Pxrand Prand Pshuf Pseq [ Ppatlace Place Pser ] ] Pindex Ppatmod Plazy Pstatbalnorm Pstatbal PstepNfunc [ PstepNadd ] Pstep3add Pstep2add Pwhite Pbrown Pgeom Ps ...

  7. PG_04_Words_to_Phrases Help

    ... se of a larger number of phrase patterns. The structure is very simple, though: Pxrand([Pbind(), Pmono(), Pmono()...], inf) . Some of the phrases are written with Pmono to slide between notes. ( SynthDef ( \bass , { |freq = 440, gate = 1, a ...

  8. Streams-Patterns-Events3 Help

    ... .do({ Synth ( \help_SPE3_SimpleSine ,[ \freq , a.next]); d.wait; }); }).play; ) Pxrand, like Prand, returns one item from the list at random for each repeat, but Pxrand never repeats the same element twice in a row. ( var a, b; a = Pxrand . ...

  9. Sequencing with Patterns Help

    ... nto random order Prand(list, repeats) -- choose from the list's values randomly Pxrand(list, repeats) -- choose randomly, but never return the same list item twice in a row Pwrand(list, weights, repeats) -- like Prand, but chooses values ac ...

  10. PG_02_Basic_Vocabulary Help

    ... nd(list, repeats): Choose items from the list randomly (same as list.choose). * Pxrand(list, repeats): Choose randomly, but never repeat the same item twice. * Pshuf(list, repeats): Shuffle the list in random order, and use the same random ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow