Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. PstepNadd Help

    PstepNadd pattern that returns combinatoric sums superclass: PstepNfunc combines an arbitrary number of patterns by summing (depth first traversal). when a stream ends it is recreated from its pattern until the top stream ends. see also: Ps ...

  2. Pif Help

    ... t, 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; )

  3. Pnsym Help

    Pnsym use a pattern of symbols to embed Pdefn's superclass: Psym for event patterns see Psym Overview: JITLib Related: Pdefn Pnsym(pattern) pattern: a pattern that returns symbols or characters. Arrays are converted to parallel patterns ( P ...

  4. PG_Cookbook07_Rhythmic_Variations Help

    ... ns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pattern for each par ...

  5. Pchain Help

    ... , 0.3]), \degree , Pseq ([3, -1])) ], inf ); b = Prand ([ Pbind ( \ctranspose , Pn (1, 4)), Pbind ( \mtranspose , Pn (2, 7)) ], inf ); c = Prand ([ Pbind ( \detune , Pfuncn ( { [0, 10.0].rand }, 5), \legato , 0.2, \dur , 0.2), Pbind ( \lega ...

  6. Pwrap Help

    ... in, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = Pn ( Pwrap ( Pgeom (200,1.07,96), 200, 1000.0 ), inf ); x = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.debug, \dur ,0.3]); 0.12.wa ...

  7. PG_Cookbook02_Manipulating_Patterns Help

    ... ) This does not work if the ranges need to keep their own integrity. For that, Pnsym1 is ideal. We create a dictionary with named patterns, each of which maintain their own streams. Then we choose randomly between their names, picking one ...

  8. Streams Help

    ... ace Ptuple Pslide Pfsm Place ... FilterPatterns Pseed Prewrite Pswitch Pswitch1 Pn Pstutter Pfin Psync Pcollect Pselect Preject PdurStutter Pconst Pwrap PdegreeToKey Pavaroh event stream specific filter patterns Pset Pfset Pmul Padd Psetp P ...

  9. Pshuf Help

    ... in, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = Pn ( Pshuf (#[60, 60, 60, 61, 63, 65, 72], 4), inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.15.wait; }) }).play; )

  10. Pfindur Help

    ... \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ); Pn ( Pfindur (1, c) ).play; )

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow