VoxCommando Forum

General Discussion => General Discussion => Topic started by: AndrewZAP1977 on October 18, 2015, 01:30:45 AM

Title: Command exec in ED
Post by: AndrewZAP1977 on October 18, 2015, 01:30:45 AM
Hi! Sorry about english! :)
I have strange issue using VC with Elite Dangerous:
I have list of commands in VC to control ED in game. It`s work perfect without ED launched (PC hears me very well, recognize and execute all my commands correctly).
With launched ED - VC hear (at least) and recognize me (i see it in VC window), but there are no reaction on my command in ED! I need repeat phrase 4-5 (or more) times to execute my voice command and have reaction in ED.
What is that? :(
Title: Re: Command exec in ED
Post by: Kalle on October 18, 2015, 05:51:26 AM
When you say "control in game", I think you mean keyboard emulation. If yes, did you use the DXinput plugin or keysend action?
Title: Re: Command exec in ED
Post by: AndrewZAP1977 on October 18, 2015, 06:50:18 AM
Yes, I use the DXinput plugin!
I have for example:
I say- "Eva, retract landing gear"
VC say me "Ok sir, landing gear retracting" with TTS and press "G" key with DXinput.
Without ED launched it work fine! (I hear "Ok sir, landing gear retracting" and see G letter in opened Notepad)
But with launched ED i must say "Eva, retract landing gear" several times!
Title: Re: Command exec in ED
Post by: jitterjames on October 18, 2015, 08:40:51 AM
Just to clarify:  After you give your commands several times with ED running. Does it eventually recognise you and execute the command properly?  When the command does not work, does it not work at all or does the TTS work but not the key press?  It would be more clear to us what is happening if you posted a log.

Assuming the problem is just that it does not understand you then I think there are two possibilities.

Most likely the game audio is interfering with your microphone input audio. Without knowing more about your setup it is hard to know. There are many possibilities. If the game is loud, be sure that your microphone is not picking up too much sound from your speakers.  Also check your audio input to make sure it is not set to record system audio (what you hear).

Another possibility is that the game is using all your CPU and there is not enough left for VoxCommando to work properly.

You may want to post on an Elite dangerous / VoxCommando Russian forum where there are many users that have more experience using the two programs together.

Simply lowering your required confidence in VoxCommando options may help, but without seeing a log I can't know for certain.
Title: Re: Command exec in ED
Post by: nime5ter on October 18, 2015, 08:45:39 AM
Here is how to activate and use the VoxCommando log:

http://voxcommando.com/mediawiki/index.php?title=Log
Title: Re: Command exec in ED
Post by: AndrewZAP1977 on October 18, 2015, 12:57:00 PM
Ok! Thanks all of you, guys.
One more little thing!
How can i focus VC to work with specific application?
Title: Re: Command exec in ED
Post by: nime5ter on October 18, 2015, 01:03:43 PM
Do you mean, how can you focus a specific program window?

e.g.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.9-->
<command id="342" name="Focus notepad and type {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Window.Focus</cmdType>
    <params>
      <param>notepad</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>DxInput.Type</cmdType>
    <params>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Focus notepad and type</phrase>
  <payloadList>hello, goodbye, go away!</payloadList>
</command>
Title: Re: Command exec in ED
Post by: AndrewZAP1977 on October 19, 2015, 09:19:37 AM
Thanks, it is it !