-
... turns a Stream that returns values from the nextFunc . To return a pattern, see Plazy . Class Methods Pfunc. new ( nextFunc , resetFunc ) Arguments: nextFunc Stream function. In an event stream nextFunc receives the current Event as argumen ...
-
... ato, 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), rrand(- ...
-
... 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; } ...
-
... c.asStream.all.postln }; // add pauses between new starts Pbind(\degree, Pseq([Plazy({ c.randStarter }), \_, \_], inf), \dur, 0.2).trace(\degree).play; s.boot; // Add special markers for the beginning and ending to each phrase; // this can ...
-
... n with gaps and overlays ( x = Pbind( \instrument, \help_sinegrain, \degree, Pn(Plazy({ Prand([0, 4, 5], 16) + 5.rand })) + Prand(#[0, [0, 3], [0, 7]], inf), \dur, Prand([0.25, 0.5, 1.0], inf), \scale, #[0, 3, 5, 9, 10] ); y = Pbind( \instr ...
-
... ~buf, but ~buf is not loaded // at the time of creating the PR. So we must use Plazy // to wait and evaluate ~buf.duration at play time. ~start = Plazy { Pwhite(0, ~buf.duration - Pkey(\time), inf) * ~buf.sampleRate }; ~time = Pwhite(0.1, ...
-
... x, an ascending index list of random length and a random offset // Function for Plazy q = { Pindex(z, Pseq((0..rrand(10, 20))) + z.size.rand) } Pn(Plazy(q), 30).asStream.all.plot; // sequencing randomly repeated random segments of random le ...
-
... Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream Event Stream EventStreamPlayer helpfile source: /usr/local/share/SuperCollider/HelpSource/ ...
-
... grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; }) }) ) ( Tdef(\x, { 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; } ...
-
... \id, x, \args, #[freq, amp, otAmps], // must be given explicitely \midinote, Pn(Plazy { Pseq((70..50)) / rrand(1, 1.2) }), \amp, 0.3, \otAmps, Pseq(o, 30) ).play ) ( // stop EventStreamPlayer and release Synth p.stop; x.release; ) ⧉ ✔ Ex.2c ...