Navigation
API > API/Runtime > API/Runtime/AudioMixer
| Name | FSoundWaveScrubberGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/AudioMixer/Classes/Generators/SoundWaveScrubber.h |
| Include Path | #include "Generators/SoundWaveScrubber.h" |
Syntax
class FSoundWaveScrubberGenerator : public ISoundGenerator
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumChannels | int32 | Generators/SoundWaveScrubber.h | ||
| SoundWaveScrubber | FSoundWaveScrubber | Generators/SoundWaveScrubber.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetDesiredNumSamplesToRenderPerCallback() |
Generators/SoundWaveScrubber.h | ||
void Init
(
FSoundWaveProxyPtr InSoundWaveProxyPtr, |
Generators/SoundWaveScrubber.h | ||
virtual bool IsFinished() |
Generators/SoundWaveScrubber.h | ||
virtual int32 OnGenerateAudio
(
float* OutAudio, |
~ISoundGenerator Begin | Generators/SoundWaveScrubber.h | |
void SetGrainDurationRange
(
const FVector2D& InGrainDurationRange |
Sets the grain duration range in seconds (clamped in range of of 0.01 to 0.5 seconds) The grain duration used during grain spawn is based the scrubbing speed. | Generators/SoundWaveScrubber.h | |
void SetIsScrubbing
(
bool bInIsScrubbing |
Sets whether or not to scrub the audio file. If false, then the output of the scrubber will be silence. | Generators/SoundWaveScrubber.h | |
void SetIsScrubbingWhileStationary
(
bool bInScrubWhileStationary |
Sets if the scrubber should scrub while playhead is stationary (after it hits it's target playhead) | Generators/SoundWaveScrubber.h | |
void SetPlayheadTime
(
float InPlayheadTimeSeconds |
Sets the scrubbing location in seconds. | Generators/SoundWaveScrubber.h |