-
... tpar with separate groups for the subpatterns. An excellent example of Ppar and Pseq used together to structure an entire piece (Kraftwerk's "Spacelab") can be found in examples/pieces/spacelab.scd. Dynamic parallelizing Ppar and its cousin ...
-
... ee, Pstutter(Pwhite(1, 4, inf), Pwhite(-2, 9, inf)) - #[0, 2, 4], \dur, Pwrand([Pseq(#[0.125, 0.375], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf), \sustain, max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], inf)), ...
-
... 00, 0.05).dup }; // impulse uses tempo ~x = Pbind(\instrument, \default, \freq, Pseq([300, 400], inf)); // pattern uses tempoclock p.clock.tempo = 1.0; // set the tempo to 1 p.clock.tempo = 2.2; // set the tempo to 2.2 ~x.free; ~y.free; ⧉ ✔ ...
-
... .1).normalizeSum, inf) * 0.15, \amp, 0.1, \ratioPlug, Pdup( Pwhite(2, 10, inf), Pseq([ 0, // alternate between no-plug and plug Pfuncn({ { |ratio| Plug({ |ratio| ratio * Demand.kr( Impulse.kr(12), 0, Dseq([Dseries(1, 0.15, 12)], inf) ) }, [ ...
-
... in parallel, with time offset Prand - embed values randomly chosen from a list Pseq - sequentially embed values in a list Place - interlaced embedding of subarrays Ppatlace - interlace streams Pser - sequentially embed values in a list Psh ...
-
... a.asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed(Pseq([1812, 1912], inf), Prand([1, 2, 3], 5)); b = a.asStream; 2.do({ 5.do({ b.next.post }); "".postln }); c = a.asStream; 2.do({ 5.do({ c.next.post }); "".post ...
-
... like control, patterns are used to pass envelope data. ( p = Pbind( \note, Pseg(Pseq([0, Pwhite(3, 10, 1)], inf), Pseq([1, 3],inf), 'lin'), \dur, 0.2 ).play; ) p.stop; ⧉ ✔ 2. Continuous LFO control Ex.2a: audio synths reading from a control ...
-
... ce = { MouseX.kr(100, 5500, 1) }; ( b.source = Pbind( \instrument, \who, \freq, Pseq([600, 350, 300], inf), \legato, 0.1, \ffreq, Pseq([c, 100, c, 100, 300, 600], inf), // use proxy in a pattern \dur, Pseq([1, 0.5, 0.75, 0.25] * 0.4, inf), ...
-
... \pitchatk: 0.1.rand, \pitchdec: 0.7.rand, \env: 20.rand.midicps, \pol: 1, \amp: Pseq({1.0.rand2.round(0.25).clip(0, 1)}.dup([8, 14, 16].choose), inf).asStream, \level: 0 ); }; objsFunc.dup(n); //--sequence Tdef(\seq, { loop{ drums.do{|d, i| ...
-
... channel gets set correctly ( a = Pbind( \instrument, \help_multichannel, \freq, Pseq([[342, 145], [187, 564], [234, 135]], inf), \dur, 0.5 ).play; ) ⧉ ✔ Instead wrap arrayed args in an extra pair of square brackets: a.stop; // freq in both ...