Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/BufferOnePoleLPF.h |
| Include | #include "DSP/BufferOnePoleLPF.h" |
Syntax
class FBufferOnePoleLPF
Remarks
Simple 1-pole lowpass filter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | A0 | ||
| float | B1 | Filter coefficients. | |
| float | CutoffFrequency | ||
| float | Z1 | 1-sample delay |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FBufferOnePoleLPF
(
float InG |
Constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FlushAudio () |
Resets the audio to silence. | |
| void | ProcessAudio
(
const FAlignedFloatBuffer& InSamples, |
Process InSamples and place filtered audio in OutSamples. | |
| void | Reset () |
Resets the sample delay to 0. | |
| void | SetFrequency
(
const float InFrequency |
Sets the filter frequency using normalized frequency (between 0.0 and 1.0f or 0.0 hz and Nyquist Frequency in Hz) | |
| void | SetG
(
float InG |
Set the LPF gain coefficient. |