Music & Audio

melonJS Audio

Use this skill for sound and music in melonJS — loading audio, playing effects, background tracks, audio sprites, volume and muting, spatial audio, procedural tone/noise generation, and effects such as reverb or a compressor on the whole mix. Covers the mandatory audio.init format list, the directory-not-file src convention, playTrack versus play, the fixed listener and pixel-scale distances of positional sound, and browser autoplay unlocking. Triggers on: audio, sound, audio.init, audio.play, playTrack, stopTrack, audio.load, sfx, music, volume, mute, fade, rate, pitch, sprite audio, stereo, panner, position, listener, refDistance, reverb, echo, delay, compressor, distortion, filter, audio effect, audio.tone, audio.noise, getAudioContext, getMasterGain, hasAudio, hasFormat, autoplay, no sound, sound stopped working, context suspended, silent after idle, clips silent but tones play.

Publisher / source
melonjs/melonJS (found on GitHub top repositories)
Upstream record
melonjs/melonJS
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-04
Content fingerprint
2c664c54e3b6131f3f01ba0b9e31ee68b4ecde514c14ed04bf4e954842fe020b