Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s loaded % files.\n".postf(q.buffers.size); }); s.waitForBoot { Pbind('degree', Pseries([0, 2, 4], 1, 8), 'dur', 0.125).play; 0.5.wait; // load all patches that need a running server; q.load("02_processes/*.scd"); // load all controllers th ...

  2. Pif Help

    ... nOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pif ( Pfunc ({ 0.3.coin }), Pn ( Pseries (0.5, 0.1, 10)), Pn ( Pseries (6, -0.1, 10))).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.2.wait; } }.fork; )

  3. Constraints Doc

    ... ke a function .do({ arg num; num.postln; }); ) ( // Use to filter a Pattern p = Pseries(0,1,100) .select(c); ) // Unfiltered Pseries(0,1,100).asStream.all.do({arg num; num.postln;}) // Filtered p.asStream.all.do({ arg num; num.postln }); ( ...

  4. PLx_and_live_coding_with_Strings Doc

    ... .1, \i, \sin); // chars for the string, event patterns or events ~a = Pbind(\m, Pseries(60, 2, 4)) <> ~x; ~b = Pbind(\m, Pseries(80, -2, 8)) <> ~x; ~c = (i: \saw, m: [95, 96, 97], d: 0.8); // define sequence ~p = "aab" ) // symplay wraps in ...

  5. Paccum Quark

    ... ream. Each output value becomes the input value for the next calculation. Where Pseries adds a constant value on successive iterations, here the second operand is variable. *new(lo = -inf, hi = inf, step, length = inf, start, operator = '+' ...

  6. Paccum Quark

    ... ream. Each output value becomes the input value for the next calculation. Where Pseries adds a constant value on successive iterations, here the second operand is variable. *new(lo = -inf, hi = inf, step, length = inf, start, operator = '+' ...

  7. Pkey Doc

    ... f a Pkey's result /equals/ another value, // be sure to use |==| p = Pbind( \a, Pseries(1, 1, inf), \b, Pif( Pkey(\a) == 2, "equals 2", "nope" ) ).asStream; p.next(()); // 'b' is always "nope" p = Pbind( \a, Pseries(1, 1, inf), \b, Pif( Pke ...

  8. sosTom-demo Quark

    ... m, \instrument, "sosTom", \dur, Pseq([1, 2, 1, 2, 1, 2, 1, 2, 2, 2]) / 7, \pan, Pseries(0.75, -0.15, 10), \freq, Pstutter(2, Pseq([250, 200, 150, 100, 50])), );

  9. Pif Doc

    ... ut, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pif(Pfunc({ 0.3.coin }), Pn(Pseries(0.5, 0.1, 10)), Pn(Pseries(6, -0.1, 10))).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.2.wait; } }.fork; ) ⧉ ✔ helpfile sou ...

  10. kick808-demo Quark

    ... , 1/2, Rest(1/2), 1/2, Rest(1/4), 3/4 ], 2) * 0.4, \amp, 0.8, \rel, 0.7, \dist, Pseries(0.1, 0.1, 16) );

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow