PmonoArtic(...).playExt doesn't handle rests correctly
PmonoArtic is fine with playExt, unless there are rests and rearticulations, in which case it loses track of notes, so they continue forever. To reproduce:
(
c = ExternalClock(TempoClock.default);
c.play;
s.waitForBoot({
PmonoArtic(
\default,
\legato, Prand([1.1, 0.8], inf),
\note, Prand((0..3) ++ [\rest, \rest, \rest], inf)
).playExt(c)
})
)
Is there a way that ExternalClock could become a subclass of TempoClock? (How does it differ from TempoBusClock?)
Thanks for the report, I'll take a look in a few days.
This is a naive thought, but I wonder if playExt is even really needed? If ExternalClock can change tempoclock (and I don't see where that actually happens), could both clocks be added as dependants of each other, so tempo changes would propagate from one to the other?
I'm terribly sorry, but I don't think I'll have time to investigate this.