C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 331 forks source link

Speech recognition doesn't work on microsoft edge #18

Closed johnmatthewtennant closed 1 year ago

johnmatthewtennant commented 1 year ago

I get these two errors in the console repeated infinitely

Error while listening
​I've stopped listening

I want to use microsoft edge because it has better TTS voices, which support high playback rates. The google voices sound garbled at high speeds

dev-eduka commented 1 year ago

Sorry, the SpeechRecognition API doesn't seem to be supported on Microsoft Edge see here: https://caniuse.com/speech-recognition This extension is only for Google Chrome

bartman081523 commented 1 year ago

You can test the Speech Recognition with WebSpeech here https://codepen.io/gregja/pen/OJbYRwa?editors=1111

With Chrome it recognizes correctly; Edge asks for the microphone access and then the recognition fails.