Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0483089, 1.2599210498937, 1.3348398541685, etc. ] Pbind ( \scale , a, \degree , Pseq ((0..7) ++ (6..0) ++ [ \rest ], 1), \dur , 0.25).play; // use non-standard tuning a.tuning_( \just ); a.degrees; // no change; degrees are independent of t ...

  2. Streams Help

    ... ms-Patterns-Events7 ] - Practical Considerations Specific classes: ListPatterns Pseq Pser Prand Pwrand Pxrand Pshuf Place Ptuple Pslide Pfsm Place ... FilterPatterns Pseed Prewrite Pswitch Pswitch1 Pn Pstutter Pfin Psync Pcollect Pselect Pr ...

  3. Pser Help

    Pser sequentially embed values in a list superclass: ListPattern is like Pseq , however the repeats variable gives the number of items returned instead of the number of complete cycles. ( var a, b; a = Pser ([1, 2, 3], 5); // return 5 items ...

  4. Pstutter Help

    ... rn, so the number of times can vary each iteration ( var a, b; a = Pstutter (2, Pseq([1, 2, 3],inf)); x = a.asStream; 13.do({ x.next.postln; }); ) Pstutter used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, ...

  5. PG_Ref01_Pattern_Internals Help

    ... back to the list pattern to get the next item, which is embedded and so on. p = Pseq ([ Pseries (0, 1, 3), Pgeom (10, 2, 3)], 1).asStream; p.next; // Pseq is embedded; first item is Pseries(0...), also embedded // Control is now in the Pser ...

  6. Pn Help

    ... rn. This can be used to advance Patterns enclosed by Pgate ( var a, b; a = Pn ( Pseq (#[1, 2, 3], 1), 4); // repeat pattern four times b = a.asStream; 16.do({ b.next.postln; }); ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, ...

  7. Prand Help

    ... ({ b.next.postln; }); ) // return also a subpattern: ( var a, b; a = Prand ([1, Pseq ([10, 20, 30]), 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) Prand used as a sequence of pitches: ( SynthDef ( \help_sine ...

  8. Pseed Help

    ... asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed ( Pseq ([1812, 1912], inf ), Prand ([1,2,3], 5 )); b = a.asStream; 2.do({ 5.do({ b.next.post }); "" .postln; }); c = a.asStream; 2.do({ 5.do({ c.next.post }); "" ...

  9. PatternsDocumentedAndNot Help

    ... ttern [ 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 Pbind Pevent ...

  10. PhidSlot Help

    ... multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidSlot( Pseq([[0,1],2,5],inf), 3, a, inf )*12 ).round(1), \dur, 0.25 ).play; // the type argument can also be replaced by an Array or pattern. p.stop; // clean up: clos ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow