Abstract
Creates a buffer for the audio data.
// @input int sampleRate// @input float delayInSecondsvar delayBuilder = MachineLearning.createDelayBuilder();var delay = delayBuilder.setNumFeatures(1) .setDelay(script.sampleRate * script.delayInSeconds).build(); Copy
// @input int sampleRate// @input float delayInSecondsvar delayBuilder = MachineLearning.createDelayBuilder();var delay = delayBuilder.setNumFeatures(1) .setDelay(script.sampleRate * script.delayInSeconds).build();
Protected
Readonly
Maximum amount of features (channels).
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
other
Process current frame data passed in inTensor of shape inShape, writes the result (delayed frame) to the outTensor and returns the shape of outTensor.
inTensor
inShape
outTensor
Creates a buffer for the audio data.
Example