FBufferOnePoleLPF

Simple 1-pole lowpass filter.

Windows
MacOS
Linux

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

Name Description

Protected variable

float

 

A0

Protected variable

float

 

B1

Filter coefficients.

Protected variable

float

 

CutoffFrequency

Protected variable

float

 

Z1

1-sample delay

Constructors

Name Description

Public function

FBufferOnePoleLPF

(
    float InG
)

Constructor.

Functions

Name Description

Public function

void

 

ProcessAudio

(
    const AlignedFloatBuffer& InSample...,
    AlignedFloatBuffer& OutSamples
)

Process InSamples and place filtered audio in OutSamples.

Public function

void

 

Reset()

Resets the sample delay to 0.

Public function

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)

Public function

void

 

SetG

(
    float InG
)

Set the LPF gain coefficient.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss