Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (458) Code (127) Doc (139) Help (76) Quark (116) SCDoc ↗ Forum ↗ Google ↗
  1. Pxrand Help

    Pxrand embed values randomly chosen from a list like Prand , returns one item from the list at random for each repeat, but Pxrand never repeats the same element twice in a row. see also: Pwrand ( var a, b; a = Pxrand .new(#[1, 2, 3], 10); / ...

  2. Pindex Help

    ... indices = [0, 0, 2, 0, 4, 6, 7]; Pbind ( \instrument , \help_pindex , \choice , Prand (indices, inf ), \degree , Pindex (data, Pkey ( \choice ), inf ), \dur , 0.7 ).play )

  3. PdegreeToKey Help

    ... ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 4), Pstutter (3, Prand (scales, inf )), 12 ), \dur , 0.25 ).play; )

  4. Pwrand Help

    ... normalizeSum, 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) Prand used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2 ...

  5. StreamClutch Help

    ... /sound example: ( var clutch, pat, decicion; decicion = Pseq ([ Pn ( true ,10), Prand ([ true , false ], 10)], inf ).asStream; pat = Pbind ( \freq , Pseq ([200, [300, 302], 400, 450], inf ), \dur , 0.3); clutch = StreamClutch (pat, decicion ...

  6. PatternsDocumentedAndNot Help

    ... ch1 ] ListPattern [ Pwalk Pslide Ptuple Ppar [ Ptpar ] Pdfsm Pfsm Pwrand Pxrand Prand Pshuf Pseq [ Ppatlace Place Pser ] ] Pindex Ppatmod Plazy Pstatbalnorm Pstatbal PstepNfunc [ PstepNadd ] Pstep3add Pstep2add Pwhite Pbrown Pgeom Pseries P ...

  7. Pavaroh Help

    ... 7, 10]; avaroh = #[0, 1, 3, 5, 7, 9, 10]; synth = Synth .head(s, \ivg ); pat = Prand ([0, 2, 3, 4, 2, 1, 0, -1, -2], inf ); str = Pavaroh (pat, aroh, avaroh).asStream; Routine ({ loop({ synth.set( \freq , midicps(str.next + 60) ); rrand([0 ...

  8. EventPatternProxy Help

    ... v = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; # ...

  9. Pfx Help

    ... .softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); q = Pfx (p, \echo , \dtime , 0.2, \decay , 3); r = Pfx (q, \distort , \pregain , 20, \amp , 0.25); o = Pfx (r, \w ...

  10. Psync Help

    ... , \instrument , \help_sinegrain ); // this pattern has indetermined length: a = Prand ([ Pbind ( \dur , Pseq ([0.02, 0.002, 0.1, 0.1],2), \degree , Pseq ([9, 7, 5], inf ), \instrument , \help_sinegrain ), Pbind ( \dur , Pseq ([1, 0.35],2), ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow