News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

Vox reads Payload phrases to you

Started by Indy, March 02, 2014, 12:19:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Indy

Hello all,

Sorry, I searched the forums and I'm also digging through James Welcome Home XML but don't quite understand it completely how it comes all together so I thought I would ask for a little guidance.  Sorry if this has already been asked, please just point me to the thread.

I have built my first command with a payload to play Internet Music by genre which is my payload.  I simply say "Play Internet Radio <genre>" and that station I've assigned play's.  I have quite a few genre's I can choose from and I can't always remember what I called them exactly so it would be nice if I can sometimes say "Play Internet Radio" and have vox read me back the choices in my payload.  Also because it may be annoying to have to listen to 20+ choices every time before you can make a choice, can it be interrupted to listen again once you hear what you want to play that choice?  Any help or guidance is appreciated.  Love this software, its not as intimidating as it looks like at first  :bonk ;)


Kalle

#1
Hi Indy and welcome to VC-Forum.

I think this is the solution for you  ;)

http://voxcommando.com/forum/index.php?topic=1225.0

You can see two command-group "code-blocks". The first will read aloud all available alternates from your payloadXML and the second will show you how you can set a limit for the alternates which VC read aloud.


Kalle
***********  get excited and make things  **********


Indy

Thanks Kalle and James, I knew it was here, just need to put the right term into the search box to find it.  Let me play with them, hopefully I can figure it out.

Kalle, I see in your example that you give it 3 possible responses at a time, is it possible to read all of them but be interrupted when you hear the right one?  Or is this the workaround that you give 3 at a time and wait for a response and if not, give 3 more?

jitterjames

You can use TTS.Stop, but this will only work if you are using TTS.Speak, it won't work with TTS.SpeakSync because with speaksync VC is essentially frozen until the TTS finishes

<?xml version="1.0" encoding="utf-16"?>
<command id="41" name="stop talking" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Stop</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>stop talking, that's enough, ok got it</phrase>
</command>

Indy

Genius thats good, thanks, going to try it when I get a minute.  Thanks for the help James and Kalle

Kalle

***********  get excited and make things  **********