Back
SoundAsset
Properties
uid
url
duration
tag
Methods
constructor
SoundAsset
(
Object
url,
Object
loadMetadata )
undefined
getMetadata
(
Object
Function )
Property Description
uid
A unique indentifer (local).
url
The url of this asset.
duration
The duration of this asset. If metadata is not yet loaded, it is NaN.
tag
An HTML audio element with this asset as a source.
Method Description
constructor
SoundAsset
(
Object
url,
Object
loadMetadata )
undefined
getMetadata
(
Object
Function )
Call a callback with the metadata information.