#include <juce_StateVariableFilter.h>

Public Types | |
| using | NumericType = typename SampleTypeHelpers::ElementType< SampleType >::Type |
| The NumericType is the underlying primitive type used by the SampleType (which could be either a primitive or vector) More... | |
Public Member Functions | |
| Filter () | |
| Creates a filter with default parameters. More... | |
| Filter (Parameters< NumericType > *paramtersToUse) | |
| Filter (const Filter &)=default | |
| Creates a copy of another filter. More... | |
| Filter (Filter &&)=default | |
| Move constructor. More... | |
| void | prepare (const ProcessSpec &) noexcept |
| Initialization of the filter. More... | |
| template<typename ProcessContext > | |
| void | process (const ProcessContext &context) noexcept |
| SampleType JUCE_VECTOR_CALLTYPE | processSample (SampleType sample) noexcept |
| Processes a single sample, without any locking or checking. More... | |
| void | reset () noexcept |
| Resets the filter's processing pipeline. More... | |
Public Attributes | |
| Parameters< NumericType >::Ptr | parameters |
| The parameters of the state variable filter. More... | |
Private Member Functions | |
| template<typename Parameters< NumericType >::Type type> | |
| void | processBlock (const SampleType *input, SampleType *output, size_t n) noexcept |
| template<typename Parameters< NumericType >::Type type> | |
| SampleType JUCE_VECTOR_CALLTYPE | processLoop (SampleType sample, Parameters< NumericType > &state) noexcept |
Private Attributes | |
| SampleType | s1 |
| SampleType | s2 |
| std::array< SampleType, 3 > | y |
| using StateVariableFilter::Filter< SampleType >::NumericType = typename SampleTypeHelpers::ElementType<SampleType>::Type |
The NumericType is the underlying primitive type used by the SampleType (which could be either a primitive or vector)
|
inline |
Creates a filter with default parameters.
References StateVariableFilter::Filter< SampleType >::reset().
Referenced by StateVariableFilter::Filter< SampleType >::Filter().
|
inline |
|
default |
Creates a copy of another filter.
|
default |
Move constructor.
|
inlinenoexcept |
Initialization of the filter.
References StateVariableFilter::Filter< SampleType >::reset().
|
inlinenoexcept |
References jassert, and jassertfalse.
|
inlineprivatenoexcept |
|
inlineprivatenoexcept |
|
inlinenoexcept |
Processes a single sample, without any locking or checking.
Use this if you need processing of a single value.
References jassertfalse, and StateVariableFilter::Filter< SampleType >::parameters.
|
inlinenoexcept |
Resets the filter's processing pipeline.
References StateVariableFilter::Filter< SampleType >::s1, and StateVariableFilter::Filter< SampleType >::s2.
Referenced by StateVariableFilter::Filter< SampleType >::Filter(), and StateVariableFilter::Filter< SampleType >::prepare().
| Parameters<NumericType>::Ptr StateVariableFilter::Filter< SampleType >::parameters |
The parameters of the state variable filter.
It's up to the called to ensure that these parameters are modified in a thread-safe way.
Referenced by StateVariableFilter::Filter< SampleType >::processBlock(), and StateVariableFilter::Filter< SampleType >::processSample().
|
private |
|
private |
|
private |
Referenced by StateVariableFilter::Filter< SampleType >::processLoop().