Closed atamocius closed 4 months ago
Thanks for reporting this. The patch player caches the current patch transport state to avoid sending multiple messages when nothing has changed. It's state was not being reset when the patch was reset, so the patch was not receiving these events after reset. I've fixed this, and it'll be included in the next release.
When running a patch within VSCode, if the patch has input events for the
TimeSignature
andTempo
objects, and theReset patch
button is clicked,Tempo.bpm
,TimeSignature.numerator
, andTimeSignature.denominator
all become0
(along with every member method returning0
, andInfinity
forTimeSignature.quarterNotePerBeat
because of thedenominator
being0
).Used this code to check:
Output on first run of the patch:
Output right after clicking
Reset patch
: