Skip to content

v7.2.0

Choose a tag to compare

@dy dy released this 23 Mar 19:44
· 6 commits to master since this release
  • Moved slice, concat, set, like out of AudioBuffer class into audio-buffer/util
  • AudioBuffer class now spec-only (constructor, properties, getChannelData, copyFromChannel, copyToChannel, Symbol.iterator)
  • Absorbed is-audio-buffer — available as isAudioBuffer from audio-buffer/util
  • equal renamed to isEqual
  • fromArray folded into from (eliminated double-copy)
  • filledWithVal removed — use fill(from(...), val)
  • concat now variadic — concat(a, b, c, ...)
  • from(null) throws instead of silently creating 1-sample buffer
  • mix throws RangeError on out-of-bounds offset
  • Removed noise — use fill(buf, () => Math.random() * 2 - 1)
  • Removed invert — use fill(buf, v => -v)
  • Removed options.channels alias — use numberOfChannels

Full Changelog: v7.1.0...v7.2.0