Class for loading, storing, and playing audio for a workspace.
The parent of the workspace this audio object belongs to, or null.
Load an audio file. Cache it, ready for instantaneous playing.
List of file types in decreasing order of preference (i.e. increasing size). E.g. ['media/go.mp3', 'media/go.wav'] Filenames include path from Blockly's root. File extensions matter.
Name of sound.
Play a named sound at specified volume. If volume is not specified, use full volume (1).
Name of sound.
Optionalopt_volume: numberVolume of sound (0-1).
Fake class which should be extended to avoid inheriting static properties