Author Topic: Command exec in ED  (Read 1848 times)

0 Members and 1 Guest are viewing this topic.

AndrewZAP1977

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Command exec in ED
« 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? :(

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Command exec in ED
« Reply #1 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?
***********  get excited and make things  **********

AndrewZAP1977

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Command exec in ED
« Reply #2 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!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Command exec in ED
« Reply #3 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.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Command exec in ED
« Reply #4 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
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

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Command exec in ED
« Reply #5 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?

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Command exec in ED
« Reply #6 on: October 18, 2015, 01:03:43 PM »
Do you mean, how can you focus a specific program window?

e.g.

Code: [Select]
<?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

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Command exec in ED
« Reply #7 on: October 19, 2015, 09:19:37 AM »
Thanks, it is it !