wavefile

v11.0.0
Create, read and write wav files according to the specs.
wav RIFF RIFX RF64 WAVE BWF audio 8-bit 11-bit and 17 more...

lint

jshint index.js bin externs lib test/src

test

nyc ./node_modules/mocha/bin/_mocha test/resampler test/dist test/src test/wavefile-parser test/lib --recursive -R dot --timeout=1600000

test-sr

node ./node_modules/mocha/bin/_mocha test/resampler-full -R dot --timeout=1600000

test-sr-point

node ./node_modules/mocha/bin/_mocha test/resampler-full/point.js -R dot --timeout=1600000

test-sr-linear

node ./node_modules/mocha/bin/_mocha test/resampler-full/linear.js -R dot --timeout=1600000

test-sr-cubic

node ./node_modules/mocha/bin/_mocha test/resampler-full/cubic.js -R dot --timeout=1600000

test-sr-sinc

node ./node_modules/mocha/bin/_mocha test/resampler-full/sinc.js test/resampler-full/sinc-IIR.js test/resampler-full/sinc-no-lpf.js -R dot --timeout=1600000

test-umd

node ./node_modules/mocha/bin/_mocha test/resampler test/dist test/src --umd --recursive -R dot --timeout=240000

test-tsc

tsc ./test/TypeScript/index.ts && node -r esm ./test/TypeScript/index.js

test-cli

wavefile ./test/files/M1F1-int12WE-AFsp.wav --tag=ICMT && wavefile ./test/files/M1F1-int12WE-AFsp.wav --resample=16000 --method=point ./test/files/out/to-sample-rate/M1F1-int12WE-AFsp-CLI.wav

test-dist

npm run test-umd && npm run test-tsc && npm run test-cli

rollup-bundle

rollup -c && npm run test-dist

doc

jsdoc -c .jsdocrc -d docs -r README.md -t node_modules/docdash

build

npm run lint && npm test && npm run rollup-bundle && npm run doc

coverage

nyc report --reporter=lcov > coverage.lcov && codecov
npm i wavefile

Metadata

  • MIT
  • >=8
  • Rafael da Silva Rocha
  • released 1/30/2020

Downloads

Maintainers