ZIM Bubbling 203. Speech Recognition and Talking!

Опубликовано: 29 Март 2026
на канале: ZIM LEARN
158
3

ZIM 016 introduces easy Speech Recognition and Voice Talking. https://zimjs.com/016/speech.html and https://zimjs.com/016/voices.html. This wraps the JavaScript Speech API to make it as easy as new Speech().listen() and new Speech().talk(). Amazing. The accuracy is fantastic too!

ZIM is a general JavaScript Canvas Framework - https://zimjs.com - code creativity!

00:00 start
00:22 what is new in ZIM 016 https://zimjs.com/016
00:35 new Speech() with JavaScript API integration
00:49 speech example1 : continuous listening and showing text https://zimjs.com/016/speech
01:20 percentage of correct understanding called confident
01:51 speech example 3: TALK "hello world", voices can be chosen https://zimjs.com/016/voices
02:26 coding speech intro
02:40 speech example2 sentence-by-sentence https://zimjs.com/016/speech2
03:53 coding speech
04:10 basic code for speech.talk("words")
04:20 basic code for speech.listen()
04:48 listen() do not work when using Apple devices on webapps
05:44 Apple devices can talk the words with a voice on webapps
06:06 explaining the code start speech.listen()
06:55 explaining the code speech.stopListening()
07:12 confident circle with number in it
07:27 receive the results
08:44 capitalize first word
10:17 speech on "speechend"
10:37 speech on "error"
10:52 demo showing when there is no sound the button comes up again
11:48 demo talking
13:39 coding the voices selecting page with button TALK https://zimjs.com/016/voices
14:28 basic code
14:44 speech on "voiceschanged"
15:54 list with selected voice need to be used also
17:03 you don't have to worry anymore about the lookup table of number of voice now
17:58 don't use a default voice because you don't know the computer-device voice is of the user
18:44 languages speak different so take care about that, it speaks with accent of the word
19:45 docs about speech https://zimjs.com/docs.html?item=Speech
20:47 end : join at https://forum.zimjs.com and https://discord.zimjs.com