Skip to content

v1.0.0

Choose a tag to compare

@cpojer cpojer released this 08 Nov 13:35
· 20 commits to main since this release
v1.0.0
ba0f60d

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 ended and readiness listener cleanup, and guarded against callbacks firing after a sound was unloaded.
  • Added @nkzw/audio/music for 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 improved unload() so native resources and shared decoded audio are released when they’re no longer in use.