node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

wave-file-stream

wave-file-stream

PCM Wave File stream for Node and browsers using Web FileSystem API (via web-fs).

Install

$ npm install wave-file-stream

Example

var WaveStream = require('wave-file-stream')
 
var stream = WaveStream('/test.wav', 44100)
stream.write([RAW_32float_SAMPLES])
stream.end()