Anyone tried Speech Recognition in Hype (speech to text)


(Andrew) #1

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 ?


Draw a simple cartoon face with Hype Elements
(Greg) #2

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


(Andrew) #3

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.


(Peter Bright) #5

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


(Greg) #6

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


(Peter Bright) #7

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


(strmiska) #8

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


(Peter Bright) #9

That was pretty cool :wink: