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
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Lookahead limiter
16 posts
• Page 2 of 2 • 1, 2
Re: Lookahead limiter
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: 5
- Joined: Fri Oct 28, 2011 5:31 am
Re: Lookahead limiter
KG_is_back wrote:nmakinen wrote:could the algorithm above be modified to calculate the average of the buffer as well?
Yes, it can be modified to calculate min, max and sum (average=sum/bufferSize).nmakinen wrote:There still seems to be a minor issue. Sometimes when you change the window size on the fly when audio is put through, it loses all the information below a certain level (which seems to be random every time). Hard to explain, so I've attached an image about the problem.
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.
Hello KG...
Cry for help here:
I need this in the 'min' version for determin the Dynamic Loudness in LU.
I'm inexperienced in ASM coding - so please hava a look...
Thanks again
Walter
-
Walter Sommerfeld - Posts: 249
- Joined: Wed Jul 14, 2010 6:00 pm
- Location: HH - Made in Germany
Re: Lookahead limiter
3 years since KG's last post. Not sure if he's (hopefully) coming back some time.
@Walter: Do you just need a sliding min instead of sliding max, or are you referring to the "change of window size on the fly"?
@Walter: Do you just need a sliding min instead of sliding max, or are you referring to the "change of window size on the fly"?
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Lookahead limiter
Hi Martin,
i didn't realize that he is ghosting like me for a long time...
Yup - I just need a sliding min instead.
Cheers
Walter
i didn't realize that he is ghosting like me for a long time...
Yup - I just need a sliding min instead.
Cheers
Walter
-
Walter Sommerfeld - Posts: 249
- Joined: Wed Jul 14, 2010 6:00 pm
- Location: HH - Made in Germany
Sliding Window Max/Min
Here you go!
- Attachments
-
- slidingWindowMaxMin.fsm
- (6.8 KiB) Downloaded 627 times
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Lookahead limiter
Awesome Martin,
thanks again for this quick solution
Have a nice week!
Walter
thanks again for this quick solution
Have a nice week!
Walter
-
Walter Sommerfeld - Posts: 249
- Joined: Wed Jul 14, 2010 6:00 pm
- Location: HH - Made in Germany
16 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 2 guests