mtytel / helm

Helm - a free polyphonic synth with lots of modulation
http://tytel.org/helm
GNU General Public License v3.0
2.35k stars 201 forks source link

LV2: Step sequencer loses sync if tempo changes in song #238

Open terminator356 opened 4 years ago

terminator356 commented 4 years ago

Hello. Wondering if you could clarify how Helm uses the LV2 TimePosition. In MusE I pass a full complement of all LV2 TimePosition properties including bar, beat, barBeat, frame, unit, samplerate etc. I even correct the info for latency so that it is in sync with the audio output. But as time goes on, if there is even one tempo change in the song, the sequencer loses sync. Same result in QTractor. I'm guessing but it seems that Helm might use the current frame and tempo to determine current bar and beat, which I think would be incorrect if a tempo change had occurred before a given frame had been reached. Does that sound correct? Is there anything that we can change host side to correct this? Thanks. Tim.