Is it possible to change the number of notes for a measure in a Quartz clock without changing the duration of the measure?

So, I’m making a rhythm game (a Beatmania clone), which has a compositional component where you can play back a sample based composed track as part of the BGM. Composers are able to specify the number of notes that go off for a given measure to create complex rhythms, without affecting the overall duration of the measure calculated from the measure’s Time Signature and BPM.

Quartz exposes variables for the Number of Beats and Beat Type, which I assumes is meant to declare a time signature (setting Number of Beats to 3 and Beat Type to /4 would give 3/4 time, which fires 3 events at quarter note duration). Is it possible to adjust the number of notes in a bar without changing the duration of the measure? Essentially something like the following:

1 Like