Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Lookahead limiter

DSP related issues, mathematics, processing and techniques

Re: Lookahead limiter

Postby nmakinen » Sun Sep 11, 2016 2:43 pm

KG_is_back wrote:Yes, it can be modified to calculate min, max and sum (average=sum/bufferSize).

Nice! So if you calculate the average of the buffer after "max from buffer" twice with half the window size, you should end up with a very smooth, accurate and cpu-efficient lookahead curve, as far as I'm concerned.

KG_is_back wrote:At the moment, the algorithm is implemented in a way, that buffer-size is fixed (determined at the first sample). To change toe buffer-size you need to reset the stream (with clear-audio prim) which clears all the buffers and data is lost in the process. I can modify the algorithm to have adjustable buffer-size on the fly, but it will be slightly less efficient. Originally I thought this fixed-size would not be an issue.

Oh, I didn't realize this. So it's really not a bug then, my bad!

In some cases you might want to change the buffer size on the fly without the glitches you get from the clear audio prim (e.g. automation), but generally speaking this is just a cosmetic thing, so clear audio does the trick just fine. Thanks!
nmakinen
 
Posts: 4
Joined: Fri Oct 28, 2011 5:31 am

Previous

Return to DSP

Who is online

Users browsing this forum: No registered users and 1 guest