wav.js icon indicating copy to clipboard operation
wav.js copied to clipboard

Implementation of the getSamples function

Open ThatcherC opened this issue 10 years ago • 1 comments

The getSamples() function was left empty in the origin branch. I used wav.js for a project of mine and implemented the function. The samples from the .wav are loaded into the array this.dataSamples when this.getSamples() is called.

ThatcherC avatar Jul 22 '15 21:07 ThatcherC

Thank you for getting this going! However, I think it will fail/crash for large WAV files because the file reader loads the entire file into the array buffer.

pneyrinck avatar Feb 27 '17 19:02 pneyrinck