the-wav
Wav file writer
Installation
$ npm install the-wav --save
Usage
'use strict' const TheWAV = { const wav = `sample01.wav` sampleRate: 48000 const seconds = 10 // Create white noise 10 sec const whiteNoise10sec = wavsampleRate * seconds wavsampleRate * seconds // Append data await wav await wav // Write into file await wav}
API Guide
License
This software is released under the MIT License.