AudioLoader Class

Module: Loaders

Audio loader can be used to load external audio resources.

Constructor

AudioLoader

(
  • manager
)

Parameters:

  • manager Object

Item Index

Methods

Methods

load

(
  • url
  • onLoad
  • onProgress
  • onError
)

Load audio file from URL.

Parameters:

  • url String
  • onLoad Function
  • onProgress Function
  • onError Function

parse

(
  • json
)
Audio

Parse audio json and return resource.

Parameters:

  • json Object

Returns:

Audio:

Audio resource