Repository navigation
v1.0.0
Initial release and forked from Howler.js.
Differences from Howler
- Deduplicated audio unlock attempts from touch and click events.
- Removed a test playback that could log an autoplay warning when the HTML audio pool ran out.
- Fixed duplicate resume callbacks while preserving overlapping effects queued during resume.
- Fixed
endedand readiness listener cleanup, and guarded against callbacks firing after a sound was unloaded. - Added
@nkzw/audio/musicfor bounded music playback with AAC decoding in a worker. This caps decoded music memory as tracks get longer, which helps on iOS Safari. - Rewrote the engine in strict TypeScript targeting ES2022 and moved the build to Vite+ and tsdown.
- Removed obsolete browser workarounds and replaced the global singleton with explicit mixer instances.
- Added mixer
dispose()and improvedunload()so native resources and shared decoded audio are released when they’re no longer in use.