Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (572) Code (144) Doc (154) Help (54) Quark (220) SCDoc ↗ Forum ↗ Google ↗
  1. Pscratch Quark

    ... many values to retain for backtracking. p = Pscratch ( Pseries (0, 1, inf ), ( Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf )).max(-1)).asStream; p.nextN(20); [ 0, 0, 0, 1, 0, 0, 3, 6, 8, 9, 12, 11, 10, 11, 12, 11, 10, 12, 13, 12 ] Here the ...

  2. Pscratch Quark

    ... many values to retain for backtracking. p = Pscratch ( Pseries (0, 1, inf ), ( Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf )).max(-1)).asStream; p.nextN(20); [ 0, 0, 0, 1, 0, 0, 3, 6, 8, 9, 12, 11, 10, 11, 12, 11, 10, 12, 13, 12 ] Here the ...

  3. minmax Quark

    ... Phase) }, [ nil, nil, StaticIntegerSpec(0, 1024) ], \stream ); Instr([\minmax, \Pwhite], { arg length=0, min=0.0, max=1.0; # min, max = [min, max].sort; Pwhite(min, max, length.infer) }, nil, \stream); Instr([\minmax, \Pbrown], { arg stepsi ...

  4. acidOto3091-demo Quark

    ... 03, 0.9, Pn(0.1, 8), 0.6, 0.9, 1, 1]), \ctranspose, -34, \lagTime, 0.6, \width, Pwhite(0.25, 0.75, inf), \degree, Pseq([Pn(2, 6), 4, 5, -2, -3, -2, \rest, 0, \rest, 3, \rest, 1, 4, 6, 2, -2]), \amp, Pseq([0.1, 0.1, 0.15, 0.2, 0.2, 0.25, 0.3 ...

  5. PIdev Quark

    ... rhythm type: " ).collect( ~rhythms [ _ ]).flatten * 0.3, \midinote , Pstutter ( Pwhite (1, 2), Pclump (3, Pxrand ((50..100), inf ))).flatten + [0, 12], \pan , Pstutter ( Pwhite (1, 2), Pclump (3, Pwhite (-1.0, 1))).flatten ).play; ) p.stop ...

  6. test-JITModPatch Quark

    ... ; // buffers in patterns a = NodeProxy(s, \audio, 2); a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1, \test, Pfunc { |ev| ev[\abc].debug("abc in proto"); 0 }).trace; a.nodeMap a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1 ...

  7. PlaceAll Quark

    ... be Patterns or Streams ( p = Pbind ( \midinote , PlaceAll ([[60, 61], 70, [80, Pwhite (84.0, 89), 82]], inf ), \dur , 0.2 ); x = p.play; ) x.stop;

  8. TestPattern11 Quark

    ... gaNodes, using the AlgaOut Class. a = AlgaPattern(( def: \test, dur: 0.5, freq: Pwhite(220, 440), out: Pseq([ AlgaOut( node: b, param: \in ), AlgaOut( node: c, param: \in ) ], inf) )); }); ) //New connection a.from(AlgaOut(b, \in), \out, ti ...

  9. Paccumbounce Quark

    ... until turning around again at the lower boundary. p = Paccumbounce (-1.0, 1.0, Pwhite (-0.05, 0.1, inf ), inf ).asStream; r = fork { loop { p.next.postln; 0.1.wait } }; r.stop; p.reset; p.nextN(200).plot;

  10. Paccumbounce Quark

    ... until turning around again at the lower boundary. p = Paccumbounce (-1.0, 1.0, Pwhite (-0.05, 0.1, inf ), inf ).asStream; r = fork { loop { p.next.postln; 0.1.wait } }; r.stop; p.reset; p.nextN(200).plot;

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow