Ben
Well-known member
Hi,
I added support to configure biquad stages with shelving filter response: Link to GitHub.
The functions are
setLowShelf(stage, frequency, gain, slope);
and
setHighShelf(stage, frequency, gain, slope);
This picture describes what is what:
The frequency describes the slopes midpoint, the amplitude at this point is always (gain/2), independent of the slope parameter.
Gain is specified in dB and can be positive or negative.
The slope parameter configures how steep the change in amplitude will be, gain=1 is maximum steepness without overshoot/undershoot in the frequency response. gain < 1 is a less steep curve, gains > 1 have even steeper transitions at the specified frequency at the cost of over-/undershoot.
Ben
I added support to configure biquad stages with shelving filter response: Link to GitHub.
The functions are
setLowShelf(stage, frequency, gain, slope);
and
setHighShelf(stage, frequency, gain, slope);
This picture describes what is what:
The frequency describes the slopes midpoint, the amplitude at this point is always (gain/2), independent of the slope parameter.
Gain is specified in dB and can be positive or negative.
The slope parameter configures how steep the change in amplitude will be, gain=1 is maximum steepness without overshoot/undershoot in the frequency response. gain < 1 is a less steep curve, gains > 1 have even steeper transitions at the specified frequency at the cost of over-/undershoot.
Ben