UMotoSynthSource

[UMotoSynthSource](API\Plugins\MotoSynth\UMotoSynthSource) UAsset used to represent Imported MotoSynth Sources

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MotoSynth

Header

/Engine/Plugins/Experimental/MotoSynth/Source/MotoSynth/Public/MotoSynthSourceAsset.h

Include

#include "MotoSynthSourceAsset.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UMotoSynthSource : public UObject

Remarks

UMotoSynthSource UAsset used to represent Imported MotoSynth Sources

Variables

Name Description

Protected variable

Audio::AlignedF...

 

AnalysisBuffer

Public variable UProperty Category, EditAnywhere, Meta

FString

 

AnalysisInputFilePath

The path to write the audio analysis data (LPF and normalized asset)

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bConvertTo8Bit

Whether or not to convert this moto synth source to 8 bit on load to use less memory.

Public variable UProperty Category, EditAnywhere

bool

 

bEnableDynamicsProcessorForAnalysis

Whether not to enable a dynamics processor to the analysis step.

Public variable UProperty Category, EditAnywhere

bool

 

bEnableFilteringForAnalysis

Whether not to enable a low pass filter frequency before analyzing the audio file.

Public variable UProperty Category, EditAnywhere

bool

 

bEnableNormalizationForAnalysis

Public variable UProperty Category, EditAnywhere

bool

 

bWriteAnalysisInputToFile

Whether not to write the audio used for analysis to a wav file.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

DownSampleFactor

Amount to scale down the sample rate of the source.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

DynamicsKneeBandwidth

Public variable UProperty Category, EditAnywhere, Meta

float

 

DynamicsProcessorAttackTimeMsec

Public variable UProperty Category, EditAnywhere, Meta

float

 

DynamicsProcessorInputGainDb

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

DynamicsProcessorLookahead

Public variable UProperty Category, EditAnywhere, Meta

float

 

DynamicsProcessorRatio

Public variable UProperty Category, EditAnywhere, Meta

float

 

DynamicsProcessorReleaseTimeMsec

Public variable UProperty Category, EditAnywhere, Meta

float

 

DynamicsProcessorThreshold

Protected variable UProperty

TArray< FGrainT...

 

GrainTable

Grain table containing information about how to granulate the source data buffer.

Public variable UProperty Category, EditAnywhere, Meta

float

 

HighPassFilterFrequency

Whether not to enable a low pass filter frequency before analyzing the audio file.

Public variable UProperty Category, EditAnywhere, Meta

float

 

LowPassFilterFrequency

Frequency of a low pass filter to apply before running grain table analysis.

Protected variable

FRPMEstimationP...

 

MotoSynthSineToneTest

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FRuntimeFloatCu...

 

RPMCurve

A curve to define the RPM contour from the min and max estimated RPM Curve values are non-normalized and accurate to time

Public variable UProperty Category, EditAnywhere

int32

 

RPMCycleCalibrationSample

A samples to use to calibrate when an engine cycle begins.

Public variable UProperty Category, EditAnywhere

int32

 

RPMEstimationOctaveOffset

Public variable UProperty Category, EditAnywhere

int32

 

RPMFirstCycleSampleEnd

The end of the first cycle sample. Cut the source file to start exactly on the cycle start.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

RPMSynthVolume

Sets the volume of the RPM curve synth for testing RPM curve to source.

Public variable UProperty Category, EditAnywhere

int32

 

SampleShiftOffset

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

USoundWave *...

 

SoundWaveSource

The source to use for the moto synth source.

Protected variable

uint32

 

SourceDataID

Data ID used to track the source data with the data manager.

Protected variable UProperty

TArray< int16 >

 

SourceDataPCM

Protected variable UProperty

int32

 

SourceSampleRate

Sample rate of the imported sound wave and the serialized data of the granulator.

Constructors

Name Description

Public function

UMotoSynthSource()

Destructors

Name Description

Public function

~UMotoSynthSource()

Functions

Name Description

Protected function

void

 

BuildGrainTableByFFT()

Protected function

void

 

BuildGrainTableByRPMEstimation()

Protected function

void

 

DynamicsProcessForAnalysis()

Protected function

void

 

FilterSourceDataForAnalysis()

Protected function

float

 

GetCurrentRPMForSampleIndex

(
    int32 CurrentSampleIndex
)

Public function Const

uint32

 

GetDataID()

Retrieves the data ID of the source in the moto synth data manager.

Protected function Const

uint32

 

GetNextSourceID()

Public function Const

float

 

GetRuntimeMemoryUsageMB()

Retrieves the memory usage of this in MB that will be used at runtime (i.e. from data manager)

Protected function

void

 

NormalizeForAnalysis()

Public function UFunction Category, Meta

void

 

PerformGrainTableAnalysis()

Public function UFunction Category, Meta

void

 

PlayToneMatch()

Protected function

void

 

RegisterSourceData()

Public function UFunction Category, Meta

void

 

StopToneMatch()

Public function

void

 

UpdateSourceData()

Updates the source data from the associated USoundWave.

Protected function

void

 

WriteAnalysisBufferToWaveFile()

Protected function

void

 

WriteDebugDataToWaveFiles()

Protected function

void

 

WriteGrainTableDataToWaveFile()

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Needed to remove the data entry in the data manager.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Used to register data w/ the data manager.

Deprecated Variables

Name Description

Protected variable UProperty

TArray< float >

 

SourceData_DEPRECATED

Data containing PCM audio of the imported source asset (filled out by the factory)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss