-
... PerBar]; Pdef(\hats, Ppar([ Pbind( \instrument, \moth_kick, \freq,Pseq([1,\,\,\, \,\,\,\, 1,\,\,\, \,\,\,1],inf) * 30, //\freq, \, \dur, q, \amp, Pseq([1,\,\,\, \,\,\,\, 1,\,\,\, \,\,\,0.4],inf) * 0.1, \att,0.0 ...
-
... his is the cross adverb, 'x'. Normally when you add two streams like this: p = (Pseq([10, 20]) + Pseq([1, 2, 3])).asStream; Array.fill(3, { p.next }); ⧉ ✔ you get this: [ 11, 22, nil ] ⧉ ✔ The items are paired sequentially and the stream en ...
-
... // see the delta values in the resulting events ( var a, b, c, t; a = Pbind(\x, Pseq([1, 2, 3, 4]), \dur, 1); b = Pbind(\x, Pseq([10, 20, 30, 40]), \dur, 0.4); c = Ptpar([0.0, a, 1.3, b]); t = c.asStream; 20.do({ t.next(Event.default).postl ...
-
Pbindef( \moreHarmonics, \instrument, "moreHarmonics", \dur, Pseq([ 2, 1, 2, 1, 2, 1, 2, 1, Rest(2), 1, 2, 1, 2, 1, 2, Rest(1), 2, 1, 2, 1, 2, 1, 2, 1, Rest(2), 1, Rest(2), 1, Rest(2), 1, Rest(2), 1, 2, 1, 2, 1, 2, 1, 2, 1, Rest(2), 1, 2, 1 ...
-
Pbindef(\hihatElectro, \instrument, "hihatElectro", \dur, Pseq([ Rest(1/16), Pn(1/16, 3), 1/8, 1/8, Rest(1/8), 1/8, Rest(1/16), 1/8, 1/16 ], 2) * 2, \amp, Pseq([ \rest, 0.1, 0.3, 0.5, 0.7, 0.5, \rest, 0.5, \rest, 0.6, 0.4 ], inf), \rel, Pse ...
-
... lting stream ends when that incoming stream ends. ( var a, b; a = Psetp (\freq, Pseq([801, 1008],inf), Pbind ( \dur , Pseq([0.5, 0.111, 0.22]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) Psetp overrides incoming values: ( va ...
-
... mel = {-12.rand}!16 Pbindef(\b, \scale, Scale.hexMajor7) Pbindef(\b, \degree, Pseq(~mel,inf)) Pbindef(\b, \dur, 1/4) Pbindef(\b, \out, ~mbus).play(t, quant:4) // <----------------- ~mel2 = {-12.rand}!32 Pbindef(\b, \degree, Pseq(~mel2 ...
-
... Pbind(*[instrument: \Sinusoid, amp: hatAmp, group: sourceGroup, dur: Pseq([bar / beatsPerMeasure], beatsPerMeasure), freqArrayMult: Pxrand((1..12), inf), mod2Freq: Pwhite(60, 6000, inf), mod1FreqRLfoFreq: 0.01, ...
-
Pbindef(\cheapPiano1, \instrument, "cheapPiano1", \ctranspose, -8, \legato, Pseq([0.9, 0.5, 0.5, 0.9, 0.5, 0.5, 0.5, 0.5, 0.9, 0.9, 1], inf), \dur, Pseq([3/4, 1, 1/4, 1/16, 3/16, Pn(1/4, 4), 1/2, 1], inf), \degree, Pseq([[0, 2, 4], [0, 2, 6 ...
-
... nd, \instrument, "rubberBand", \ctranspose, -15, \dur, 1/5.5, \rel, 0.75, \amp, Pseq([Pn(Pseq([0.2, Pn(0.15, 7)]), 4), Pn(0.22, 3)]), \degree, Pseq([ 0, 7, 0, 7, 0, 7, 1, 5, -2, 5, -2, 6, -2, 7, -2, 5, -3, 6, -3, 6, -3, 4, 3, 5, -4, 5, -3, ...