Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. recursive_phrasing Help

    ... 0, ratio=0.1; Pbind ( \instrument , \pgrain , \dur , sustain.value / n, \freq , Pseq ((1..n)) * ratio + 1 * freq.value // freq is a function, has to be evaluated ) }); Pdef ( \sweep2 , { arg sustain=1, n=8, freq=440, ratio=0.1; Pbind ( \ins ...

  2. Pdef Help

    ... \ctranspose , 2).play; // now change the definition Pdef ( \x , Pbind ( \note , Pseq ([0, 3, 5, 7, 9, 11], inf ))); Pdef ( \x , Pbind ( \freq , Pseq ([1000, 1923, 245.2, 1718] / 1.2 + 0.1, inf ))); Creation / Class Methods *new(key, pattern ...

  3. Pfsm Help

    ... 0, env)) }).add; ) ( a = Pfsm ([ #[0,1], 67, #[0, 0, 3], 72, #[2], 73, #[0, 2], Pseq ([74, 75, 76, 77]), #[2, 3, 3], nil , nil ], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.1.wait; }) }).play; ...

  4. Psym Help

    ... f )); Pdef ( \y , Pchain ( Pbind ( \degree , Prand ([5, 9, 0], inf ), \legato , Pseq ([0.3, 2.2], inf )), Pdef ( \x ))); Pdef ( \z , Pchain ( Pbind ( \degree , Pseq ([0, 2, 5, 7, 8, 9], 1)), Pn ( Pdef ( \y )))); Pdef ( \play , Psym ( Pseq ( ...

  5. PdurStutter Help

    ... value, a stutter of 1 yields the duration value unaffected. ( a = PdurStutter ( Pseq(#[1,1,1,1,1,2,2,2,2,2,0,1,3,4,0],inf), Pseq(#[0.5, 1, 2, 0.25,0.25],inf) ); x = a.asStream; 100.do({ x.next.postln; }); ) ( SynthDef ( \help_sinegrain , { ...

  6. Pswitch Help

    ... embeds it before looking for the next index. see also Pswitch1 ( var a, b; a = Pseq ([1, 2, 3], 2); b = Pseq ([65, 76]); c = Pswitch ([a, b, 800], Pseq ([2, 2, 0, 1], inf )); x = c.asStream; 24.do({ x.next.postln; }); ) Pswitch used as a s ...

  7. Pswitch1 Help

    ... us switches between all patterns in the list. see also: Pswitch ( var a, b; a = Pseq ([1, 2, 3], inf); b = Pseq ([65, 76], inf); c = Pswitch1 ([a, b, 800], Pseq ([2, 2, 0, 1], inf )); x = c.asStream; 24.do({ x.next.postln; }); ) Pswitch use ...

  8. Pchain Help

    ... ttern add another pattern to the chain // examples ( Pchain ( Pbind ( \detune , Pseq ([-30, 0, 40], inf ), \dur , Prand ([0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.play; ) // also events can be used dire ...

  9. Pdict Help

    ... efault) // example SynthDescLib .read; ( e = ( a: Pbind ( \dur , 0.1, \degree , Pseq ([0, 5, 4, 3, 2])), b: Pbind ( \dur , 0.06, \degree , Pseq ([7, 8, 7, 8])), c: Pbind ( \dur , 0.3, \degree , Pseq ([0, 1, 2], 2)) ); x = Pdict (e, Pseq ([ ...

  10. Ppar Help

    ... see the delta values in the resulting events ( var a, b, c, t; a = Pbind ( \x , Pseq ([1, 2, 3, 4]), \dur , 1); b = Pbind ( \x , Pseq ([10, 20, 30, 40]), \dur , 0.4); c = Ppar ([a, b]); t = c.asStream; 20.do({ t.next( Event .default).postln ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow