Skip to content

v1.1.0

Choose a tag to compare

@rochars rochars released this 02 Jan 17:26
· 2 commits to master since this release

v1.1.0 - 2020-01-02

Allow loading a file during object creation. Now you instead of:

let wav = new WaveFileReader();
wav.fromBuffer(someFile);

you can also:

let wav = new WaveFileReader(someFile);

Both methods support the loadSamples optional boolean param.
By default loadSamples is set to true (file samples should be loaded);
if set to false, the samples in the file are not loaded.