FAdaptiveFilter

This filter takes a precomputed set of FIR weights in the frequency domain, and linearly converges to it.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/VoiceProcessing.h"

Syntax

class FAdaptiveFilter

Remarks

This filter takes a precomputed set of FIR weights in the frequency domain, and linearly converges to it. If no new weights are given and we've converged to our previous input weights, this works like a normal FFT-based FIR filter. Convergence is non-asymptotic: if no new weights are given after our number of steps until convergence, our filter is using the exact weights given.

Constructors

Name Description

Public function

FAdaptiveFilter

(
    int32 FilterLength,
    int32 AudioCallbackSize
)

Functions

Name Description

Public function

void

 

ProcessAudio

(
    float* InAudio,
    int32 NumSamples
)

Applies current filter to InAudio in-place.

Public function

void

 

SetWeights

(
    const FrequencyBuffer& InFilterWei...,
    int32 FilterLength,
    float InLearningRate
)

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