Author Topic: Errors on VoxCommandoSP.exe startup  (Read 1953 times)

0 Members and 1 Guest are viewing this topic.

ih8gates

  • Jr. Member
  • **
  • Posts: 12
  • Karma: 1
    • View Profile
Errors on VoxCommandoSP.exe startup
« on: February 07, 2015, 10:37:10 AM »
I'm giving Kinect audio with VC a try. I installed the Kinect SDK with no errors. When I start VoxCommandoSP.exe, I get an error stating "Error opening group srgs file" with a list of errors (see attached files). After dismissing that, I get another error dialog that reads "Failed to create cfg" (also attached).

Did I miss a step? Voice recognition seems to be working OK although it seems a bit pickier than with my previous mic (I have to enunciate more clearly).

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Errors on VoxCommandoSP.exe startup
« Reply #1 on: February 07, 2015, 10:48:28 AM »
No you just need to edit the group in question so that it does not have so many payload commands in it.  Either delete the ones you don't need or break it up into two groups.

This is a Windows bug and it has been discussed on the forum before but I don't feel like digging up links right now.  It affects both the standards and SP speech engines but seems to happen more frequently with SP.

Note that you don't necessarily need to use SP in order to use the Kinect.  Try both.  If it understands you well in the non-SP version then stick with that since it's generally better.

ih8gates

  • Jr. Member
  • **
  • Posts: 12
  • Karma: 1
    • View Profile
Re: Errors on VoxCommandoSP.exe startup
« Reply #2 on: February 07, 2015, 11:11:53 AM »
Thanks for the quick reply. I'll see if I can figure that out.

I'm getting lots of false positives with the Kinect using the non-SP version, so I'll experiment more with SP.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Errors on VoxCommandoSP.exe startup
« Reply #3 on: February 07, 2015, 11:21:59 AM »
For starters you should reduce the input level of the Kinect microphone to something like 10% instead of 100%.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Errors on VoxCommandoSP.exe startup
« Reply #4 on: February 07, 2015, 04:03:40 PM »
Here is a new version of that group that should work.  You can delete the old group named "Kodi Payload Actions" and then copy and paste the following into your tree.

Or if you are still using a stock config, you can replace the file "voicecommands.xml" in your root VC folder with the attached file instead.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.8-->
<commandGroup open="False" name="Kodi Payload Actions" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="354" name="Seek to {1}%" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>Player.GetActivePlayers</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegEx</cmdType>
      <params>
        <param>"playerid": (.*),</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>Player.Seek</param>
        <param>"value":{1},"playerid":{Match.1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>seek, seek to</phrase>
    <payloadList>0,5,10,20,30,40,50,60,70,80,90,99,100</payloadList>
    <phrase optional="true">percent</phrase>
  </command>
  <command id="318" name="setvolume" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="" loopMax="" description="">
    <action>
      <cmdType>XJson.SetVol</cmdType>
      <params>
        <param>{1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>set volume</phrase>
    <payloadList>5,10,15,20,30,40,50,60,70,80,90,100</payloadList>
  </command>
  <command id="418" name="zoom in/out multiple {1} {2}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>Input.ExecuteAction</param>
        <param>"action":"zoom{1}"</param>
      </params>
      <cmdRepeat>{2}</cmdRepeat>
    </action>
    <phrase>zoom</phrase>
    <payloadList>in,out</payloadList>
    <payloadList optional="true">1,2,3,4,5,10,15,20,25</payloadList>
  </command>
</commandGroup>