Tracktion seems to work in the paradigm of a moving playhead over a stationary sequence of events. What I am trying to do is work on a paradigm where the events are relative to a stationary playhead. In other words, instead of saying “play this note at t = 10 seconds”, I want to say, “play this note 3 seconds in the future”. This means that I need to convert the time relative time to absolute time, by doing something like edit.tempoSequence.timeToBeats(transport.getCurrentPosition() + delay);.
It works perfectly well, until the delays get small. Then I’m hitting the point where the MidiClip doesn’t see the note any more.
(Note that this all stems from a previous discussion, where you had suggested using Tracktion to handle the timing for my sequencer).
The “previewing live” option sounds interesting. Can you say a bit more about how this would work?