News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

Main Menu

Putting in a wait time

Started by colboyxx, September 10, 2013, 10:06:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colboyxx

Hi  all, I need to put in a wait time for the command to finish, before VC does the next command, can anyone help me on this if possible, thanks

Kalle

I'm not sure that I understand you correct, but the "VC.Pause" action pause a command.

http://voxcommando.com/mediawiki/index.php?title=Actions#Pause_2
***********  get excited and make things  **********

jitterjames

Hi colboyxx,

It is not clear what you want.  Probably you are not quite clear yet on the terminology, so your question could mean a lot of different things...  Anyway, try to provide more information about what you are trying to accomplish so we can try to help.

If you just want to do a short pause between actions you can use VC.Pause

http://voxcommando.com/mediawiki/index.php?title=Actions#Pause_2

colboyxx

Ok sorry guys, well when I ask VC for the weather it starts to tell me the forecast, but towards the end it starts to pick up its own voice as it tells me the weather, I wondered if I could set some kind of delay so she finishes the forecast before she moves on to the next command,

jitterjames

What do you mean by "next command" ?

If VC is hearing its own TTS then you are going to have endless problems.  You need to reevaluate your speaker / microphone setup.

If you want you can turn VC off, then use TTS.SpeakSync, then turn VC back on.

Kalle

I think you mean with next "command" next "action" - so change each TTS.Speak "action" in your command with a TTS.SpeakSync "action". This action allowed VC to speak finish the text in this action before it execute the next "action" in you command.

short explanation:
A command in VC is the "lightning" symbol in the command tree and a command can contains one or many "actions".

I hope this help
***********  get excited and make things  **********