FWaveShaper

A digital wave shaping effect to cause audio distortion [https://en.wikipedia.org/wiki/Waveshaper](https://en.wikipedia.org/wiki/Waveshaper)

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/WaveShaper.h"

Syntax

class FWaveShaper

Remarks

A digital wave shaping effect to cause audio distortion https://en.wikipedia.org/wiki/Waveshaper

Constructors

Name Description

Public function

FWaveShaper()

Constructor.

Destructors

Name Description

Public function

~FWaveShaper()

Destructor.

Functions

Name Description

Public function

void

 

Init

(
    const float InSampleRate
)

Initialize the equalizer.

Public function

void

 

ProcessAudio

(
    const float InSample,
    float& OutSample
)

Processes the audio frame (audio frame must have channels equal to that used during initialization)

Public function

void

 

SetAmount

(
    const float InAmount
)

Sets the amount of wave shapping. 0.0 is no effect.

Public function

void

 

SetOutputGainDb

(
    const float InGainDb
)

Sets the output gain of the waveshaper.

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