#How to implement Speech to Text in Tauri (Windows)

18 messages · Page 1 of 1 (latest)

barren yacht
#

I need to implement Speech to Text in Tauri (I support only windows)

I am aware of SpeechRecognition web api, MDN said Edge support it but caniuse said it is not
https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition
https://caniuse.com/speech-recognition

I have tried it my self and found the Edge support SpeechRecognition in Windows but not on macOS
but the very sad problem it did not worked for me in Tauri webview2

The SpeechRecognition interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service.

floral scarab
barren yacht
#

If am not wrong, you use windows @floral scarab , you can try yarn dev and test it on Edge it will work, and yarn tauri dev won't work

floral scarab
#

soo funny story

#

it works for me

#

it didn't 100% understand what i said but that's besides the point 😂

#

That said, it requested microphone permissions on the first click, maybe you declined that a while back and it doesn't ask for it again?

barren yacht
#

I have accept the permission

#

And worked on Edge

#

And accept the permission on the Tauri app but id didn't work

#

Well, I am sorry it worked

#

I should be more careful when ask again

#

Sorry about that

#

It was because I had a bad internet connection

floral scarab
#

but don't worry, you're really not the first one with speech recognition issues on windows - but the first one to resolve it (or reported that it started working) :D