Look ahead for zero latency?

This is not for live playing but for processing of pre-recorded audio. I am thinking if it would be possible, or if it actually already exists, to look ahead a few samples so that generated MIDI commands are perfectly in-sync with input audio.

most daws can adapt to this situation using pre-delay or some other kind of compensation.

are you converting audio to midi for later processing? or are you trying to do some kind of real time thing?

this is not for real time. the idea is to record audio to a daw and then apply MD3 VST plugin to process the recorded audio.

i think i could do this in ableton without making any special arrangements.

you could also save a step and do the midi conversion at the same time as you record the initial audio.

i assume you’ve tried this and the midi track is not in sync? which daw are you using?

Plugins can report their latency to the host, so the host can compensate for it. I am sure VST3 csan do this. So it could be added, for playback compensation.
In the meantime, just notching the audio about 40 ms to the left will do the trick

Yep, exactly, manual shifting is not that hard.