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