Striped Banana's Forum Posts

  • Hello.

    Could someone please help me? Speech recognition does not work in the .EXE version of my game I get when I export to Node Webkit. I have tried it on two different computers, one with windows 8, and one with windows 7. The speech recognition works when I preview in Google Chrome, so I know the events work. I have set up events so if the game is compatible with speech recognition on it's current platform, a Text object will read "Compatible!". If speech recognition is not compatible on it's current platform, the Text object will read "Sorry...". On both PCs the Text object reads "Compatible!", and each computer's microphones are on, but for some reason, it will not recognize speech

    Any help would be sincerely appreciated.

    Thanks in advance!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi. I've been working on something very similar (a character that I can talk to), and I think I can help.

    Try this:

    (Global Text variable): "YouSaid"

    (System: On Start of Layout): UserMedia: Request speech recognition (language "en-US", Continuous mode, Interim restults)

    (UserMedia: On speech recognition result): System (Set YouSaid to UserMedia.InterimTranscript)

    (Sub Event) (System:YouSaid = hello): UserMedia: Speak text "Hi, there" (language "en-US", voice URI "", volume 1 dB, rate 1, pitch 1

    This should work. Tip: the only web browser (at least that I know of) that supports the UserMedia object is Google Chrome, which is free. You can get it from: You will need to set it as your preview browser under "Configuration Settings", which is in "Project Properties".

    You will also need a microphone that is either plugged into your computer (Like one with a USB cord) or one that is built into your computer (like some laptops).

    I hope that helped!