Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. PSx stream patterns Quark

    ... dup , PSrecur , PSloop Example ( p = Pseq ([ PS ( Pseq ((1..9), inf), 3), PS (( Pseries () + 1) * 100, Pseq ([1,2,3], inf)) ], inf); q = p.asStream; q.nextN(50); ) // ATTENTION: // It is important to remember that, differing from normal // ...

  2. PG_Cookbook01_Basic_Sequencing Doc

    ... t of chord intervals to a melody that's always on top. It's a compound pattern, Pseries(...) + Prand(...), where Pseries returns a single number and Prand returns an array. As with regular math operations, a number plus an array is an array ...

  3. magic sparkly rainbow!!!!!!<3 by daisystomper (daisystomper) Code

    ... samp, Pexprand(0.07,0.5,inf), \rate, Pexprand(0.1,3,inf), \cfreq, Pseq([ Pseries(120,30,76), Pseries(2400,-30,76), ],inf), \rq, Pkey(\samp)+Pwhite(0.1,0.15,inf).asStream, \atk, Pexprand(0.04,0.3,inf), \decay, Pexprand(6,15 ...

  4. PG_02_Basic_Vocabulary Help

    ... ats): Choose randomly by weighted probabilities (like list.wchoose(weights)). * Pseries(start, step, length): Arithmetic series (addition). * Pgeom(start, grow, length): Geometric series (multiplication). * Pwhite(lo, hi, length): Random nu ...

  5. hihatElectro-demo Quark

    ... \rest, Pn(0.3, 3), 0.4, 0.5, \rest, 0.3, \rest, 0.3, 0.5 ], inf), \filterFreq, Pseries(4500, -75) );

  6. Lift-test Quark

    ... iver.clump(clumpSize).collect({ |x| func.(x, args) }).flatten(1) }) }; ) a = g.(Pseries.new, clumpSize: 4); a.mirror.asStream.nextN(16) // the n of clump(n) is the first argument a.mirror(4).asStream.nextN(16) a.mirror(2).asStream.nextN(16) ...

  7. PG_02_Basic_Vocabulary Doc

    ... randomly, according to weighted probabilities (same as list.wchoose(weights) ). Pseries(start, step, length) Arithmetic series (addition). Pgeom(start, grow, length) Geometric series (multiplication). Pwhite(lo, hi, length) Random numbers, ...

  8. PSx_stream_patterns Doc

    ... , PSdup , PSrecur , PSloop Examples ( p = Pseq([ PS(Pseq((1..9), inf), 3), PS((Pseries() + 1) * 100, Pseq([1,2,3], inf)) ], inf); q = p.asStream; q.nextN(50); ) // ATTENTION: // It is important to remember that, differing from normal // Pa ...

  9. PG_Ref01_Pattern_Internals Help

    ... he Routine to do, so that stream is over; it can only yield nil thereafter. p = Pseries (0, 1, 3).asStream; // this will yield exactly 3 values 4.do { p.next.postln }; // 4th value is nil We saw that list patterns can contain other patterns ...

  10. PG_06g_Data_Sharing Help

    ... e - the higher the note, the shorter the length ( p = Pbind ( \degree , Pseq ([ Pseries (-7, 1, 14), Pseries (7, -1, 14)], inf ), \dur , 0.25, // \degree is EARLIER in the Pbind \legato , Pkey ( \degree ).linexp(-7, 7, 2.0, 0.05) ).play; ) ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow