Anyone tried Speech Recognition in Hype (speech to text)

Thought i would try some speech recognition, but for some reason it keeps coming back with:

[Log] Error in listen: ReferenceError: Can't find variable: SpeechRecognition (HYPE-458.thin.min.js,    line 14)

[Log] Error in listen: ReferenceError: Can't find variable: webkitSpeechRecognition (HYPE-458.thin.min.js, line 14)

Using just the simple part of the code:

var recognition = new SpeechRecognition();

Anyone tried this ?

I have, but be aware that it is very unsupported in many browsers - still fun tho…
zarvox.hype.zip (20.8 KB)

4 Likes

That example is text to speech, not speech to text :wink:

I have done that text to speech, works a treat, which is why I am little shocked that speechRecognition() is not working.

Great Job Greg :wink:
Hilarious editing the words Zarvox says.

Hi Peter, here’s one with a prompt for you to enter text.
speaks.hype.zip (18.4 KB)

1 Like

Hi Greg, sorry for the late response… Have been sick last few days :frowning: will check soon :wink:

this is one site, where it works in chrome, not in safari (speech to text) and it shows coding:
https://www.talater.com/annyang/

3 Likes

That was pretty cool :wink: