-
... mpo = 1; p = Pbind( \degree, Pswitch1([Pwhite(7, 14, inf), Pwhite(-7, 0, inf)], Pfunc { 0.7.coin.binaryValue }), \dur, 0.25 ).play; ) p.stop; ⧉ ✔ Compare to the following: ( p = Pbind( \degree, Pswitch([Pwhite(7, 14, inf), Pwhite(-7, 0, inf ...
-
... Tasks can easily refer to environmental variables - in case of Pbinds e.g. via Pfunc, Plazy, Pcollect, but more conveniently via the dynamic scope PLx suite - so VarGui can control environmental variables and synth controllers. For using e ...
-
... (2, simple: true), \buffer, b.asPxrand(b.numBuffers), \loop, 0, \rate, 1, \dur, Pfunc({|ev| ev[\rate].reciprocal * ev[\buffer].duration}), \amp, 0.85 ) ).play; ⧉ ✔ helpfile source: /tmp/scquark_hs/AllBuf/HelpSource/Classes/AllBuf.schelp lin ...
-
... ait = Pseq([2],inf).asStream; freq = Pseq([30,40,42,40],inf).asStream; cutoff = Pfunc({500.rand2+1000}).asStream; rezz = 0.5; inf.do({ saw.set("freq", freq.next.midicps, "cutoff", cutoff.next, "rezz", rezz, "amp", 0.1, "out", 0); (wait.next ...
-
... ait = Pseq([2],inf).asStream; freq = Pseq([30,40,42,40],inf).asStream; cutoff = Pfunc({500.rand2+1000}).asStream; rezz = 0.5; inf.do({ saw.set("freq", freq.next.midicps, "cutoff", cutoff.next, "rezz", rezz, "amp", 0.1, "out", 0); (wait.next ...
-
... ck indices given as Function Ex.3c: lookBack indices given as Pattern Ex.4a: loopFunc given as Function Ex.4b: loopFunc given as Pattern Ex.4c: loopFunc vs. goFunc Ex.4d: Turning loopFunc and goFunc on and off Ex.5: PSloops controlling diff ...
-
... i) . Pbrown(lo, hi, step, length) Brownian motion, arithmetic scale (addition). Pfunc(nextFunc, resetFunc) Get the stream values from a user-supplied function. Pfuncn(func, repeats) Get values from the function, but stop after repeats items ...
-
... es. On the contrary repeated evaluation of an interpreter variable, e.g. from a Pfunc, is unsafe - variable's value could change while gui has not yet been closed - so in concerned examples values are passed to the event definition, in Ex.2 ...
-
... t, 1.0) * EnvGen.kr(envadsr, gate,amp,doneAction: 2 ) },[ sample, // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), // get an .ir input into the synth function ~pchRatio = IrNumberEditor(1.0,[-2 ...
-
... do { |x| x.play } while({ a < b }, { a = a * 2 }) while { a < b } { a = a * 2 } Pfunc({ rrand(3, 6) }) Pfunc { rrand(3, 6) } NOTE: Trailing arguments must be literal blocks. No other expression may be used as a trailing argument, even if it ...