-
... hat 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. All ...
-
... ], [86.8,87], [88.8,89], [91.8,92]], inf), \ctranspose, -6, \dur, Pseq([Pn(0.5, 5), 0.3], inf), \amp, 0.05, \att,0.01, \rel, 0.9, \modfreq, 2, \pos, Pwhite(-0.5, 0.5) ); ~amik = Pbind( \instrument, "am3", ...
-
... 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) } ...
-
... 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 ...
-
... 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], ...
-
... t.isKindOf(Pattern)) { event = myEvent; }; }; Pn(event, 1); }); Ppar(evts); }); } ); obj.setDur(dur); obj; }; ) // Create a synth to play ( SynthDef(\blip, {arg freq, ...