COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 06-10-2020, 12:18 AM   #1
vasyan
Human being with feelings
 
vasyan's Avatar
 
Join Date: Oct 2019
Location: Sayan Mountains, Siberia
Posts: 22
Default IPlugConvoEngine Latency Compensation

How to provide latency compensation in IPlugConvoEngine, with a IR in which the peak is in the center?

Such IR is used here:


The pulse peak is located in the center, for example, at 1024 samples, respectively, the total pulse length is 2048 samples.


In method
Code:
int SetImpulse(WDL_ImpulseBuffer* impulse, int maxfft_size = 0, int known_blocksize = 0, int max_imp_size = 0, int impulse_offset = 0, int latency_allowed = 0);
There are a lot of default parameters, and I got confused about what and where to specify to compensate for the delay of this IR, given that I did not find a reference manual for this method.

Please help me figure out a solution to this problem.
vasyan is offline   Reply With Quote
Old 10-18-2020, 05:52 PM   #2
Ric Vega
Human being with feelings
 
Join Date: May 2020
Posts: 19
Default

I don't think you can. If it's possible, crop the zeroes from the left side of the impulse. There is no reason to have them there in the first place, and their only effect is to delay the output.
Ric Vega is offline   Reply With Quote
Old 10-18-2020, 11:55 PM   #3
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

You could report the delay to the host (probably by setting PLUG_LATENCY in resource.h), so it can delay all other audio.
Tale is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.