The audio clip duration.
Is this clip will be replayed when the audio reaches the end?
Set if this clip will be replayed when the audio reaches the end. Can't be set when this clip is playing.
Get the playback speed of this clip.
Set the playback speed of this clip.
Play status for this clip.
-1: Stop1: Playing0: PausedDestroy the clip. This will stop the clip playing and disconnect to the channel.
Pause the clip playing. Use Clip#play to resume.
Play the clip. The clip must be connected to any Channel to play.
Seek clip play progress. Note that you cannot seek when clip is not connected to any channels or Clip#status is stopped.
Seconds that needs seek to.
Stop the clip playing.
StaticfromCreate a clip from supported source.
The source of the clip, could be File, ArrayBuffer and url link.
Optionalchannel: null | Channel = nullThe channel linked to this clip, leave null to unset.
Returns the clip itself.
An audio clip handles everything about audio data.
You can create an audio clip with a file, an ArrayBuffer, or just pass a url.
You can't play a clip directly; instead you need to either connect the clip to a Channel:
...or push it to Channel#clipQueue: