An IIR filter that can perform low, high, or band-pass filtering on an audio signal.  
 More...
#include <juce_IIRFilter.h>
|  | 
|  | IIRFilterBase () noexcept | 
|  | Creates a filter. 
 | 
|  | 
|  | IIRFilterBase (const IIRFilterBase &) noexcept | 
|  | Creates a copy of another filter. 
 | 
|  | 
| void | makeInactive () noexcept | 
|  | Clears the filter so that any incoming data passes through unchanged. 
 | 
|  | 
| void | setCoefficients (const IIRCoefficients &newCoefficients) noexcept | 
|  | Applies a set of coefficients to this filter. 
 | 
|  | 
| IIRCoefficients | getCoefficients () const noexcept | 
|  | Returns the coefficients that this filter is using. 
 | 
|  | 
| void | reset () noexcept | 
|  | Resets the filter's processing pipeline, ready to start a new stream of data. 
 | 
|  | 
| void | processSamples (float *samples, int numSamples) noexcept | 
|  | Performs the filter operation on the given set of samples. 
 | 
|  | 
| float | processSingleSampleRaw (float sample) noexcept | 
|  | Processes a single sample, without any locking or checking. 
 | 
|  | 
template<typename Mutex>
class IIRFilterBase< Mutex >
An IIR filter that can perform low, high, or band-pass filtering on an audio signal. 
- See also
- IIRCoefficient, IIRFilterAudioSource 
◆ IIRFilterBase() [1/2]
template<typename Mutex > 
 
Creates a filter. 
Initially the filter is inactive, so will have no effect on samples that you process with it. Use the setCoefficients() method to turn it into the type of filter needed. 
 
 
◆ IIRFilterBase() [2/2]
template<typename Mutex > 
 
Creates a copy of another filter. 
 
 
◆ makeInactive()
template<typename Mutex > 
 
Clears the filter so that any incoming data passes through unchanged. 
 
 
◆ setCoefficients()
template<typename Mutex > 
 
Applies a set of coefficients to this filter. 
 
 
◆ getCoefficients()
template<typename Mutex > 
 
Returns the coefficients that this filter is using. 
 
 
◆ reset()
template<typename Mutex > 
 
Resets the filter's processing pipeline, ready to start a new stream of data. 
Note that this clears the processing state, but the type of filter and its coefficients aren't changed. To put a filter into an inactive state, use the makeInactive() method. 
 
 
◆ processSamples()
template<typename Mutex > 
  
  | 
        
          | void IIRFilterBase< Mutex >::processSamples | ( | float * | samples, |  
          |  |  | int | numSamples ) |  | noexcept | 
 
Performs the filter operation on the given set of samples. 
 
 
◆ processSingleSampleRaw()
template<typename Mutex > 
  
  | 
        
          | float IIRFilterBase< Mutex >::processSingleSampleRaw | ( | float | sample | ) |  |  | noexcept | 
 
Processes a single sample, without any locking or checking. 
Use this if you need fast processing of a single value, but be aware that this isn't thread-safe in the way that processSamples() is. 
 
 
◆ operator=()
template<typename Mutex > 
 
 
◆ processLock
template<typename Mutex > 
 
 
◆ coefficients
template<typename Mutex > 
 
 
◆ v1
template<typename Mutex > 
 
 
◆ v2
template<typename Mutex > 
 
 
◆ active
template<typename Mutex > 
 
 
The documentation for this class was generated from the following file: