-
Plazy instantiate new patterns from a function superclass: Pattern Plazy evaluates a function that returns a pattern and embeds it in a stream. Plazy(func) func: A function that returns a pattern or any other valid pattern input see also: P ...
-
... }); ) // pattern return stream until the longest stream ended ( x = PstepNadd ( Plazy ({ "pattern1.asStream" .postln; Pseq ([1, 2, 3], 2) }), Plazy ({ "pattern2.asStream" .postln; Pshuf ([10, 20, 30, 40]) }), Plazy ({ "pattern3.asStream" .p ...
-
... that approach cannot confine its changes to the one stream making the changes). Plazy offers an alternate approach: use a function to generate a new pattern object periodically, and play these patterns in succession, one by one. (Plazy embe ...
-
PlazyEnvir instantiate new patterns from a function superclass: Plazy Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy , the function is evaluated using the environment passed in by the stream Pl ...
-
... Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind Phid PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream EventStream EventStreamPlayer to be continued...
-
... nction that modifies the 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({ ...
-
... sm Pfsm Pwrand Pxrand Prand Pshuf Pseq [ Ppatlace Place Pser ] ] Pindex Ppatmod Plazy Pstatbalnorm Pstatbal PstepNfunc [ PstepNadd ] Pstep3add Pstep2add Pwhite Pbrown Pgeom Pseries Pbind Pevent Pnaryop Pbinop Punop Pfuncn Prout Proutine Pfu ...
-
PlazyEnvirN instantiate new patterns from a function superclass: PlazyEnvir Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy , the function is evaluated using the environment passed in by the str ...
-
... grainlet" , -1,0,0, \freq , x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { Pseries (300 + 300.rand, 10 + 30.rand, 10 + 30.rand) }.loop.asStream; loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; ...
-
... to , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the Pbind infinitely // Plazy builds a new Pbind for each iteration // Pfin cuts off the Pbind when it's time for a new value p = Pn ( Plazy { Pbind ( \degree , Pfin (rrand(3, 10), rra ...