Skip to content

v3.0.0

Choose a tag to compare

@dy dy released this 14 Mar 17:42

Breaking

  • Returns plain { channelData, sampleRate } instead of AudioBuffer — drops audio-buffer dependency
  • ESM-only with explicit exports field — removes module/browser fields
  • Minimum supported Node.js version updated

Added

  • Chunked decoding via decoders registry — decode chunk-by-chunk with any codec
  • decodeStream() — async generator for streaming ReadableStream / async iterables
  • M4A/AAC support via aac-decode

Changed

  • Updated wasm decoder dependencies (flac, ogg-vorbis, opus, mpg123)
  • Upgraded audio-type for better formats detection

Full Changelog: v2.0.0...v3.0.0