speech-translator-ext / speech-translator-readme

This repository outlines the procedures and general information for the Speech Translator project.
https://st.kappaflow.dev
35 stars 2 forks source link

errors in console #25

Closed Kaisei2434 closed 5 months ago

Kaisei2434 commented 5 months ago

Hi, I seem to have a problem where for the first few hours of installing the extension, it works great on both Chrome and Edge. But after my PC goes into standby modus or restarting my PC, it'll suddenly stop working. Reinstalling the extension seems to fix the problem, but then the cycle repeats itself when it ultimately stops working again. The same thing happens on Edge, both on its browser and as a standalone app. I added a screenshot of the console, which seems to contain some errors but I have no clue what they mean sorry. image

Also, no clue if it matters but I have adblock and ublock on chrome.

Your OS - Windows 11 Home, ver. 23H2 build 22631.3447 Web browser name and version - Google Chrome ver, 123.0.6312.123 The extension version - ver. 0.2.2 Your audio setup method - Setup method 2 using VB Cable, I'm using headphones which are plugged to my mic Selected Speech language, Translation Service, Translate To Language - Japanese to English using Google Translate public Listening method: iFrame (START LISTENING button), Popup, Side Panel. For iFrame method please specify the website where you are starting listening - iFrame on Youtube The issue description - See the above Steps to reproduce the issue - When installing the extension I've followed the instructions 100% which is why is works fine at the start. After it stopped working for the first time I checked all related settings but couldn't find anything that might have somehow changed in the meantime. When deleting the extension I deleted VB Cable as well by chucking the entire folder away. Errors from the extension (if you have any): chrome://extensions/?errors=jodfjmaiakpnmeddgpeflpafebmlhppn (you might need to enable Collect errors first here: chrome://extensions/?id=jodfjmaiakpnmeddgpeflpafebmlhppn ) Errors from your browser Console Log on the page where you experience the issue (if you have any)

kappaflow commented 5 months ago

@Kaisei2434 the errors in the console log are not related to the extension... Can you confirm that you've tried to restart the web browser after getting back from the stand by mode?

Based on your description the problem may be related not to the extension itself, but your audio setup in the system. While you are experiencing the issue, can you check the audio device settings and make sure you have audio on the device that is selected in your web browser (which capture the audio for the translation)? Basically, its article 3 from the troubleshooting guide.

Kaisei2434 commented 5 months ago

Hi @kappaflow, I can confirm I've been restarting the web browser as well. As for audio device settings, I'm not entirely sure what you mean, so I added screenshots of anything audio related in my system: image image image image image image

Also sorry about the error logs, I wasn't sure if they belonged to the extension or something else which was why I added them, but good to know that they're not related!

kappaflow commented 5 months ago

Please make sure, when you click Grant Audio Permission in the extension you set there VB Cable as an input device. Also, try to play any video (with an audio part), and make sure on this menu indication of an audio level near "Cable output" (the green bars).

Also based on this screenshot the input audio device for Chrome is "Default", which is Yeti mic in your case. image

Also here, I can see that you have Yeti mic selected as an input device, instead of VB Cable, it means it captures audio from your mic instead of the video you play. image

Kaisei2434 commented 5 months ago

Hi, I changed the default for Google Chrome in my volume mixer settings to VB Cable and changed the input device on Chrome for audio permission to VB Cable as well. Everything seems to be working now, thank you very much!