Skip to content

Implementation of the getSamples function#3

Open
ThatcherC wants to merge 3 commits intoffdead:masterfrom
ThatcherC:master
Open

Implementation of the getSamples function#3
ThatcherC wants to merge 3 commits intoffdead:masterfrom
ThatcherC:master

Conversation

@ThatcherC
Copy link

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.

@pneyrinck
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants