Construct a new sample from the contents of an audio file. The sample can be used immediately; playback will be silent until the file is fully loaded.
SphereFS path of an audio file.
Full, canonical SphereFS path of the audio file used for this sample.
Play a new instance of this sample on a given mixer.
The mixer used to play back the sample.
Playback options.
Stop playback of all currently playing instances of this sample.
Load an audio file in the background and construct a new sample from its contents.
SphereFS path of an audio file.
A promise for the newly constructed Sample
.
Generated using TypeDoc
Represents an audio clip optimized for regular, repeated playback.