Skip to main content

SnapML

Running ML models, tensor math, and audio feature extraction for models.

Commonly used

Guides

All APIs in this topic

Add components to a scene object and reference assets and other modules with a script input.

Components, assets, and modules

APIDescription
MLAssetRepresents a machine learning model that can be integrated with an MLComponent.
MLComponentUsed to integrate machine learning models into a Lens.

Objects and data

APIDescription
BasePlaceholderBase class for Input and Output Placeholders used by MLComponent.
DelayCreates a buffer for the audio data.
DelayBuilder
DeltaLocal estimate of the derivative of the input data along the selected axis.
DeltaBuilder
InputBuilderBuilds InputPlaceHolders for MLComponent.
InputPlaceholderControls input data for a neural network used by an MLComponent.
MachineLearning
MelSpectrogramComputes a mel scale spectrogram - a spectrogram where the frequencies are converted to the mel scale.
MelSpectrogramBuilder
MFCCMel-frequency cepstral coefficients.
MFCCBuilderBuilder class for the MFCC (Mel Frequency Cepstral Co-efficients).
NoiseReductionBase class for objects representing Script data.
NoiseReductionBuilderBase class for objects representing Script data.
OutputBuilderBuilds OutputPlaceholders for MLComponent.
OutputPlaceholderProvides output data from the neural network used by an MLComponent.
PitchShifterBase class for objects representing Script data.
PitchShifterBuilderBase class for objects representing Script data.
RotatedRect
Sampler
SamplerBuilderClass for building Sampler.
SpectrogramRepresentation the signal strength over time at various frequencies present in a particular waveform.
SpectrogramBuilder
TensorMath
TransformerApplies additional transform processing on data for InputPlaceholders and OutputPlaceholders used with MLComponent.
TransformerBuilderBuilds Transformer objects for MLComponent.

Enums

APIDescription
SortOrderOrder that inTensor will be sorted when applying TensorMath.argSortMasked().
TransformerRotationRotation types used by TransformBuilder.