public static enum EQFilter.EQType extends Enum<EQFilter.EQType>
Enum Constant and Description |
---|
HPF
High pass filter
|
LPF
Low pass filter
|
Modifier and Type | Method and Description |
---|---|
abstract EQFilter.EQVars |
getCoefficients(double frequency,
double sampleRate)
Initialise the filter
|
static EQFilter.EQType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EQFilter.EQType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EQFilter.EQType LPF
public static final EQFilter.EQType HPF
public static EQFilter.EQType[] values()
for (EQFilter.EQType c : EQFilter.EQType.values()) System.out.println(c);
public static EQFilter.EQType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract EQFilter.EQVars getCoefficients(double frequency, double sampleRate)
frequency
- The frequency of the filtersampleRate
- The sample rate of the samples