I’ve made a midi player inside my plugin. It plays loops and plays fine for me.
But I have a problem with projects which have a tempo track.
Now I use timeInSeconds of AudioPlayHead::CurrentPositionInfo. But it works only with constant bpm.
Could you give me an idea of how can I sync it if the project has some tempo changes (tempo track)?