FInterpolatedHPF

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/InterpolatedOnePole.h"

Syntax

class FInterpolatedHPF

Constructors

Name Description

Public function

FInterpolatedHPF()

Ctor

Functions

Name Description

Public function

void

 

ClearMemory()

Clears memory without reevaluating coefficients.

Public function Const

float

 

GetCutoffFrequency()

Public function

void

 

Init

(
    float InSampleRate,
    int32 InNumChannels
)

Public function

void

 

ProcessAudioBuffer

(
    float*restrict InputBuffer,
    float*
restrict OutputBuffer,
    const int32 NumSamples
)

Interpolates coefficient and processes a buffer

Public function

void

 

ProcessAudioFrame

(
    float*restrict InputFrame,
    float*
restrict OutputFrame
)

Interpolates coefficient and processes a sample

Public function

void

 

Reset()

Resets the sample delay to 0.

Public function

void

 

StartFrequencyInterpolation

(
    const float InTargetFrequency,
    const int32 InterpLength
)

StartFrequencyInterpolation(): Intended use: call once at the beginning of callback, pass the callback length then call ProcessAudioFrame() exactly "InterpLength" number of times At the end of the callback, call StopFrequencyInterpolation()

Public function

void

 

StopFrequencyInterpolation()

StopFrequencyInterpolation() needs to be called manually when the interpolation should be done.

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