OpenShot Audio Library | OpenShotAudio
0.3.2
|
#include <juce_FIRFilter.h>
Public Types | |
using | Ptr = ReferenceCountedObjectPtr< Coefficients > |
![]() | |
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 |
![]() | |
void | incReferenceCount () noexcept |
void | decReferenceCount () noexcept |
bool | decReferenceCountWithoutDeleting () noexcept |
int | getReferenceCount () const noexcept |
Public Attributes | |
Array< NumericType > | coefficients |
Additional Inherited Members | |
![]() | |
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 220 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 240 of file juce_FIRFilter.h.
|
inline |
Creates a null set of coefficients (which will produce silence).
Definition at line 224 of file juce_FIRFilter.h.
|
inline |
Creates a null set of coefficients of a given size.
Definition at line 227 of file juce_FIRFilter.h.
|
inline |
Creates a set of coefficients from an array of samples.
Definition at line 230 of file juce_FIRFilter.h.
|
inlinenoexcept |
Returns the filter order associated with the coefficients.
Definition at line 244 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 272 of file juce_FIRFilter.h.
|
inlinenoexcept |
Returns a raw data pointer to the coefficients.
Definition at line 269 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 282 of file juce_FIRFilter.h.
Referenced by juce::dsp::FIR::Coefficients< NumericType >::Coefficients(), juce::dsp::FIR::Coefficients< NumericType >::getFilterOrder(), and juce::dsp::FIR::Coefficients< NumericType >::getRawCoefficients().