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. degreeStream Quark

    ... 11] - 1, stepsPerMode), Pseq(root + [1, 3, 5, 7, 9].reverse - 1, stepsPerMode), Pxrand(root + [1, 3, 5, 7, 9, 11, 13] - 1, stepsPerMode), Pbrown(root + -12, root + 11, 1, stepsPerMode) ], [chordWeight, largeChordWeight, downChordWeight, ran ...

  3. Many patterns controlling a single synth by kymatica (Jonatan Liljedahl) Code

    ... ), Pbind( \args, #[wobble], \wobble, Pxrand([3,1.5,6],inf), \dur, Prand([2,1],inf), ), Pbind( \args, #[t_bd], \t_bd, Pseq([1,0,0,1],inf), ...

  4. README Quark

    ... Pdefn ```supercollider ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdefn, ).play; ) p.stop; ``` #### As raw value access ```supercollider o['/1/fader1'].value; ``` #### Add a callbac ...

  5. PHSplayer Quark

    ... idinote , 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 a ...

  6. PHSpar Quark

    ... + 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 collec ...

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

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

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

  10. HS Quark

    ... , [ \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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow