ml5js/ml5-next-gen

SoundClassifier sample not working in Firefox

Opened this issue · 1 comments

Hello ml5.js community,
The sample code for the SoundClassifier did not work in Firefox, but it worked fine in Chrome.
Doesn't ml5.js support Firefox?

Browser

Firefox: 131.0.2 (aarch64)

Sample code

https://docs.ml5js.org/#/reference/sound-classifier?id=quick-start
https://editor.p5js.org/ml5/sketches/HUm7NYMW3

Error message

TypeError: results is null
    at gotResult (/sketch.js:90:3)

    at getTopKClasses (webpack:[//ml5/src/SoundClassifier/speechcommands.js:50:18](https://ml5/src/SoundClassifier/speechcommands.js:50:18))