-
... 60 ).play; ) // Example 2 ( Pbind( \instrument, "hihat", \dur, Pseq([Rest(1/4), 1/4], inf), \att, 0.01, \rel, 0.1, \ffreq, 11000, \pan, 0, \amp, 0.3 ).play; Pbind( \instrument, "snare", \dur, Pseq([Rest(1/2), 1/ ...
-
[ [ 'test1', [ [ 'instrument', 'default' ], [ 'note', 'seq', [ 1, 2, 3, 'rest' ] ], [ 'dur', 'seq', [ 0.5, 0.5, 0.25, 0.5 ] ] ] ], [ 'test2', [ [ 'note', 'seq', [ [ 3, 1, 6 ], 2, 1, 0, 2 ] ], [ 'dur', 'seq', [ 0.5, 0.5, 0.25, 0.5 ] ] ] ], [ ...
-
... 2], inf), \degree, Pseq([ [0, 2, 4], 2, 4, 7, 8, 7, 0, [1, 3, 6], 5, [1, 3, 6], Rest(), [-1, 1, 3], [1, 3, 5], [0, 2, 4], 2, 4, 8, 9, 7, 0, [1, 3, 6], 5, [1, 3, 6], Rest(), [-1, 1, 3], [1, 3, 5], ], inf), \amp, 0.5, ).play(TempoClock(1.5)); ...
-
... the Symbol. This allows for example operations on lists of notes which contain 'rest's to preserve the rests. Pseq ([1, 3, \rest , 2, 4] + 8); applyTo(firstArg ... args) Use the symbol as a method selector and perform the message on firstAr ...
-
... ); note_getter = { | index | Plazy { if (~n.isNil) { Pseq([Rest(1)]); } { ~n[index] ?? (~n[0] ?? Pseq([Rest(1)])); }; }; }; n0 = note_getter.(0); n1 = note_getter.(1); n2 = note_getter.(2); ...
-
... z == true, the values are embedded z = false ; // set z to false x.next; // the rest of the stream is still embedded x.next; x.next; // but then it is not continued. x.next; x.next; x.next;
-
... = 84/60; p = Pbind( \scale, #[0, 2, 3, 5, 7, 8, 10], \root, 2, \degree, Pseq(#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2, 4, -3, 4, -1.9, 4, -0.9, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2], 1), \dur, 0.25 ).play; ) ( p = Pbind( \scale ...
-
... eamHi!8).flatten, inf), dur: 1, sustain: Pkey(\dur), rateScale: Pseq([0.05].add(Rest!3).flatten, 16), amp: Pseq((0.4!8).add(0.3!8).flatten, inf), decay: 0.1, out: ~delayBus]); //64 ~homunculus.marbles = Pbind(*[bufnum: ~buffers.marbles, d ...
-
... cture).quant = [6 * h, 0, 0.1]; Pdef(\structure, Ppar([ Pbind( \type,\rest, \list,Pseq((0..35),inf), \item, Pkey(\list).collect({|x|m.bar=x}), \dur, m.bb ), Pbind( \type,\rest, \list,Pseq([0,2,0,3,0,1,0,1 ...
-
... gato, 0.5, \rel, 0.3, \degree, Pseq([ Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0, Pn(\rest, 2), Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0]), \samplerate, Pn(Pgeom(22500, 8/9, 35), 2), \preamp, Pn(Pgeom(1, 1.025, 35), 2), \bitdepth, Pseq([Pseries(34, - ...