FOnePoleLPFBank

One pole LPF filter for multiple channels

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/OnePole.h

Include

#include "DSP/OnePole.h"

Syntax

class FOnePoleLPFBank

Remarks

One pole LPF filter for multiple channels

Variables

Name Description

Protected variable

float

 

A0

Protected variable

float

 

B1

Protected variable

float

 

CutoffFrequency

Protected variable

float *

 

DelayPtr

Protected variable

int32

 

NumChannels

Protected variable

int32

 

SampleRate

Protected variable

TArray< float >

 

Z1

Constructors

Name Description

Public function

FOnePoleLPFBank()

Functions

Name Description

Public function

void

 

ClearMemory()

Clears memory without reevaluating coefficients. This function is useful when there is a break between ProcessAudio calls.

Public function

void

 

Init

(
    int32 InSampleRate,
    int32 InNumChannels
)

Public function

void

 

ProcessAudio

(
    float* InputFrame,
    float* OutputFrame
)

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