Can someone explain me why the pseq is playing only the first 4 notes and not all 7?
//1. load synthdef
(
SynthDef.new(\sine3, {
arg freq=440, atk=0.005, rel=0.3, pan=0, amp=1;
var sig, env;
sig = SinOsc.ar(Saw.kr(freq).exprange(freq, freq*2));
env = EnvGen.kr(Env.new([0,1,0],[atk,rel],[1,-1]),doneAction:2);
sig = Pan2.ar(sig, pan, amp);
// reverb
sig = FreeVerb.ar(sig, 0.6, 0.9, 0.9);
sig = sig * env;
Out.ar(0, sig);
}).add;
)
//2. load/start tempo
t = TempoClock.new(60/60).permanent_(true).schedAbs(0, {t.beatsPerBar_(4) });
//3. start pbind
(
p = Pbind(
\instrument, \sine3,
\dur, 1.0,
\degree, Pseq([0, 1, 3, 4, 5, 7, 9], inf),
\atk, Pwhite(1.0, 2.0, inf),
\rel, Pwhite(3.0, 6.0, inf),
\pan, Pwhite(-0.8, 0.8, inf),
);
z = p.play(t, quant: 0);
)