Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
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
| Type | Name | Description | |
|---|---|---|---|
FWaveShaper () |
Constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FWaveShaper () |
Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init
(
const float InSampleRate |
Initialize the equalizer. | |
| void | ProcessAudio
(
const float InSample, |
Processes one Sample, using ATan Deprecating in favor of ProcessAudioBuffer | |
| void | ProcessAudioBuffer
(
const float* InBuffer, |
Process an entire buffer of audio. | |
| void | SetAmount
(
const float InAmount |
Sets the amount of wave shapping. 0.0 is no effect. | |
| void | SetBias
(
const float InBias |
Set DC offset before processing. | |
| void | SetOutputGainDb
(
const float InGainDb |
Sets the output gain of the waveshaper. | |
| void | SetOutputGainLinear
(
const float InGainLinear |
Sets the output gain of the waveshaper. | |
| void | SetType
(
const EWaveShaperType InType |