We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Voice recognition?
#18
Hi,

I have tested my current version on Win 10 and Win 11, both working for me.

Since you are still having issues I have updated the beta version (1.2.29.9) of the extension to include a DebugMode option.  This will fire the Listen event when any speech is detected, even it is not reccognised by the vocabulary.  Test program below:

Please try after setting up speech recognition on your PC in prefered language.  Do NOT try to change the locale in the SB code at the moment.

Code:
vocab[1] = "red"
LDSpeech.DebugMode = "True"
LDSpeech.Vocabulary(vocab)
LDSpeech.Listen = OnListen

While ("True")
  Program.Delay(10)
EndWhile

Sub OnListen
  TextWindow.WriteLine(LDSpeech.LastSpoken)
EndSub
Reply


Messages In This Thread
Voice recognition? - by Yumda - 09-19-2024, 05:33 AM
RE: Voice recognition? - by AbsoluteBeginner - 09-19-2024, 07:30 AM
RE: Voice recognition? - by Yumda - 09-19-2024, 10:03 AM
RE: Voice recognition? - by litdev - 09-19-2024, 10:40 AM
RE: Voice recognition? - by Yumda - 09-19-2024, 11:23 AM
RE: Voice recognition? - by Yumda - 09-19-2024, 02:18 PM
RE: Voice recognition? - by litdev - 09-19-2024, 02:56 PM
RE: Voice recognition? - by jrmrhrb00 - 09-19-2024, 06:09 PM
RE: Voice recognition? - by Scout - 09-19-2024, 09:27 PM
RE: Voice recognition? - by litdev - 09-19-2024, 11:35 PM
RE: Voice recognition? - by Yumda - 09-20-2024, 02:40 AM
RE: Voice recognition? - by Yumda - 09-20-2024, 07:48 AM
RE: Voice recognition? - by litdev - 09-20-2024, 10:25 AM
RE: Voice recognition? - by Yumda - 09-20-2024, 11:29 AM
RE: Voice recognition? - by litdev - 09-20-2024, 03:42 PM
RE: Voice recognition? - by Scout - 09-20-2024, 05:23 PM
RE: Voice recognition? - by Yumda - 09-21-2024, 01:47 AM
RE: Voice recognition? - by litdev - 09-21-2024, 09:19 AM
RE: Voice recognition? - by Yumda - 09-21-2024, 09:57 AM
RE: Voice recognition? - by litdev - 09-21-2024, 10:17 AM
RE: Voice recognition? - by AbsoluteBeginner - 09-21-2024, 10:22 AM
RE: Voice recognition? - by litdev - 09-21-2024, 10:45 AM
RE: Voice recognition? - by litdev - 09-23-2024, 12:36 PM
RE: Voice recognition? - by Scout - 09-23-2024, 07:01 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)