VoxCommando Forum

General Discussion => General Discussion => Topic started by: colboyxx on September 10, 2013, 10:06:01 AM

Title: Putting in a wait time
Post by: colboyxx on September 10, 2013, 10:06:01 AM
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
Title: Re: Putting in a wait time
Post by: Kalle on September 10, 2013, 10:30:59 AM
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 (http://voxcommando.com/mediawiki/index.php?title=Actions#Pause_2)
Title: Re: Putting in a wait time
Post by: jitterjames on September 10, 2013, 10:32:14 AM
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
Title: Re: Putting in a wait time
Post by: colboyxx on September 10, 2013, 11:02:58 AM
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,
Title: Re: Putting in a wait time
Post by: jitterjames on September 10, 2013, 11:10:18 AM
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.
Title: Re: Putting in a wait time
Post by: Kalle on September 10, 2013, 11:38:03 AM
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