Optional
autotrue
to immediately start preloading.
Optional
completeGlobal complete callback when play is finished.
Optional
loadedCall when finished loading.
Optional
loopInitial loop value, true
is loop infinitely
Optional
preloadtrue
to immediately start preloading if loading from url
.
Optional
singletrue
to disallow playing multiple layered instances at once.
Optional
sourceIf sound is already preloaded, available.
Optional
speedThe playback rate where 1 is 100% speed.
Optional
spritesThe map of sprite data. Where a sprite is an object
with a start
and end
, which are the times in seconds. Optionally, can include
a speed
amount where 1 is 100% speed.
Optional
urlThe source of the file being loaded
Optional
volumeThe amount of volume 1 = 100%.
Options to use for creating sounds.