Hey there !

After listening to the wonderful Metrics album by Jonatan Liljedahl I decided to give Demand UGens a deeper look.

And I’m a bit confused. Could you help ?

```
(
{
var trig, snd, tempo, clock;
tempo = 1.0;
clock = Impulse.kr(tempo);
trig = Demand.kr(clock, 0, Dseq([tempo, tempo],repeats: inf));
snd = Impulse.ar(trig);
snd.lag;
}.plot(5)
)
```

gives what I expected

```
(
{
var trig, snd, tempo, clock;
tempo = 1.0;
clock = Impulse.kr(tempo);
trig = Demand.kr(clock, 0, Dseq([tempo * 2, tempo],repeats: inf));
snd = Impulse.ar(trig);
snd.lag;
}.plot(5)
)
```

gives me also what I expected

But

```
(
{
var trig, snd, tempo, clock;
tempo = 1.0;
clock = Impulse.kr(tempo);
trig = Demand.kr(clock, 0, Dseq([tempo / 2, tempo],repeats: inf));
snd = Impulse.ar(trig);
snd.lag;
}.plot(5)
)
```

gives me

and I’m really puzzled, because I would have thought I would get a trigger at 0, then at 2s, then at 3s, then at 5s.

Any clue ?

Thanks in advance !