We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When computing MFCCs, any frame size equal to or lower than 426 results in an uncaught WASM error.
const frames = self.essentia.FrameGenerator(msg.data.audio, frameSize, frameSize*0.5); for (let i = 0; i < frames.size(); i++) { const audioVector = frames.get(i); const windowedFrame = self.essentia.Windowing(audioVector, true, frameSize).frame; const spectrum = self.essentia.Spectrum(windowedFrame, frameSize).spectrum; const mfccs = self.essentia.MFCC(spectrum, 2, 11000, spectrum.size()).mfcc; corpusArray.push({ id: corpusSizeCount, frame: self.essentia.vectorToArray(audioVector), analysis: self.essentia.vectorToArray(mfccs) }); corpusSizeCount++; }
For the frame size described above, this produces the following error on the dev console:
Hardware: MacBook Pro 15 inch 2018, 16GB RAM, 2,2 GHz Intel Core i7 6 cores OS: macOS Catalina 10.15.7 Platform: Chrome 96.0.4664.110 Library version: Essentia.js 0.1.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the issue about?
What part(s) of Essentia.js is involved?
Description
When computing MFCCs, any frame size equal to or lower than 426 results in an uncaught WASM error.
Steps to reproduce / Code snippets / Screenshots
For the frame size described above, this produces the following error on the dev console:

System info
Hardware: MacBook Pro 15 inch 2018, 16GB RAM, 2,2 GHz Intel Core i7 6 cores
OS: macOS Catalina 10.15.7
Platform: Chrome 96.0.4664.110
Library version: Essentia.js 0.1.3
The text was updated successfully, but these errors were encountered: