-
Pfindur limit total duration of events embedded in a stream superclass: FilterPattern Pfindur(dur, pattern, tolerance) embeds elements of the pattern into the stream until the duration comes close enough to dur . ( var a, b; a = Pfindur (5, ...
-
... t. The last output value is adjusted so that the sum matches the limit exactly. Pfindur(dur, pattern, tolerance): Like Pconst, but applying the "constrain" behavior to the event's rhythmic values. The source pattern runs up to the specified ...
-
... oh event stream specific filter patterns Pset Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind Phid PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream EventStream EventStreamPlayer to be cont ...
-
... y Pseed Prewrite Ptrace Pwrap Pstutter [ PdurStutter ] Pbindf Plag Pconst Psync Pfindur Pfin Pplayer Pstretch [ Pstretchp ] Pset [ Psetp [ Pmulp Paddp ] Pmul Padd ] Psetpre [ Pmulpre Paddpre ] FuncFilterPattern [ Pwhile Pfset Preject Pselec ...
-
... ue pattern superclass: FilterPattern Pconst(sum, pattern, tolerance) similar to Pfindur , but works with the value directly. embeds elements of the pattern into the stream until the sum comes close enough to sum . At that point, the differe ...
-
... r(out, Pan2 .ar( SinOsc .ar(freq), pan, env)) }).add; ) ( a = Plambda ( Pseq ([ Pfindur (5, Ppar ([ Pbind ( \note , Plet ( \x , Prand ([1, 5, 1, [10, 14]], inf )), \dur , 8/3, \pan , -1), Pbind ( \note , Plet ( \y , Pseq ([5, 3, 2, 0, [0, 5 ...
-
... e no assurance that the Pwrand \dur pattern will add up to exactly 4 beats. The Pfindur ("finite duration") pattern cuts off the inner Pbind after 4 beats. This would stop the pattern, except Pn repeats the Pfindur infinitely, placing the a ...
-
... o the false branch, which is nil. That causes the stream to stop. (This is like Pfindur for event patterns, but Pif/Ptime works for value patterns as well.) // This is a really useful trick: like Pfindur but for value patterns ( p = Pbind ( ...
-
... t. The last output value is adjusted so that the sum matches the limit exactly. Pfindur(dur, pattern, tolerance): Like Pconst, but applying the "constrain" behavior to the event's rhythmic values. The source pattern runs up to the specified ...
-
... will end after 5 seconds // or you can stop it sooner with a stop message ( p = Pfindur (5, Pset ( \detune , Pwhite (0,1.0) * [0,1,3,7], Ppar ([ Pmono ( \default , \dur , 0.2, \freq , Pwhite (1,8) * 100 ), Pmono ( \default , \dur , 0.1, \fr ...