News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Command exec in ED

Started by AndrewZAP1977, October 18, 2015, 01:30:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AndrewZAP1977

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? :(

Kalle

When you say "control in game", I think you mean keyboard emulation. If yes, did you use the DXinput plugin or keysend action?
***********  get excited and make things  **********

AndrewZAP1977

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!

jitterjames

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.

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

AndrewZAP1977

Ok! Thanks all of you, guys.
One more little thing!
How can i focus VC to work with specific application?

nime5ter

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>
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

AndrewZAP1977