Author Topic: Putting in a wait time  (Read 1780 times)

0 Members and 1 Guest are viewing this topic.

colboyxx

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Putting in a wait time
« 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

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Putting in a wait time
« Reply #1 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
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Putting in a wait time
« Reply #2 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

colboyxx

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Putting in a wait time
« Reply #3 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,

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Putting in a wait time
« Reply #4 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.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Putting in a wait time
« Reply #5 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
***********  get excited and make things  **********