Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi Foxster. I saw this program you made and I wonder if it could also be used to i.e. write by using your voice? Oh and I tried to install it (even for gaming that would be good, since I have wrist problems, but it would be a lifesaver if it worked for writing/other programs as well) and it gave me an error message. On the program I can see that there is no new library opened, and if I try to create one, it gives the same error as when I opened it.

Below is a transcript of the error:

Object reference not set to an instance of an object.

Inner Exception: Empty

   at System.Speech.Internal.ObjectTokens.RegistryDataKey..ctor(String fullPath, RegistryDataKey copyKey)

   at System.Speech.Internal.ObjectTokens.ObjectTokenCategory..ctor(String keyId, RegistryDataKey key)

   at System.Speech.Internal.ObjectTokens.ObjectTokenCategory.Create(String sCategoryId)

   at System.Speech.Recognition.SpeechRecognitionEngine.InstalledRecognizers()

   at oQPjw3XBISnI3ZoZhWl2.JkHbDUJw5F(oQPjw3XBISnI3ZoZhWl2)

   at zQd7WjreSE5yZvY3pMZ.yIXDhQr5Lpfgld9wpAR..ctor()

   at FoxVox.MainWindow.QBvufRErA(Object  , RoutedEventArgs  )

   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Hi there, glad to see your desire to be creative with the app.  I'm not sure how well it will function for how you intend to use it, but certainly give it a try.  As for the error you report, this is a strange one.  The app is basically saying it is failing to find any qualified speech recognition modules on your system.  What language is your Windows installed with?  Can you check if there are any sub folders found in the following location:

Windows install path (default C:)\Windows\Speech\Engines\SR

For default English US for example there will be a folder call 'en-US'.

If you are finding at least one folder there, the issue may be due to a permissions error in the MS System.Speech module accessing the registry.  In that case, installing the app with the installer and possibly running it as an administrator could potentially solve the issue.  If there aren't any, then you don't have any recognition engines installed and you'll need to install one here:

Select the Start  button, then select Settings  > Time & Language > Speech

Please be aware:

  • Speech Recognition is available only for the following languages: English (United States, United Kingdom, Canada, India, and Australia), French, German, Japanese, Mandarin (Chinese Simplified and Chinese Traditional), and Spanish.

There are new languages supported using the MS Speech Platform 11 but FoxVox does not have those implemented currently.

I will add in some additional error handling to detect this issue more gracefully, but see if you can investigate what I suggested to try and solve it.

I looked into the folder inside Speech and it had a folder named TTS in which I found an en-US. I'll have to try the things you said and see if it works, will report my findings.