FFoldbackDistortion

Foldback distortion effect [https://en.wikipedia.org/wiki/Foldback_(power_supply_design)](https://en.wikipedia.org/wiki/Foldback_(power_supply_design))

Choose your operating system:

Windows

macOS

Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/FoldbackDistortion.h"

Syntax

class FFoldbackDistortion

Remarks

Constructors

Name Description

Public function

FFoldbackDistortion()

Constructor.

Destructors

Name Description

Public function

~FFoldbackDistortion()

Destructor.

Functions

Name Description

Public function

void

 

Init

(
    const float InSampleRate,
    const int32 InNumChannels
)

Initialize the equalizer.

Public function

void

 

ProcessAudio

(
    const float* InBuffer,
    const int32 InNumSamples,
    float* OutBuffer
)

Processes a stereo stream.

Public function

void

 

ProcessAudioFrame

(
    const float* InFrame,
    float* OutFrame
)

Processes a mono stream.

Public function

float

 

ProcessAudioSample

(
    const float InSample
)

Processes a single audio sample.

Public function

void

 

SetInputGainDb

(
    const float InInputGainDb
)

Sets the input gain.

Public function

void

 

SetOutputGainDb

(
    const float InOutputGainDb
)

Sets the output gain.

Public function

void

 

SetThresholdDb

(
    const float InThresholdDb
)

Sets the foldback distortion threshold.