-
... f(\x, degree: 7.rand + 1); Pbindef(\x, degree: Pseq([0, 7, 3, 7, 4], inf), dur: Pn(Pseries(0.2, -0.02, 10))); Pbindef(\x, \stretch, 2); Pdef(\x).stop; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pbindef.schelp lin ...
-
... tern 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( \in ...
-
... f(\u, \i, \saw_grain, \d, 0.2, \m, Pwhite(60, 90) ) ) ~u.play ~u.d = 0.1 ~u.m = Pn(Plazy { Pseries(rrand(50, 70), 1.5, 20) }) ~u.m = ~u.m + [0, 4, 7] ~u.i = PLseq([\sin_grain, \saw_grain]) ~u.a = Pn(Pseries(0.05, 0.01, 20)) ~u.m = 70 // sto ...
-
... plets in ( Pchain( ~swingify, Pbind( \degree, Pseries(-7, 1, 15), \dur, Pwrand([Pn(0.25, 2), Pn(1/6, 3)], [0.7, 0.3], inf) ), (swingBase: 0.25, swingAmount: 0.2, swingThreshold: 0.05) ).play; ) ⧉ ✔ Explanation We need to measure the current ...
-
... Pbind(\note, Pseries(10.rand, 5.rand, 8.rand + 1), \dur, 1 / (8.rand + 1)) }); Pn(Pdef(\x)).play; // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stut, { Pdup(~dup ? 1, ~pattern) } ...
-
... post; Char.tab.post } SynthDescLib.read; // listen to the set ( Pbind( \degree, Pn(x), \dur, 0.25 ).play; ) // change the data slowly m.parse(Pseq([1, 2, Prand([6, 9], 2)], inf), 20); m.parse(Pseq([1, 5], inf), 20); m.parse(Pseq([5, 0, -2], ...
-
... midinote, not just frequency \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, sin(Ptime(inf) * 0.5).linexp(-1, 1, 1/3, 3), \amp, Pexprand(0.5, 1.0, inf) ).play(quant: 1); ) p.stop; ⧉ ✔ \noteOn an ...
-
... at modify a stream of values: math operators (which render as Punop , Pbinop or Pnaryop patterns) and certain collection methods (mainly collect , select and reject ). Filter pattern classes can do some other surprising and useful things. A ...
-
... be embedded in a stream. For repeated embedding the Plazy can be wrapped into a Pn. If a generated Pattern repeats infinitely, there will not be any further evaluation. So when using Plazy have a close look at the inner Pattern's repeat arg ...
-
... }, Pseq([10], 2)); g.( { |x| x }, Pseq([10], 2)); g.( { |x| x }, 1); g.( { |x| Pn(x, 3) }, 1); g.( { |x| Pn(x, 3) }, Pseq([10], 2)); g.( { |x| Pswitch([10, 20, 30], x) }, Pseq([1, 2], 2)); g.( { |x| Pswitch([10, x, 30], Pseq([0, 1, 2], 2)) ...