Author Topic: Finishing off a text to speak command  (Read 1406 times)

johncook19@hotmail.com

  • Newbie
  • *
  • Posts: 4
Finishing off a text to speak command
« on: February 24, 2022, 02:28:41 AM »
Hi guys, need some advice.

I want to have a long text-to-speak command to complete the “speak” before moving on to the next command (which will be a user voice input). The problem is that the program starts the “speak” but immediately recognises the speak as the next user voice input.

I want a checklist like this:
Computer says: turn on battery, alternator and lights
I say: check.

I know I could insert a “pause” for a few seconds while the “speak” is done but that is a pain and ruins the immersion.

Any ideas?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4785
  • RTFM
Re: Finishing off a text to speak command
« Reply #1 on: February 24, 2022, 02:36:50 AM »
Are you saying the text-to-speech output is recognized as a spoken command? If so, you have some type of crosstalk between your recording device and your playback device.

Are you using a (USB) headset, as is recommended? Speakers and a desktop microphone, for example, would be a near worst-case scenario, as the microphone will obviously pick up what comes out of the speakers.


If you are using a configuration like the latter, and have no alternatives, you can try enabling the "Wait until speech completes before continuing command" option for the "Say Something with Text-To-Speech" action, which will, as the name suggests, wait until the TTS playback is complete, before moving on to the next action in the command.

johncook19@hotmail.com

  • Newbie
  • *
  • Posts: 4
Re: Finishing off a text to speak command
« Reply #2 on: February 24, 2022, 02:47:54 AM »
Yes it is the latter configuration. Thanks for the suggestion, I will try that. Only just started using this, so still getting to grips with it. Appreciate the very quick assistance!  :)