Enum BiquadFilterType
- All Implemented Interfaces:
Comparable<BiquadFilterType>
The response of a
BiquadFilterNode. The coefficient formulas are the ones
the Web Audio specification gives, derived from the Audio EQ Cookbook.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPasses every frequency and shifts phase aroundfrequency.Second order band pass aroundfrequency;Qsets the width.Second order high pass;Qis the resonance in dB.Boosts or cuts frequencies abovefrequencybygaindB.Second order low pass;Qis the resonance in dB.Boosts or cuts frequencies belowfrequencybygaindB.Rejects a band aroundfrequency;Qsets the width.Boosts or cuts a band aroundfrequencybygaindB;Qsets the width. -
Method Summary
Modifier and TypeMethodDescriptionstatic BiquadFilterTypeReturns the enum constant of this type with the specified name.static BiquadFilterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
LOWPASS
Second order low pass;Qis the resonance in dB. -
HIGHPASS
Second order high pass;Qis the resonance in dB. -
BANDPASS
Second order band pass aroundfrequency;Qsets the width. -
LOWSHELF
Boosts or cuts frequencies belowfrequencybygaindB. -
HIGHSHELF
Boosts or cuts frequencies abovefrequencybygaindB. -
PEAKING
Boosts or cuts a band aroundfrequencybygaindB;Qsets the width. -
NOTCH
Rejects a band aroundfrequency;Qsets the width. -
ALLPASS
Passes every frequency and shifts phase aroundfrequency.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-