#include <juce_StateVariableFilter.h>
|
NumericType | g = static_cast<NumericType> (std::tan (double_Pi * 200.0 / 44100.0)) |
|
NumericType | h = static_cast<NumericType> (1.0 / (1.0 + R2 * g + g * g)) |
|
NumericType | R2 = static_cast<NumericType> (std::sqrt (2.0)) |
|
Type | type = Type::lowPass |
| The type of the IIR filter. More...
|
|
◆ Ptr
template<typename NumericType>
The Coefficients structure is ref-counted, so this is a handy type that can be used as a pointer to one.
◆ Type
template<typename NumericType>
Enumerator |
---|
lowPass | |
bandPass | |
highPass | |
◆ Parameters() [1/2]
template<typename NumericType>
◆ Parameters() [2/2]
template<typename NumericType>
◆ decReferenceCount()
void ReferenceCountedObject::decReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will be deleted.
References jassert.
◆ decReferenceCountWithoutDeleting()
bool ReferenceCountedObject::decReferenceCountWithoutDeleting |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.
References jassert.
◆ getReferenceCount()
int ReferenceCountedObject::getReferenceCount |
( |
| ) |
const |
|
inlinenoexceptinherited |
Returns the object's current reference count.
◆ incReferenceCount()
void ReferenceCountedObject::incReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
Increments the object's reference count.
This is done automatically by the smart pointer, but is public just in case it's needed for nefarious purposes.
◆ operator=()
template<typename NumericType>
◆ resetReferenceCount()
void ReferenceCountedObject::resetReferenceCount |
( |
| ) |
|
|
inlineprotectednoexceptinherited |
Resets the reference count to zero without deleting the object.
You should probably never need to use this!
◆ setCutOffFrequency()
template<typename NumericType>
void StateVariableFilter::Parameters< NumericType >::setCutOffFrequency |
( |
double |
sampleRate, |
|
|
NumericType |
frequency, |
|
|
NumericType |
resonance = static_cast<NumericType> (1.0 / std::sqrt (2.0)) |
|
) |
| |
|
inlinenoexcept |
Sets the cutoff frequency and resonance of the IIR filter.
Note : the bandwidth of the resonance increases with the value of the parameter. To have a standard 12 dB/octave filter, the value must be set at 1 / sqrt(2).
References double_Pi.
template<typename NumericType>
template<typename NumericType>
◆ R2
template<typename NumericType>
◆ type
template<typename NumericType>
The type of the IIR filter.
The documentation for this struct was generated from the following file: