Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/Filter.h |
Include |
#include "DSP/Filter.h" |
class FBiquadFilter
Biquad filter class which wraps a biquad filter struct Handles multi-channel audio to avoid calculating filter coefficients for multiple channels of audio.
Name | Description | ||
---|---|---|---|
|
float |
Bandwidth |
Current bandwidth/resonance of the filter. |
|
bEnabled |
Whether or not this filter is enabled (will bypass otherwise) |
|
|
FBiquad * |
Biquad |
Biquad filter objects for each channel. |
|
FilterType |
What kind of filter to use when computing coefficients. |
|
|
float |
Frequency |
Current frequency of the filter. |
|
float |
GainDB |
The gain of the filter in DB (for filters that use gain) |
|
NumChannels |
Number of channels in the filter. |
|
|
float |
SampleRate |
The sample rate of the filter. |
Name | Description | |
---|---|---|
|
FBiquadFilter() |
Constructor. |
Name | Description | |
---|---|---|
|
~FBiquadFilter() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
CalculateBiquadCoefficients() |
Function computes biquad coefficients based on current filter settings. |
|
|
float |
ClampCutoffFrequency ( |
Function used to clamp the cutoff frequency. |
|
GetNumChannels() |
Returns number of channels initialized with. |
|
|
Init ( |
Initialize the filter. |
|
|
ProcessAudio ( |
Process a buffer of audio. |
|
|
ProcessAudioFrame ( |
Processes a single frame of audio. |
|
|
Reset() |
Resets the filter state. |
|
|
SetBandwidth ( |
Sets the bandwidth (octaves) of the filter. |
|
|
SetEnabled ( |
Sets whether or no this filter is enabled (if disabled audio is passed through) |
|
|
SetFrequency ( |
Sets the filter frequency. |
|
|
SetGainDB ( |
Sets the gain of the filter in decibels. |
|
|
SetParams ( |
Sets all filter parameters with one function. |
|
|
SetType ( |
Sets the type of the filter to use. |