Navigation
API > API/Plugins > API/Plugins/MotoSynth
Inheritance Hierarchy
- ISoundGenerator
- IMotoSynthEngine
- FMotoSynthEngine
References
Module | MotoSynth |
Header | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthEngine.h |
Include | #include "MotoSynthEngine.h" |
Syntax
class FMotoSynthEngine :
public ISoundGenerator,
public IMotoSynthEngine
Remarks
Class for granulating an engine.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | GetRPMRange
(
FVector2D& OutRPMRange |
Returns the min and max RPM range, taking into account the acceleration and deceleration data. |
![]() |
void | Init
(
int32 InSampleRate |
|
![]() ![]() |
bool | Queries if the engine is enabled at all. Checks a cvar. | |
![]() |
void | Reset () |
|
![]() |
void | SetPitchScale
(
float InPitchScale |
Sets a pitch scale on the moto synth to scale up or down the pitch of the output. |
![]() |
void | SetRPM
(
float InRPM, |
Sets the RPM directly. Used if the engine is in ManualRPM mode. Will be ignored if we're in simulation mode. |
![]() |
void | SetSourceData
(
uint32 AccelerationSourceID, |
Sets all the source data for the moto synth. |
Overridden from ISoundGenerator
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
int32 | Returns the number of samples to render per callback. | |
![]() ![]() |
int32 | OnGenerateAudio
(
float* OutAudio, |
Called when a new buffer is required. |
Overridden from IMotoSynthEngine
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | SetSettings
(
const FMotoSynthRuntimeSettings& InSettings |