Newbie: what is the unit of .wait and can it be changed?

Hi eddi,

thanks for the answer. Changing the tempo of the clock the routine is running on is what I am struggling with. I learned to use Pbind(PATTERNDATA).play(TempoClock(2)); to set the tempo. So I tried it on wait like this:

(
{
Pbind(
	\degree, Pseq([0 ,1 ,2 ,3 ,4 ,5 ,6 ,7]),
	\dur, 1
).play(TempoClock(2));
	8.wait(TempoClock(4));
Pbind(
	\degree, Pseq([0 ,1 ,2 ,3 ,4 ,5 ,6 ,7]),
	\dur, 1
).play(TempoClock(2));
}.fork
)

But while this did not generate an error, it also does not matter which number I use for the TempoClock after wait.

So I put the TempoClock after fork:

(
{
Pbind(
	\degree, Pseq([0 ,1 ,2 ,3 ,4 ,5 ,6 ,7]),
	\dur, 1
).play(TempoClock(2));
	8.wait;
Pbind(
	\degree, Pseq([0 ,1 ,2 ,3 ,4 ,5 ,6 ,7]),
	\dur, 1
).play(TempoClock(2));
}.fork(TempoClock(4))
)

This worked, as I was now able to change the tempo base for wait. Is this the recommended way?

Also I am not sure if my understanding of the interaction of waitand Pbind().playis correct: The first play and the first wait seem to start at the same time, and after the first wait is over, the next play and wait pair start. Is this correct?

Thanks in advance!