Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

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

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

  6. Streams-Patterns-Events5 Help

    ... inf ) ).play ) ( // changing legato value Pbind ( \dur , 0.2, \legato , Pseq ([ Pseries (0.05, 0.05, 40), Pseries (2.05, -0.05, 40) ], inf ), \midinote , Pseq (#[48, 51, 55, 58, 60, 58, 55, 51], inf ) ).play ) To go to the next file: Stream ...

  7. PatternProxy Help

    ... is done at the next beat or whatever is specified: x.quant = 4; x.source = Pn ( Pseries (0, 1, 8), inf ); x.quant = nil ; // reactivate immediacy ( x.source = Prout { loop { 4.do { |i| #[2, 3, 4].choose.yield; #[5, 0, 11].choose.yield; #[6, ...

  8. Undocumented-Classes Help

    ... mitiveFailedError Prout Proutine ProxyNodeMap ProxyNodeMapSetting ProxySynthDef Pseries Psetp Psetpre PSinGrain Pstep2add Pstep3add Pstretch Pstretchp Ptpar Ptrace Punop PV_Add PV_BinScramble PV_BinShift PV_BinWipe PV_BrickWall PV_CopyPhase ...

  9. Pstep Help

    ... arameter ( Pbind ( \degree , Pstep ( Pseq ([1, 2, 3, 4, 5]), 1.0).trace, \dur , Pseries (0.1, 0.1, 15) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind ( \degree , Pstep ( Pseq ([0, 2b, ...

  10. Sequencing with Patterns Help

    ... ber generators that produce specific distributions, and also chaotic functions. Pseries(start, step, length) -- arithmetic series, e.g., 1, 2, 3, 4, 5 Pgeom(start, grow, length) -- geometric series, e.g., 1, 2, 4, 8, 16 Pwhite(lo, hi, lengt ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow