initializes audio manager
adds an audio chunk to the list of chunks.
creates a new audio chunk entry from a given selection and adds it to the list of chunks.
Optional
selection: AudioSelectioncreates a new SampleUnit
starts audio playback using a given selection.
Static
createcreates a new audio manager and reports the progress using an observable. The initialization includes audio decoding.
Optional
url: stringStatic
getreturns the FileFormat instance relative of the file extension or undefined if not found.
file extension
list of supported audio formats
Static
getStatic
ischecks if there is an audio format that matches with the extension of the audio file.
AudioManager controls the audio file and all of its chunk. Each audio file should have exactly one manager. The AudioManager uses HTML Audio for playback.