Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (119) Code (25) Doc (43) Help (17) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. 16-Sequencing-with-Patterns Doc

    ... into 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 accord ...

  2. PHSpar Doc

    ... eVals) + 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, // "+" wraps collectio ...

  3. PHSplayer Doc

    ... nf), [ \midinote, Pkey(\val), \amp, 0.1 ], 0.1, [ \midinote, Pkey(\val) + 9.5 + Pxrand([0, 2, 5],inf), \amp, 0.08 ] ).play; ) // stop only help synth p.stop(hsStop: true, pbindStop: false); // stop pbind p.stop; // resume help synth and eve ...

  4. PG_02_Basic_Vocabulary Doc

    ... rand(list, repeats) Choose items from the list randomly (same as list.choose ). Pxrand(list, repeats) Choose randomly, but never repeat the same item twice in immediate succession. Pshuf(list, repeats) Shuffle the list in random order, and ...

  5. HS Doc

    ... [], 0.2, [\instrument, \simpleMorph, \midinote, Pkey(\val) * 30 + 60 + [0, 9] + Pxrand([0, 1.5, -1.5], inf), \amp, 0.07, \morphQ, Pkey(\val) ] ).play(c,q); ) // sync it with a normal pbind (EventStreamPlayer) with default instrument // no u ...

  6. OSCMapper Doc

    ... s.free; ⧉ ✔ as a Pdefn ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdefn, ).play; ) p.stop; ⧉ ✔ as a raw value o['/1/fader1'].value; ⧉ ✔ via a callback on change o['/1/fader1'].callb ...

  7. Randomness Doc

    ... names Random Patterns Prand choose randomly one from a list ( list, numRepeats) Pxrand choose one element from a list, no repeat of previous choice Pwhite within range [<hi>, <lo>], choose a random value. Pbrown within range [<hi>, <lo>], d ...

  8. Pdfsm Doc

    ... ), Pn(2, 2) ], 1), ( // state 0 0 : [0, Pbind(\degree, Pseq(base - i, 1), \dur, Pxrand([0.2, 0.3], 4))], 1 : [1, Pbind( \degree, Pseq(base.reverse - (i*2), 2), \dur, Pseq([0.2, 0.21], 1) ) ], 2 : [2, penult] ), ( // state 1 0 : [0, Pbind(\d ...

  9. Streams Doc

    ... t of values that are embedded Pwrand - embed values randomly chosen from a list Pxrand - embed values randomly chosen from a list FilterPatterns FilterPattern - abstract class that holds a pattern to be modified FuncFilterPattern - Abstract ...

  10. PdefGui Doc

    ... view.decorator.shift(50, 50); PdefGui(Pdef(\a), 12, w); ) Pdef(\b, Pbind(\note, Pxrand((0..7), inf), \dur, 0.125)); Pdef(\b).play; PdefGui(Pdef(\b)); // see all Pdefs: PdefAllGui(16); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Help ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow