Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... these types of event patterns, you should use Pfin ( var a, b; a = Pfinval (5, Pseq (#[1, 2, 3], inf )); b = a.asStream; 9.do({ b.next.postln; }); ) Pfinval used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440 ...

  2. Pmul Help

    ... lting stream ends when that incoming stream ends ( var a, b; a = Pmul ( \freq , Pseq ([3, 4, 6], 2), Pbind ( \freq , 100)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=4 ...

  3. Pfuncn Help

    ... d(0.1, 2.0) + #[1, 2, 3, 6].choose }, 2); b = Pfuncn ({ #[-2, -3].choose }, 2); Pseq([a, b], inf).asStream.nextN(20).postln; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( E ...

  4. Ppatmod Help

    ... he enclosed pattern and embeds it in the stream. see also Plazy ( a = Ppatmod ( Pseq ([0, 0, 0, 0],1), { arg pat, i; var list; list = pat.list; pat.list = list.put(list.size.rand, 2); }, inf ); x = a.asStream; 30.do({ x.next.postln }); ) Pp ...

  5. Pfin Help

    ... so for value patterns, you should use Pfinval instead. ( var a, b; a = Pfin (5, Pseq (#[1, 2, 3], inf )); b = a.asStream; 9.do({ b.next.postln; }); ) Pfin used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, s ...

  6. Paddpre Help

    ... stream ends when that incoming stream ends ( var a, b; a = Paddpre ( \legato , Pseq ([0.2, 0.4], 2), Pbind ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( Event .default).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, fr ...

  7. Plazy Help

    ... Array .series(rrand(2, 4), [1, 5].choose, 1); x.put(x.size.rand, 8+0.1.rand2); Pseq (x,1); }); x = Pn (a, inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , (x.next*5+70).midicps]); 0.13.wait; }) }).play; ) // using even ...

  8. Punop Help

    ... : ( var a; a = Pseries (0, 1, 12).sqrt; a.asStream.all; ) // some common cases: Pseq ([1, 2, 3]).squared; Pseq ([0.2, 0.5, 0.8]).coin; Pwhite (-100, 100, inf ).abs; // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sust ...

  9. Tutorial Help

    ... 20] ); timer.sched(0,{ var r; r=Routine ({ var wait, freq, cutoff,rezz; wait = Pseq ([2], inf ).asStream; freq = Pseq ([30,40,42,40], inf ).asStream; cutoff = Pfunc({500.rand2+1000}).asStream; rezz = 0.5; inf .do({saw.set( "freq" , freq.ne ...

  10. Event Help

    ... be played on a clock: dur specifies the time between two subsequent events. // Pseq returns one item in the list after the other ( Pseq ([ (note: 2, sustain: 1, dur: 1.5), (note: [5, 7], sustain: 0.5, dur: 0.8), (note: [2, 6], sustain: 1, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow