-
... room: 0.7); Out.ar(0, bpf); }; f = Pbind( \instrument, \closeN, \freq, Pseq([800, 1000, 900, 400, 600], inf), \dur, Pseq([1, 1, 1, 1, 4], inf), \amp, 1); g = Pbind( \instrument, \closeN, \freq, Pseq([1000, 1150, 1200, 150 ...
-
... (0, 1, 12) hypot: Pseries (3, -1, 12); a.asStream.all; ) // some common cases: Pseq ([1, 2, 3]) + 2; Pseq ([1, 2, 3]) / Pseq ([3, 4, 5, 6]); max( Pwhite (-10, 10, inf ), Pseq ([0, 2, 3, 4])); // sound example ( SynthDef ( \help_sinegrain , ...
-
... 5, // boosted to 5 because filtering attenuates a lot of the sound \startPos, Pseq([0.24, 0.33, 0.66, 0.89], inf), \attack, 0.02, \release, 0.4, \ffreq, Pseq([100, 200, 400, 500, 600, 900, 1000, 2000], inf), \rq, 0.01, ...
-
// Bach Chaconne Pbindef(\violin, \instrument, "violin", \dur, Pseq([ 3/8, 1/8, // m. 1 1/4 + 0.1, 3/8 + 0.1, 1/8, // m. 2 1/4, 3/8 // m. 3 ]) * 4, \strum, 0.05, \midinote, Pseq([ [62, 65, 69], 69, [62, 67, 70, 76], [61, 67, 69, 76], 76, [6 ...
-
... \y ) * 2); ( Pdef ( \play , Pbind ( \instrument , \gpdef , \harmonic , Pnsym ( Pseq ([ \x , \x , Prand ([ \x , \y ]), [ \z , \y ], \y ], inf )).trace, \dur , 0.2, \note , 10 ) ).play; ) // change root pattern: Pdefn ( \x , Pn (2, 3)); Pdef ...
-
... o distract attention from the data (which are the real concern in composition). Pseq (Pattern-sequence) means simply to spit out the values in the array one by one, in order, as many times as the second argument (here, only once). p = Pseq( ...
-
Pbindef(\clapGray, \instrument, "clapGray", \dur, Pseq([1/4, 1/4, 1/4, 1/4, 1/4, 1/8, 1/8, 1/4, 1/8, 1/8], 2), \amp, Pseq([0.02, 1, 1, 0.02, 1, 0.02, 1, 0.02, 1, 0.5], 2), \maxDelay, 0.05, \decay, 0.15, \rq, 0.4, \att, 0.001, \rel, 0.25 );
-
Pbindef(\prophet5pwmStrings, \instrument, "prophet5pwmStrings", \note, Pseq([0, 3, 8, 7, 5, 8, 7, 3], inf), \ctranspose, -12, \amp, 0.1, \dur, Pseq([Pn(0.5, 8), Pn(0.25, 8), Pn(0.125, 16)], 1), \lfowidth, Pn(Pseries(0.0, 0.025, 7), inf), \l ...
-
... 5).asStream; y = Pbind(\midinote, Pseries(90, -1, 10), \dur, 0.5).asStream; z = Pseq([2, 3, 1, 2], 1).asStream; ~a = Pfuncn({ x.next(()) }, { z.next }); ~b = Pfuncn({ y.next(()) }, { z.next }); PsymNilSafe(Pseq("ab", inf)).trace.play; // sh ...
-
... ([\bd,\sn].asPercussion, [36, 38], "[\bd,\sn] -> [36, 38]"); this.assertEquals( Pseq([\bd,\sn,\ch,\oh], inf).asStream.nextN(10), [ 36, 38, 42, 46, 36, 38, 42, 46, 36, 38 ], "Pseq[\bd,\sn,\ch,\oh] -> [ 36, 38, 42, 46, ...]" ); } }