High Shelf Filter
Overview
High shelf second-order IIR (Infinite Impulse Response) filter. All frequencies above the shelving frequency are either boosted or attenuated by the specified gain in decibels. This filter is embodied by the highshelf
class.
Declaration
struct highshelf : biquad
{
highshelf(double db_gain, frequency f, float sps, double q = 0.707);
void config(double db_gain, frequency f, float sps, double q = 0.707);
};
Expressions
In addition to valid expressions for biquad, highshelf
allows these expressions.
Notation
hs
-
Object of type
highshelf
. f
-
Object of type
frequency
. sps
-
Floating point value representing samples per second.
q
-
Q or quality factor.
g
-
gain (in decibels).
a [, b, c, d]
-
Required
a
, optionalb, c, d
.