Variable-Length Step Sequencer in FMOD

Calling all FMOD Wizards!! I'm stumped. For fun, I am creating a variable-length step sequencer in FMOD and I've run into a problem that I can't solve. If you've got the time, watch the video below and let me know if you have an idea of how to solve this issue. Thanks wigglers!