Navigation
API > API/Plugins > API/Plugins/MotoSynth
UMotoSynthSource UAsset used to represent Imported MotoSynth Sources
| Name | UMotoSynthSource |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthSourceAsset.h |
| Include Path | #include "MotoSynthSourceAsset.h" |
Syntax
UCLASS (MinimalAPI)
class UMotoSynthSource : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMotoSynthSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMotoSynthSource() |
MotoSynthSourceAsset.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UMotoSynthSource() |
MotoSynthSourceAsset.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnalysisInputFilePath | FString | The path to write the audio analysis data (LPF and normalized asset) | MotoSynthSourceAsset.h |
|
| bConvertTo8Bit | bool | Whether or not to convert this moto synth source to 8 bit on load to use less memory. | MotoSynthSourceAsset.h |
|
| bEnableDynamicsProcessorForAnalysis | bool | Whether not to enable a dynamics processor to the analysis step. | MotoSynthSourceAsset.h |
|
| bEnableFilteringForAnalysis | bool | Whether not to enable a low pass filter frequency before analyzing the audio file. | MotoSynthSourceAsset.h |
|
| bEnableNormalizationForAnalysis | bool | MotoSynthSourceAsset.h |
|
|
| bWriteAnalysisInputToFile | bool | Whether not to write the audio used for analysis to a wav file. | MotoSynthSourceAsset.h |
|
| DownSampleFactor | float | Amount to scale down the sample rate of the source. | MotoSynthSourceAsset.h |
|
| DynamicsKneeBandwidth | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorAttackTimeMsec | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorInputGainDb | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorLookahead | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorRatio | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorReleaseTimeMsec | float | MotoSynthSourceAsset.h |
|
|
| DynamicsProcessorThreshold | float | MotoSynthSourceAsset.h |
|
|
| HighPassFilterFrequency | float | Whether not to enable a low pass filter frequency before analyzing the audio file. | MotoSynthSourceAsset.h |
|
| LowPassFilterFrequency | float | Frequency of a low pass filter to apply before running grain table analysis. | MotoSynthSourceAsset.h |
|
| RPMCurve | FRuntimeFloatCurve | A curve to define the RPM contour from the min and max estimated RPM Curve values are non-normalized and accurate to time | MotoSynthSourceAsset.h |
|
| RPMCycleCalibrationSample | int32 | A samples to use to calibrate when an engine cycle begins. | MotoSynthSourceAsset.h |
|
| RPMEstimationOctaveOffset | int32 | MotoSynthSourceAsset.h |
|
|
| RPMFirstCycleSampleEnd | int32 | The end of the first cycle sample. Cut the source file to start exactly on the cycle start. | MotoSynthSourceAsset.h |
|
| RPMSynthVolume | float | Sets the volume of the RPM curve synth for testing RPM curve to source. | MotoSynthSourceAsset.h |
|
| SampleShiftOffset | int32 | MotoSynthSourceAsset.h |
|
|
| SoundWaveSource | TObjectPtr< USoundWave > | The source to use for the moto synth source. | MotoSynthSourceAsset.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetDataID() |
Retrieves the data ID of the source in the moto synth data manager. | MotoSynthSourceAsset.h | |
float GetRuntimeMemoryUsageMB() |
Retrieves the memory usage of this in MB that will be used at runtime (i.e. from data manager) | MotoSynthSourceAsset.h | |
void PerformGrainTableAnalysis() |
MotoSynthSourceAsset.h |
|
|
void PlayToneMatch() |
MotoSynthSourceAsset.h |
|
|
void StopToneMatch() |
MotoSynthSourceAsset.h |
|
|
void UpdateSourceData() |
Updates the source data from the associated USoundWave. | MotoSynthSourceAsset.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Needed to remove the data entry in the data manager. | MotoSynthSourceAsset.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
MotoSynthSourceAsset.h | ||
virtual void PostLoad() |
Used to register data w/ the data manager. | MotoSynthSourceAsset.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildGrainTableByFFT() |
MotoSynthSourceAsset.h | ||
void BuildGrainTableByRPMEstimation() |
MotoSynthSourceAsset.h | ||
void DynamicsProcessForAnalysis() |
MotoSynthSourceAsset.h | ||
void FilterSourceDataForAnalysis() |
MotoSynthSourceAsset.h | ||
float GetCurrentRPMForSampleIndex
(
int32 CurrentSampleIndex |
MotoSynthSourceAsset.h | ||
uint32 GetNextSourceID() |
MotoSynthSourceAsset.h | ||
void NormalizeForAnalysis() |
MotoSynthSourceAsset.h | ||
void RegisterSourceData() |
MotoSynthSourceAsset.h | ||
void WriteAnalysisBufferToWaveFile() |
MotoSynthSourceAsset.h | ||
void WriteDebugDataToWaveFiles() |
MotoSynthSourceAsset.h | ||
void WriteGrainTableDataToWaveFile() |
MotoSynthSourceAsset.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceData_DEPRECATED | TArray< float > | Data containing PCM audio of the imported source asset (filled out by the factory) | MotoSynthSourceAsset.h |