Navigation
API > API/Runtime > API/Runtime/SignalProcessing
Equalizer filter An equalizer is a cascaded (serial) band of parametric EQs This filter allows for setting each band with variable Bandwidth/Q, Frequency, and Gain
| Name | FEqualizer |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/EQ.h |
| Include Path | #include "DSP/EQ.h" |
Syntax
class FEqualizer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEqualizer() |
Constructor. | DSP/EQ.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FEqualizer() |
Destructor. | DSP/EQ.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FilterBands | TArray< FBiquadFilter > | The array of biquad filters. | DSP/EQ.h | |
| NumChannels | int32 | The number of channels in the equalizer. | DSP/EQ.h | |
| WorkBuffer | TArray< float > | Temporary array for processing audio. | DSP/EQ.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const float InSampleRate, |
Initialize the equalizer. | DSP/EQ.h | |
void ProcessAudioFrame
(
const float* InAudio, |
Processes the audio frame (audio frame must have channels equal to that used during initialization) | DSP/EQ.h | |
void SetBandBandwidth
(
const int32 InBand, |
Sets the band resonance (use alternatively to bandwidth) | DSP/EQ.h | |
void SetBandEnabled
(
const int32 InBand, |
Sets whether or not the band is enabled. | DSP/EQ.h | |
void SetBandFrequency
(
const int32 InBand, |
Sets the band frequency. | DSP/EQ.h | |
void SetBandGainDB
(
const int32 InBand, |
Sets the band gain in decibels. | DSP/EQ.h | |
void SetBandParams
(
const int32 InBand, |
Sets all params of the band at once. | DSP/EQ.h |