Navigation
API > API/Plugins > API/Plugins/MotoSynth
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMotoSynthSource
References
| Module | MotoSynth |
| Header | /Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthSourceAsset.h |
| Include | #include "MotoSynthSourceAsset.h" |
Syntax
UCLASS&40;&41;
class UMotoSynthSource : public UObject
Remarks
UMotoSynthSource UAsset used to represent Imported MotoSynth Sources
Variables
| Type | Name | Description | |
|---|---|---|---|
| Audio::FAlignedFloatBuffer | AnalysisBuffer | ||
| FString | AnalysisInputFilePath | The path to write the audio analysis data (LPF and normalized asset) | |
| bool | bConvertTo8Bit | Whether or not to convert this moto synth source to 8 bit on load to use less memory. | |
| bool | bEnableDynamicsProcessorForAnalysis | Whether not to enable a dynamics processor to the analysis step. | |
| bool | bEnableFilteringForAnalysis | Whether not to enable a low pass filter frequency before analyzing the audio file. | |
| bool | bEnableNormalizationForAnalysis | ||
| bool | bWriteAnalysisInputToFile | Whether not to write the audio used for analysis to a wav file. | |
| float | DownSampleFactor | Amount to scale down the sample rate of the source. | |
| float | DynamicsKneeBandwidth | ||
| float | DynamicsProcessorAttackTimeMsec | ||
| float | DynamicsProcessorInputGainDb | ||
| float | DynamicsProcessorLookahead | ||
| float | DynamicsProcessorRatio | ||
| float | DynamicsProcessorReleaseTimeMsec | ||
| float | DynamicsProcessorThreshold | ||
| TArray< FGrainTableEntry > | GrainTable | Grain table containing information about how to granulate the source data buffer. | |
| float | HighPassFilterFrequency | Whether not to enable a low pass filter frequency before analyzing the audio file. | |
| float | LowPassFilterFrequency | Frequency of a low pass filter to apply before running grain table analysis. | |
| FRPMEstimationPreviewTone | MotoSynthSineToneTest | ||
| FRuntimeFloatCurve | RPMCurve | A curve to define the RPM contour from the min and max estimated RPM Curve values are non-normalized and accurate to time | |
| int32 | RPMCycleCalibrationSample | A samples to use to calibrate when an engine cycle begins. | |
| int32 | RPMEstimationOctaveOffset | ||
| int32 | RPMFirstCycleSampleEnd | The end of the first cycle sample. Cut the source file to start exactly on the cycle start. | |
| float | RPMSynthVolume | Sets the volume of the RPM curve synth for testing RPM curve to source. | |
| int32 | SampleShiftOffset | ||
| TObjectPtr< USoundWave > | SoundWaveSource | The source to use for the moto synth source. | |
| uint32 | SourceDataID | Data ID used to track the source data with the data manager. | |
| TArray< int16 > | SourceDataPCM | ||
| int32 | SourceSampleRate | Sample rate of the imported sound wave and the serialized data of the granulator. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | |||
| void | |||
| float | GetCurrentRPMForSampleIndex
(
int32 CurrentSampleIndex |
||
| uint32 | GetDataID () |
Retrieves the data ID of the source in the moto synth data manager. | |
| uint32 | |||
| float | Retrieves the memory usage of this in MB that will be used at runtime (i.e. from data manager) | ||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Updates the source data from the associated USoundWave. | ||
| void | |||
| void | |||
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Needed to remove the data entry in the data manager. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Used to register data w/ the data manager. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< float > | SourceData_DEPRECATED | Data containing PCM audio of the imported source asset (filled out by the factory) |