Protected
constructorReadonly
durationThe duration of the AudioTrackAsset in seconds.
Loop count, if -1 is provided, the audio track will loop forever.
Readonly
maxThe maximum frame size of the audio track asset.
Sample rate (samples per second) of the audio track asset.
Writes readSize samples into the passed in audioBuffer Float32Array.
Writes current audio frame to the passed in Float32Array and returns the frame shape.
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.
A file track provider of the Licensed Sounds from Asset LIbrary.
Example