- New package structure:
- dist file is "./dist/alawmulaw.js", a UMD served as "main"
- ES6 source is "./index.js", served as "module"
- Fix: clip mulaw samples after add bias (#2)
- Fix: UMD dist for browsers.
- UMD dist transpiled to ES5
- Different mu-Law algorithm; should sound the same.
- Add TypeScript declaration
- Using typed arrays for input and ouput
- ES module API changed; export {alaw, mulaw} instead of default alawmulaw
- Allow better use of this lib as a dependency:
- package.json refactored with bundlers and ES6 envs in mind
- ES6 module.
- New dist file: ./dist/alawmulaw.min.js.