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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback