Simple browser/node module to generate a dummy wav file of a specific duration, sample rate, and number of channels. The wav file contains only white noise.
$ npm install wav-dummy
const wavDummy = require('wav-dummy'); // Generates a 10 second stereo wav file with a 44.1kHz sample rate const wavFile = wavDummy(10, 2, 44100)
wavDummy(nbSeconds: number, nbChannels: number, sampleRate: number): ArrayBuffer