Navigation
API > API/Plugins > API/Plugins/MotoSynth
Class for playing a match tone for estimating RPMs.
| Name | FRPMEstimationPreviewTone |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthSourceAsset.h |
| Include Path | #include "MotoSynthSourceAsset.h" |
Syntax
class FRPMEstimationPreviewTone : public ISubmixBufferListener
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRPMEstimationPreviewTone() |
MotoSynthSourceAsset.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRPMEstimationPreviewTone() |
MotoSynthSourceAsset.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioFileBuffer | TArrayView< const int16 > | MotoSynthSourceAsset.h | ||
| bRegistered | bool | MotoSynthSourceAsset.h | ||
| CallbackCritSect | FCriticalSection | Critical section used to set params from game thread while synth is running. | MotoSynthSourceAsset.h | |
| CurrentFrame | int32 | MotoSynthSourceAsset.h | ||
| Filter | Audio::FLadderFilter | MotoSynthSourceAsset.h | ||
| Osc | Audio::FOsc | MotoSynthSourceAsset.h | ||
| RPMCurve | FRichCurve | MotoSynthSourceAsset.h | ||
| SampleRate | int32 | MotoSynthSourceAsset.h | ||
| ScratchBuffer | TArray< float > | Scratch buffer to generate audio into. | MotoSynthSourceAsset.h | |
| VolumeScale | float | MotoSynthSourceAsset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsDone() |
MotoSynthSourceAsset.h | ||
void Reset() |
MotoSynthSourceAsset.h | ||
void SetAudioFile
(
TArrayView< const int16 >& InAudioFile, |
MotoSynthSourceAsset.h | ||
void SetPitchCurve
(
FRichCurve& InRPMCurve |
MotoSynthSourceAsset.h | ||
void StartTestTone
(
float InVolume |
MotoSynthSourceAsset.h | ||
void StopTestTone() |
MotoSynthSourceAsset.h |
Overridden from ISubmixBufferListener
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FString & GetListenerName() |
MotoSynthSourceAsset.h | ||
virtual void OnNewSubmixBuffer
(
const USoundSubmix* OwningSubmix, |
ISubmixBufferListener. | MotoSynthSourceAsset.h |