Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/TapDelayPitchShifter.h |
| Include | #include "DSP/TapDelayPitchShifter.h" |
Syntax
class FTapDelayPitchShifter
Remarks
Class which reads doppler-shifted tap from a delay buffer.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init
(
const float InSampleRate, |
Initialization of the internal delay with given sample rate, pitch shift in semitones, and delay length in milliseconds. | |
| void | ProcessAudio
(
Audio::FDelay& InDelayBuffer, |
Process whole block of audio reading to and writing from delay line from input buffer. | |
| float | ReadDopplerShiftedTapFromDelay
(
const Audio::FDelay& InDelayBuffer, |
Reads the next sample tap from the input delay buffer. | |
| void | SetDelayLength
(
const float InDelayLength |
Sets the internal delay line length. | |
| void | SetPitchShift
(
const float InPitchScaleSemitones |
Sets the pitch shift in semitones. | |
| void | SetPitchShiftRatio
(
const float InPitchShiftRatio |
Sets the pitch shift in terms of a sample rate ratio. |
Constants
| Name | Description |
|---|---|
| MaxAbsPitchShiftInOctaves | |
| MaxDelayLength | |
| MinDelayLength |