werman / noise-suppression-for-voice

Noise suppression plugin based on Xiph's RNNoise
GNU General Public License v3.0
4.86k stars 230 forks source link

Latency changes between relaunches, no delay compensation #178

Open hoffor opened 1 year ago

hoffor commented 1 year ago

I really don't know how vst development works, but I know that most plugins support plugin delay compensation, meaning the plugin reports to the host how much latency it's generating at any given moment and the host can then adjust everything to be in sync according to that

This plugin doesn't do that for me, but that can easily be done manually (if it's the vst2 that is. The vst3 for some reason re-desyncs itself as i near toward a better sync latency offset...)

As for the vst2, the real issue is that this latency varies between restarts of the plugin or host. It doesn't seem to change over time during the session though. So i'll have to go and manually count samples to get the right latency every single time I restart my host

RNNoise absolutely works best when mixed with the raw (or in my case, still somewhat processed) voice audio, so layering them for live recording is a must for decent quality

Info: Windows 10, FL Studio 20.8.1, vst2 and vst3 tested v1.03 All 3 parameters are at 0 for me

AliTabaraie commented 1 year ago

I really don't know how vst development works, but I know that most plugins support plugin delay compensation, meaning the plugin reports to the host how much latency it's generating at any given moment and the host can then adjust everything to be in sync according to that

This plugin doesn't do that for me, but that can easily be done manually (if it's the vst2 that is. The vst3 for some reason re-desyncs itself as i near toward a better sync latency offset...)

As for the vst2, the real issue is that this latency varies between restarts of the plugin or host. It doesn't seem to change over time during the session though. So i'll have to go and manually count samples to get the right latency every single time I restart my host

RNNoise absolutely works best when mixed with the raw (or in my case, still somewhat processed) voice audio, so layering them for live recording is a must for decent quality

Info: Windows 10, FL Studio 20.8.1, vst2 and vst3 tested v1.03 All 3 parameters are at 0 for me

Could you please help me get the latency to 0? Could you please record what you do on FL Studio and send me the link if possible? I have no idea how to get the latency to 0. I wanna run some online classes and the latency totally mutes the first letter of every sentence I say! Thank you so much.

hoffor commented 1 year ago

it's not on topic... but it's a little button on the track itself in the mixer to add a positive or negative latency offset to sync it with the rest of the project. you sure it's not an issue with a noise gate threshold being too high?

for perfect sync i have to use 2 tracks, one with rnnoise and one without, hard pan one left and the other right and then play a sample through them while recording the output with a separate program, then inspect the difference between left and right channels in that program and apply the difference in samples in fl studio to the rnnoise track. all this every single time i relaunch my DAW or the plugin

but yeah I'd recommend asking maybe on an fl studio subreddit or something if you want to continue troubleshooting, not the place for it here

JiaChen-Zeng commented 1 week ago

Please I would also need plugin delay compensation