|
OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_FIRFilter.h>
Public Types | |
| using | Ptr = ReferenceCountedObjectPtr<Coefficients> |
Public Types inherited from juce::dsp::ProcessorState | |
| using | Ptr = ReferenceCountedObjectPtr<ProcessorState> |
Public Member Functions | |
| Coefficients () | |
| Coefficients (size_t size) | |
| Coefficients (const NumericType *samples, size_t numSamples) | |
| Coefficients (const Coefficients &)=default | |
| Coefficients (Coefficients &&)=default | |
| Coefficients & | operator= (const Coefficients &)=default |
| Coefficients & | operator= (Coefficients &&)=default |
| size_t | getFilterOrder () const noexcept |
| double | getMagnitudeForFrequency (double frequency, double sampleRate) const noexcept |
| void | getMagnitudeForFrequencyArray (double *frequencies, double *magnitudes, size_t numSamples, double sampleRate) const noexcept |
| double | getPhaseForFrequency (double frequency, double sampleRate) const noexcept |
| void | getPhaseForFrequencyArray (double *frequencies, double *phases, size_t numSamples, double sampleRate) const noexcept |
| NumericType * | getRawCoefficients () noexcept |
| const NumericType * | getRawCoefficients () const noexcept |
| void | normalise () noexcept |
Public Member Functions inherited from juce::ReferenceCountedObject | |
| void | incReferenceCount () noexcept |
| void | decReferenceCount () noexcept |
| bool | decReferenceCountWithoutDeleting () noexcept |
| int | getReferenceCount () const noexcept |
Public Attributes | |
| Array< NumericType > | coefficients |
Additional Inherited Members | |
Protected Member Functions inherited from juce::ReferenceCountedObject | |
| ReferenceCountedObject ()=default | |
| ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
| ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
| ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
| ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
| virtual | ~ReferenceCountedObject () |
| void | resetReferenceCount () noexcept |
A set of coefficients for use in an FIRFilter object.
Definition at line 213 of file juce_FIRFilter.h.
| using juce::dsp::FIR::Coefficients< NumericType >::Ptr = ReferenceCountedObjectPtr<Coefficients> |
The Coefficients structure is ref-counted, so this is a handy type that can be used as a pointer to one.
Definition at line 233 of file juce_FIRFilter.h.
|
inline |
Creates a null set of coefficients (which will produce silence).
Definition at line 217 of file juce_FIRFilter.h.
|
inline |
Creates a null set of coefficients of a given size.
Definition at line 220 of file juce_FIRFilter.h.
|
inline |
Creates a set of coefficients from an array of samples.
Definition at line 223 of file juce_FIRFilter.h.
|
inlinenoexcept |
Returns the filter order associated with the coefficients.
Definition at line 237 of file juce_FIRFilter.h.
|
noexcept |
Returns the magnitude frequency response of the filter for a given frequency and sample rate.
|
noexcept |
Returns the magnitude frequency response of the filter for a given frequency array and sample rate.
|
noexcept |
Returns the phase frequency response of the filter for a given frequency and sample rate.
|
noexcept |
Returns the phase frequency response of the filter for a given frequency array and sample rate.
|
inlinenoexcept |
Returns a raw data pointer to the coefficients.
Definition at line 265 of file juce_FIRFilter.h.
|
inlinenoexcept |
Returns a raw data pointer to the coefficients.
Definition at line 262 of file juce_FIRFilter.h.
|
noexcept |
Scales the values of the FIR filter with the sum of the squared coefficients.
| Array<NumericType> juce::dsp::FIR::Coefficients< NumericType >::coefficients |
The raw coefficients. You should leave these numbers alone unless you really know what you're doing.
Definition at line 275 of file juce_FIRFilter.h.
Referenced by juce::dsp::FIR::Coefficients< NumericType >::Coefficients(), juce::dsp::FIR::Coefficients< NumericType >::getFilterOrder(), juce::dsp::FIR::Coefficients< NumericType >::getRawCoefficients(), and juce::dsp::FIR::Coefficients< NumericType >::getRawCoefficients().