Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.51k stars 983 forks source link

live.html demo no longer works in Chrome, only Firefox #1063

Closed webbp closed 2 years ago

webbp commented 2 years ago

Firefox version 99 produces transcription text (expected behavior). console.log after clicking start:

INFO: cmn_live.c(120): Update from <  8.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00  0.00 > [pocketsphinx.js:1:3111845](http://localhost:8000/webapp/js/pocketsphinx.js)
INFO: cmn_live.c(138): Update to   <  6.25  0.28  0.06  0.24  0.17 -0.07 -0.20 -0.54 -0.13 -0.01 -0.21 -0.21 -0.05 > [pocketsphinx.js:1:3111845](http://localhost:8000/webapp/js/pocketsphinx.js)
INFO: fsg_search.c(867): 174 frames, 6278 HMMs (36/fr), 12466 senones (71/fr), 760 history entries (4/fr) [pocketsphinx.js:1:3111845](http://localhost:8000/webapp/js/pocketsphinx.js)
<empty string> [pocketsphinx.js:1:3111845](http://localhost:8000/webapp/js/pocketsphinx.js)
INFO: fsg_search.c(877): fsg 0.00 CPU 0.000 xRT [pocketsphinx.js:1:3111845](http://localhost:8000/webapp/js/pocketsphinx.js)
INFO: fsg_search.c(879): fsg 1.97 wall 1.124 xRT

Chrome version 100 produces no transcription text (unexpected behavior). console log after clicking start:

pocketsphinx.js:1 INFO: fsg_search.c(867): 0 frames, 0 HMMs (0/fr), 0 senones (0/fr), 1 history entries (0/fr)

0 frames suggests this is an audio input issue. Microphone access was granted and otherwise works in Chrome, e.g., google meet.

tambien commented 2 years ago

@webbp this seems like it's maybe an issue for pocketsphinx.js? I don't see any way to reproduce this issue

webbp commented 2 years ago

Sorry, not sure what happened, but yes, I meant to post this issue to pocketsphinx.js.