Author Topic: Can voxcommando say, "I'm ready" when it's in ready state after starting?  (Read 2234 times)

0 Members and 1 Guest are viewing this topic.

stepppedup

  • $upporter
  • Jr. Member
  • *****
  • Posts: 48
  • Karma: 0
    • View Profile
The reason I ask is my voxcommando takes a while to launch, and it would be nice to have it alert me when it's done loading?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
The reason I ask is my voxcommando takes a while to launch, and it would be nice to have it alert me when it's done loading?
Yes he can, create a event with LogicCommandBuilder (if - then) "look at history Window first, what VC do when load" an let it play a wav file.

e.g.: if  "VC.on"
       then "Sound.PlayWav" with path of an wav-file
« Last Edit: April 11, 2011, 07:06:59 AM by Kalle »
***********  get excited and make things  **********

stepppedup

  • $upporter
  • Jr. Member
  • *****
  • Posts: 48
  • Karma: 0
    • View Profile
Cool - - thanks!

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Cool - - thanks!

no problem, but take a look in to the options-menue, there is a point to load soundfiles for VC event.

General Tab

Here you can set general options for the operation of VoxCommando.

    Select which sounds to play for basic events.
    Adjust the confidence required for VoxCommando to execute your command.
    Enable prefix mode and choose your prefix phrase.
    Enable OSD (on screen display) which pops up your command and possible alternate commands when recognized.
    Set the idle timeout. (after n seconds of not recognizing any commands, VC will revert to Standby mode (yellow).
    Select which voice to use for the TTS (text-to-speech) engine. (If you have additional sapi-compatible voices installed on your OS.)
    Set UDP ports to listen and broadcast on (if needed)
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
the event you are looking for is:

 VC.Loaded

you don't need to use any logic, just use TTS or play a wav when this event is fired.

If you do a quick restart you'll get this event after loading:

 VC.RebuildComplete

I probably need to look at all the ways of restarting and check that I am being consistent, but this should work for now.

stepppedup

  • $upporter
  • Jr. Member
  • *****
  • Posts: 48
  • Karma: 0
    • View Profile
Thank all - attached is the xml file in case someone else later has any questions on how to do this - and here's a screenshot on how to do this:





jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Hey Steppped Up.  You can drag events from the history window on to a command as well, if you like, then correct spelling is assured.

I thought you had already seen this, but in case you have not...



I need to get organized soon and put all the tutorials in one place on the main site!