Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (66) Code (9) Doc (25) Help (8) Quark (24) SCDoc ↗ Forum ↗ Google ↗
  1. Streams-Patterns-Events7 Doc

    ... nd( [\degree, \dur], Pseq( [ Pseq([[0,0.1],[2,0.1],[3,0.1],[4,0.1],[5,0.8]],2), Ptuple([Pxrand([6,7,8,9],4), 0.4]), Ptuple([Pseq([9,8,7,6,5,4,3,2]), 0.2]) ], inf ), \amp, 0.05, \octave, 5, \instrument, \help_SPE7_CFString1 ).asStream; ) ⧉ ✔ ...

  2. PG_02_Basic_Vocabulary Doc

    ... Ppatlace(list, repeats, offset) Interlace any patterns found in the main list. Ptuple(list, repeats) Collect the list items into an array as the return value. Additional Random Number Generators Pgbrown(lo, hi, step, length) Brownian motio ...

  3. Pstep Doc

    ... e in levels for the corresponding duration in durs . This cycling is similar to Ptuple , in that the current repeat ends when eiher pattern returns nil. Pstep measures elapsed time using the thread's logical time. That is, it assumes it wil ...

  4. Routine Doc

    ... nces acting independently of each other. ( r = (:2..5); // a seriesIter Routine Ptuple([r, r]).asStream.all.postln; // posts [[2, 3], [4, 5]] r.next.postln; // nil p = r.p; // make a Pattern from r; it doesn't matter that r has ended Ptuple ...

  5. Streams Doc

    ... constant, but random order Pslide - slide over a list of values and embed them Ptuple - combine a list of streams to a stream of lists Pwalk - A one-dimensional random walk over a list of values that are embedded Pwrand - embed values rand ...

  6. PIdev Doc

    ... = Pbind( \dur, 1/7, \src, Pseg(Pseq([65, 85], inf), 5, \sin).round, \midinote, Ptuple([ PIdev(Pkey(\src), 1, -1, 1), PIdev(Pkey(\src) + 8.5, 3, -5, 5) ]).trace(prefix: "midi "), ).play; ) p.stop ⧉ ✔ Ex. 7: Application to other params: rhyt ...

  7. PS Doc

    ... Pfunc { p[5] - 7 }; r = Pfunc { p[10] - 14 }; t = Pfunc { p[15] - 21 }; u = PS(Ptuple([p,q,r,t]), bufSize: 100); a = Plotter().superpose_(true).plotMode_(\plines); a.value = u.iter.nextN(100).flop ) // playback stored pitches ( v = Pbind( ...

  8. PLIdev Doc

    ... rc = Pseg(Pseq([65, 85], inf), 5, \sin).round; p = Pbind( \dur, 1/7, \midinote, Ptuple([ PLIdev(\src, 1, -1, 1), PLIdev(\src, 3, -5, 5) + 8.5 ]).trace(prefix: "midi "), ).play; ) p.stop ⧉ ✔ Ex. 7: Application to other params: rhythm // if w ...

  9. rewriteString Doc

    ... $a -> 0, $b -> 5, $c -> 3, $_ -> 9, $x -> Pseq((0..15), 2) // end phrase ]; z = Ptuple([ Pdict(d, k.asStream.rewriteString(c, 8)), Pdict(d, k.asStream.rewriteString(c, 9)) + 2 // modal transpose ]).trace; Pbind( \instrument, \sinegrain, \de ...

  10. Pattern Doc

    ... nList, repeats) - random selection from list Pn(Pshuf([p, q, r, r, p])).play // Ptuple(list, repeats) Pbind(\degree, Ptuple([Pwhite(1, -6), Pbrown(8, 15, 2)]), \dur, Pfunc({ |ev| ev.at(\degree).last/80 round: 0.1 }), \db, Pfunc({ if (coin(0 ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow