-
... s/ another value, // be sure to use |==| p = Pbind( \a, Pseries(1, 1, inf), \b, Pif( Pkey(\a) == 2, "equals 2", "nope" ) ).asStream; p.next(()); // 'b' is always "nope" p = Pbind( \a, Pseries(1, 1, inf), \b, Pif( Pkey(\a) |==| 2, "equals 2" ...
-
... c pattern extensions + Pattern { if { |truepattern, falsepattern, default = 0| ^Pif(this, truepattern, falsepattern, default) } oneValuePerBeat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next ...
-
... c pattern extensions + Pattern { if { |truepattern, falsepattern, default = 0| ^Pif(this, truepattern, falsepattern, default) } oneValuePerBeat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next ...
-
... e; }; }; }; Ppar(a.collect({|c, r| Pbind( \instrument, \peep, \freq, Pif(Pseq(a[r], inf).coin, 100+(a.size-100*r), \rest), \dur, 0.25 )}), inf).play;
-
... entre.value}) / (Pfunc{~freqSlope.value} * Pkey(\serial) +1), \freqSeries, Pif (Pfunc{~freqSlopeSwitch} > 0, Pkey(\freqSeriesUp), Pkey(\freqSeriesDown)), \filterSeriesUp, (Pfunc{~filterCentre.value} * (Pfunc{~filterSlope.value} * ...
-
wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (pattern-based) by lfsaw (LFSaw) Code
... 10; // step size Pbind( \midinote, Pswitch1( { Pbrown(min, max, Pif(Prout({ chance.trace.coin.embedInStream }), change, 0)) } ! registerSize, Pseq(Array.iota(registerSize), inf) ), \dur, waitTime ).play )
-
... k , \preamp , 0.4, \dur , 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq , Pif ( Pkey ( \amp ) > 0, 1, \rest ) ) }), inf )).play(quant: 4); Penvir(~kikEnvir, ...) : Tell the enclosed pattern to run inside the kick drum's environment. P ...
-
... \kik, \preamp, 0.4, \dur, 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq, Pif(Pkey(\amp) > 0, 1, \rest) ) }), inf)).play(quant: 4); ⧉ ✔ Penvir(~kikEnvir, ...) Tell the enclosed pattern to run inside the kick drum's environment. Pn(... ...
-
... ntrol methods Some patterns mimic language-style control methods: conditionals (Pif), loops (Pwhile) and error cleanup (Pprotect). Pif(condition, iftrue, iffalse, default): Evaluates a pattern 'condition' that returns true or false. Then, o ...
-
... 80,0, 0,0,0,0, 100,0,80,0, 0,0,0,20],inf), \amp, Pkey(\amp) / 100, \trig, Pif(Pkey(\amp) > 0, 1, 0), \dur, 0.25, \timingOffset, Pseg(Pseq([0,0.05],inf),Pseq([0.5,0.5],inf),\sine,inf) ) ).play(protoEvent: ~kickpatch); Pdef(\s ...