Skip to content

v3.0.0

Latest

Choose a tag to compare

@dy dy released this 23 Mar 20:06
· 7 commits to master since this release

Absorbs audio-format, sample-rate, and pcm-encode into a single file.

  • parse, detect, stringify, sampleRate — exported from main entry
  • Planar channel arrays as input: convert([left, right], 'int16 interleaved')
  • Format strings accept commas, semicolons, underscores as separators
  • Dtype aliases: float, int, uint resolve to 32-bit variants
  • Channel aliases: 2.1, N-channel (up to 32)
  • Endianness aliases: littleendian, bigendian
  • Sample rate as format token: 'int16 stereo 44100'
  • stringify serializes format objects back to strings
  • detect reads sampleRate from AudioBuffer
  • Object format accepts type, numberOfChannels, rate aliases
  • Removed audiobuffer format token — use detect() for AudioBuffer sources, 'float32 planar' for explicit format
  • Removed format.js, rates.js — single entry point

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