[music-dsp] Look-ahead & buffering (sent to wrong list last time)
citizenchunk at nyc.rr.com
Fri Jan 23 10:02:01 EST 2004
(I sent this to the wrong list last time, so if it winds up getting there 3
times in the end, I'm sorry. Let's hope this works.)
Just a quick question about look-ahead limiting:
Am I correct to assume that look-ahead is essentially nothing more than
implementing a delay between the sample that you are "following" in your
envelope follower and the sample that you are processing in your gain
Envelope = f(x)
GainReduction = f(x-lookAhead)
So basically, the envelope that is calculated on the current sample (most
recent sample in the buffer) is sent to the gain reduction block, where it
determines the gain reduction for the oldest sample ( x - lookAhead ) in the
Basically, this is nothing more than a buffering problem, right?
The reason I ask is that, when I search for "look ahead" in the archives, I
get a bunch of what seems like, to me, overly complicated solutions to the
problem. Like one solution uses sorting to find the greatest level in the
buffer. Is that really necessary?
Well, take 'er easy guys! have a great weekend!
More information about the music-dsp