loadSound(name: string | null, src: string | ArrayBuffer): Asset

Load a sound into asset manager, with name and resource url.
loadSound("shoot", "/sounds/horse.ogg")
loadSound("shoot", "/sounds/squeeze.mp3")
loadSound("shoot", "/sounds/shoot.wav")
kaplay logo

3001.0.0-alpha.18

Misc