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

Not working on vivaldi #9

Open gatsuslayer opened 9 months ago

gatsuslayer commented 9 months ago

Hi,

I recently installed the extension and after configuring the stereo mix and granting the permissions, I put on a twitch stream and after starting the capture the pop-up window appears but it doesn't show the transcribed/translated text, do you know what the error could be?

As far as I know, Vivaldi is a chromium-based browser but I don't know if it will be limited somehow.

kappaflow commented 9 months ago

@gatsuslayer Hi, I have tested the extension in Vivaldi browser, and I can confirm that it doesn't work and most likely it wont work in the future. Speech recognition feature is an external service. In case of Chrome it belongs to Google and it is hosted on their servers. The same thing with Edge and Microsoft. I would guess that the developers have to pay to Google to have the speech recognition feature in their browsers...

gatsuslayer commented 9 months ago

@kappaflow So the extension only works in Chrome?

kappaflow commented 9 months ago

@gatsuslayer No, it works in both Chrome and Edge.

And it may work in 3rd party browsers based on Chromium if Web Speech API is supported there and Chromium (which it is based on) has the version 114+. For example it used to work in Maxthon (when the extension didn't have 114+ version requirement), maybe it works with the latest version of Maxthon again.

gatsuslayer commented 9 months ago

@kappaflow Well, I've managed to get it to work on Edge although I don't know which translation service to use, since I've tried both public and script and the outcome is not very accurate. For example, do you know which one is better for russian? On the other hand, I've tried Maxthon and it no longer works.

kappaflow commented 9 months ago

@gatsuslayer Google Public and Google Script are basically the same translation services. Google Script is a preferable option if you have a shared external IP (like a public VPN for example), because in this case Google Public won't work stable, because of requests limit from Google.

Do you mean translate English to Russian or Russian to English? Anyway, both Chrome and Edge with Google Translate work fine for that purpose. It mostly depends on the source audio quality and the pronunciation. If the source speech has a lot of slang. then it might affect the quality of the translation as well.