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?
#21
(translated by Google translator)

You have so interesting here.  Smile
I'm already starting to think about how to connect this with my SB neurons.  Rolleyes
Reply
#22
As a test I installed new language on Windows 11 PC (en-US).  This is a big download and install.

With this I am able to switch between en-GB and en-US locales on PC (requires logout and login to change full OS language) and in SB using LDUtilities.CurrentCulture.

I would still recommend just using the locale set in your OS and corresponding appropriate vocabulary.  Best results will be with a small vocabulary of essential words and I found it also works better with short phrases ratther than single words in many cases, since the recognition is trying to find the best match to what it hears in its set vocabulary.  Doing the Windows voice recognition training is also pretty much essential.
Reply
#23
Another small update for the speech debug (1.2.29.10) and some code to see how the default dictionary works (or doesn't!).  Also a good mic well positioned helps.

Code:
TextWindow.WriteLine("Say something...")
LDSpeech.DebugMode = "True"
LDSpeech.Listen = OnListen

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

Sub OnListen
  TextWindow.WriteLine(LDSpeech.LastSpoken)
EndSub

Smile
[-] The following 1 user Likes litdev's post:
  • Scout
Reply
#24
The standard dictionary is probably a funny AI. Smile

The self-defined dictionary works very well though.
You can even mix German and English words. Exclamation 

I am just not allowed to use German special characters like ä ö ü ß
[-] The following 1 user Likes Scout's post:
  • litdev
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)