Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (184) Code (81) Doc (49) Help (26) Quark (28) SCDoc ↗ Forum ↗ Google ↗
  1. Pstep Doc

    ... Pwhite(0, 12), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p]).play; ) // change degree independently of number of events that have been playing ( Pchain( Ppar([ Pbind( \degree, Pbrown(0, 12, 1), \dur, Pstep(Ps ...

  2. PG_06d_Parallel_Patterns Doc

    ... ry -- for instance, converting a pattern into a Score object for NRT rendering. Ppar(list, repeats) Start each of the event patterns in the list at the same time. When the last one finishes, the Ppar also stops. If repeats > 1 , all the sub ...

  3. Late morning by 0-2U (grirgz) Code

    ... ikp1) ); Pdef(\blikmain, Pseq([ Pfindur(8,Pdef(\blik)), Pfindur(32,Ppar([ Pdef(\blikp1), Pdef(\blikp2), ].collect({ arg p; Pbind(\dur, 1, \clean, 8) <> p }))), Pfindur(32,Ppar([ Pdef(\blikp1), Pdef(\blikp2 ...

  4. ParallelStreams Quark

    PparSwitch : Pswitch { var <>accum; *new { arg list, which = 0, accum = false; ^super.new(list, which).accum_(accum) } // a convenient implementation, using Ppar. // could be more effective, but this is easy. embedInStream { arg inval; var ...

  5. Middle Children of History MUSC115 Final by ianmcdougall60 (ianmcdougall60) Code

    ... ( Pspawner({ arg maestro; "start".postln; ~drumbeat1 = maestro.par(Ppar([ ~kick1, ~hihat1])); maestro.wait(4); ~drumbeat12 = maestro.par(Ppar([~pulse, ~snare1])); maestro.par(~fightspeech); maestro.seq(~speech1); m ...

  6. Ptime Help

    ... eq (#[0, 2b, 3], 1), \dur , 2, \ctranspose , -7 ); Pseq ([ Event .silent(1.25), Ppar ([a, b])], inf ).play; ) // test tempo changes ( var a, b; a = Pbind ( \degree , Pswitch (#[0, 2b, 3], Ptime (8).round(2) / 2), \dur , Prand (#[0.2, 0.5, 1 ...

  7. A4 Granular Modulations by kkomers (kkomers) Code

    ... ecord; ( Pspawner({ arg maestro; maestro.seq(~four); maestro.seq(Ppar([ ~two])); maestro.seq(Ppar([ ~one, ~two])); maestro.seq(Ppar([~four, ~two, ~twofive, ~threefive])); maestro.seq(Ppar([~twofive, ~two, ~threef ...

  8. Plambda Help

    ... .ar( SinOsc .ar(freq), pan, env)) }).add; ) ( a = Plambda ( Pseq ([ Pfindur (5, Ppar ([ Pbind ( \note , Plet ( \x , Prand ([1, 5, 1, [10, 14]], inf )), \dur , 8/3, \pan , -1), Pbind ( \note , Plet ( \y , Pseq ([5, 3, 2, 0, [0, 5, 6, 9]], in ...

  9. Plambda Doc

    ... y, default: 1, repeats: inf).trace ); // Play the patterns in parallel Plambda( Ppar([a, b], inf) ).play; ) /* A more complex example: Three patterns running in parallel */ ( SynthDef(\sine, { |out = 0, freq = 440, sustain = 0.05, pan = 0, ...

  10. Good Life 115granular by hwright (hwright) Code

    ... ======================== ( Pspawner({ arg maestro; s.record; maestro.seq(Ppar([ ~three, ~voc], 1)); maestro.seq(Ppar([ ~clap2, Pseq([~three], 2), Pseq([~voc], 2)], 1)); maestro.seq(Ppar([ ~clap2, Pseq([~three], 2), Pseq([~voc], 2 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow