Second-order low-shelf filter (BiQuad DF2). Boosts or cuts frequencies below the shelf frequency by the specified gain (in dB) while leaving higher frequencies unchanged. Commonly used in tone controls and equalization. Coefficients are derived from the Audio EQ Cookbook.
More...
template<
typename T>
class audio_tools::LowShelfFilter< T >
Second-order low-shelf filter (BiQuad DF2). Boosts or cuts frequencies below the shelf frequency by the specified gain (in dB) while leaving higher frequencies unchanged. Commonly used in tone controls and equalization. Coefficients are derived from the Audio EQ Cookbook.
- Parameters
-
| frequency | shelf transition frequency in Hz |
| sampleRate | sample rate in Hz |
| gain | boost/cut in dB (positive = boost, negative = cut) |
| slope | shelf slope (default 1.0; values < 1.0 give a gentler slope) |
- Author
- pschatzmann
- Copyright
- GNU General Public License v3.0
- Template Parameters
-
| T | sample type (use float or double) |