plugdata-team / plugdata

Pure Data as a plugin, with a new GUI
https://plugdata.org
GNU General Public License v3.0
1.46k stars 62 forks source link

[bug] / missing: vst3 plugin delay compensation (on Mac) #1727

Open jayrope opened 2 months ago

jayrope commented 2 months ago

Testing in Reaper and Logic Audio on Mac (13.6.) for both applications.

plugdata-fx vst3 doesn't return it's processing delay (64bits here) to the host, so that all plugin processing runs late. I suppose, that the info is not passed on in your vst3 compiler.

Tested with a patch containing only [adc~]-->[dac~] with normal phase versus original audio, phase reversed.

Inserting a sample delay of 64bits into the original audio track solves it, the result of the counter phase test is at least inaudible under high volumes, i have not rendered an audio file from this to check if it is exactly zero, though.

Beyond the problem reported here this could mean good news in that the audio engine of the plugin shell is likely to have no major issues of its own.

@timothyschoen

jayrope commented 1 month ago

Bump. Just to add to this: It would be lovely to be able to use this with programs, that only support two inputs - as this would allow for custom processing in mastering. *hint