Navigation
API > API/Runtime > API/Runtime/SignalProcessing
A digital wave shaping effect to cause audio distortion https://en.wikipedia.org/wiki/Waveshaper
| Name | FWaveShaper |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/WaveShaper.h |
| Include Path | #include "DSP/WaveShaper.h" |
Syntax
class FWaveShaper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWaveShaper() |
Constructor. | DSP/WaveShaper.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FWaveShaper() |
Destructor. | DSP/WaveShaper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Amount | float | DSP/WaveShaper.h | ||
| Bias | float | DSP/WaveShaper.h | ||
| OneOverAtanAmount | float | DSP/WaveShaper.h | ||
| OneOverTanhAmount | float | DSP/WaveShaper.h | ||
| OutputGain | float | DSP/WaveShaper.h | ||
| Type | EWaveShaperType | DSP/WaveShaper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const float InSampleRate |
Initialize the equalizer. | DSP/WaveShaper.h | |
void ProcessAudio
(
const float InSample, |
Processes one Sample, using ATan Deprecating in favor of ProcessAudioBuffer | DSP/WaveShaper.h | |
void ProcessAudioBuffer
(
const float* InBuffer, |
Process an entire buffer of audio. | DSP/WaveShaper.h | |
void SetAmount
(
const float InAmount |
Sets the amount of wave shapping. 0.0 is no effect. | DSP/WaveShaper.h | |
void SetBias
(
const float InBias |
Set DC offset before processing. | DSP/WaveShaper.h | |
void SetOutputGainDb
(
const float InGainDb |
Sets the output gain of the waveshaper. | DSP/WaveShaper.h | |
void SetOutputGainLinear
(
const float InGainLinear |
Sets the output gain of the waveshaper. | DSP/WaveShaper.h | |
void SetType
(
const EWaveShaperType InType |
DSP/WaveShaper.h |