Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = Pchain(~melody, ~rhythm).play; ~melody.source = PmonoArtic(\default, \degree, Pseries(4, Prand(#[-1, 1], inf), inf).fold(-4, 11)); ~melody.source = Pbind(\degree, Pseries(4, Pwrand(#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf), inf).fold(- ...

  2. Scheduler Help

    ... do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind ( \degree , Pseries (0, 2, 8), \dur , 0.25).play(x); ( Task { 5.do { x.advance(0.20); 1.0.wait; } }.play; )

  3. PS Quark

    ... S, e.g. by reevaluating its definition or wrapping it into a Function. p = PS ( Pseries (), 5); // evaluate more than once p.asStream.all; // compare q = { PS ( Pseries (), 5) }; // evaluate more than once q.value.asStream.all; For recursiv ...

  4. Pbindef Help

    ... e , 7.rand); Pbindef ( \x , \degree , Pseq ([0, 7, 3, 7, 4], inf ), \dur , Pn ( Pseries (0.2, -0.02, 10))); Pbindef ( \x , \stretch , 2);

  5. PS Doc

    ... PS, e.g. by reevaluating its definition or wrapping it into a Function. p = PS(Pseries(), 5); // evaluate more than once p.asStream.all; // compare q = { PS(Pseries(), 5) }; // evaluate more than once q.value.asStream.all; // For recursive ...

  6. Pchain Doc

    ... eams can be composed ( a = Pfunc { |x| x + 1.33 }; b = Pfunc { |x| x * 3 }; c = Pseries(1, 2, inf); ) // post some values from the composite streams: t = (a <> b).asStream; 10.do { t.value(10).postln }; t = (a <> b <> c).asStream; 10.do { t ...

  7. Peuclid Doc

    ... rom 1 - 12 // add ghost notes to hear grid ( Pdef(\euclid, Pbind( \hit, Peuclid(Pseries(1, 1, 12).stutter(4), 12, 48), \amp, Pkey(\hit) * 0.2 + 0.02, \instrument, \tic, \ringtime, 0.1, \freq, Pseq([[1000, 2000], 2000].clipExtend(12), inf), ...

  8. PLbindef Quark

    ... , \d , 0.2, \m , Pwhite (60, 90) ) ) ~u .play ~u .d = 0.1 ~u .m = Pn ( Plazy { Pseries (rrand(50, 70), 1.5, 20) }) ~u .m = ~u .m + [0, 4, 7] ~u .i = PLseq ([ \sin_grain , \saw_grain ]) ~u .a = Pn ( Pseries (0.05, 0.01, 20)) ~u .m = 70 // s ...

  9. recursive_phrasing Help

    ... , \pgrain , \dur , dur.value / n, // now dur is dependant on outer dur. \freq , Pseries (1, 1, inf ) * ratio + 1 * freq.value % 17000 ) }); ) // no recursion ( Pbind ( \type , \phrase , \instrument , \sweep , \degree , Pseq ((0..5), inf ) ) ...

  10. PG_05_Math_on_Patterns Help

    ... | x.postln }; drop(n): Discard the first n values, and return whatever is left. Pseries (1, 1, 20).drop(5).do { |x| x.postln }; differentiate: Return the difference between successive values: second - first, third - second, and so on. Array ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow