[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Pdef swap - one extra event



hi julian, list,
why does this play one extra overlapping note after replacing the pbind? i'm trying to do a quick swap half-a-beat before each section (~length long).

s.boot;
(
~length= 4;
t= TempoClock(2);
Pdef(\main).quant_([~length, 0.5, 0]);
r= Routine{
	inf.do{
		"swap".postln;
		Pdef(\main, Pbind(\freq, 400.rrand(800), \legato, 0.1));
		~length.wait;
	};
};
)
(
r.play(t, ~length);
Pdef(\main).play(t);
)



  #|
     fredrikolofsson.com     klippav.org     musicalfieldsforever.com
  |#