wav-headers
Generates wav header buffer to concatenated with the wav body buffer
This is mostly a wrapper around: https://github.com/TooTallNate/node-wav just without streams and designed for full file cases.
Installation
Install through npm:
$ npm install wav-headers
Example
var fs = ;var getFileHeaders = ;// those are defaultsvar options =channels: 2sampleRate: 44100bitDepth: 16dataLength: 4294967295;var headersBuffer = ;var fullBuffer = Buffer;var stream = fs;stream;