Author Topic: One Commad Gets Two Responses  (Read 2199 times)

Sluggo

  • Newbie
  • *
  • Posts: 13
One Commad Gets Two Responses
« on: February 09, 2024, 11:00:25 AM »
I have voice commands for bomber gun positions 1 thru 8 as "gun four, gun six"etc. I also have different salvos as "salvo four, salvo six" etc. The problem, when I say "salvo six" it does change my salvo count but also puts me in gun position six at the same time. How can I fix this ? Is there a way to train voice recognition with these commands ?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4767
  • RTFM
Re: One Commad Gets Two Responses
« Reply #1 on: February 09, 2024, 11:02:56 AM »
Is there a "Recognized" entry in the log on VoiceAttack's main window for each of the two commands you're mentioning, when this occurs?

Sluggo

  • Newbie
  • *
  • Posts: 13
Re: One Commad Gets Two Responses
« Reply #2 on: February 09, 2024, 12:49:25 PM »
No, just Recognized : salvo six.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4767
  • RTFM
Re: One Commad Gets Two Responses
« Reply #3 on: February 09, 2024, 12:51:29 PM »
What does your command contain? Right-click the action list, choose "Copy All as Text" from the context menu, then paste here into a code block (click the # button)

Also, which game is this for?

Sluggo

  • Newbie
  • *
  • Posts: 13
Re: One Commad Gets Two Responses
« Reply #4 on: February 09, 2024, 01:20:05 PM »
Press/ ? key and hold for 0.1 seconds and release
Quick Input, '.salvo 6'
Press Enter key and hold for 0.1 seconds and release
Play sound, "{VA_SOUNDS}\beep.wav"

The game is Aces High III.

I typed this in a .txt file. could not get the Copy All to work

 

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4767
  • RTFM
Re: One Commad Gets Two Responses
« Reply #5 on: February 09, 2024, 01:30:08 PM »
From the controls I could find, these "positions" are changed to using the numeric keys (above the alphabetical ones, I.E. not the numpad)

Perhaps the Enter keypress is following the "Quick Input" action too soon, so the press of the 6 key counts for both the field you're putting the command into, and switching views.

Try adding a pause between the "Quick Input" action and the Enter keypress action (E.G. 100ms)

SemlerPDX

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 280
  • Upstanding Lunatic
    • My AVCS Homepage
Re: One Commad Gets Two Responses
« Reply #6 on: February 09, 2024, 01:31:53 PM »
... could not get the Copy All to work

As Pfeil stated, you right-click anywhere in the action list, and select "Copy all as Text", then press CTRL+V to paste it somewhere:

Sluggo

  • Newbie
  • *
  • Posts: 13
Re: One Commad Gets Two Responses
« Reply #7 on: February 09, 2024, 02:36:56 PM »
I changed all salvos to 0.1.no help. Changed it up to 0.5 no help.
Also when I say "salvo 12" it put me into gun position 2. I try to enunciate clearly.
I am in a quite environment. I have changed the command to salvofour and  salvo   four
This is a Windows 10 64 bit computer. This occurs in DX9 and DX11 versions of the game.
Can I teach my computer to understand the voice commands better. I have an average confidence
level of 72 to 100.       

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4767
  • RTFM
Re: One Commad Gets Two Responses
« Reply #8 on: February 09, 2024, 11:49:24 PM »
What does the command('s action list) look like, at this point?


To be clear: if the log on VoiceAttack's main window shows that the command you were speaking was recognized (I.E. what was recognized matches what you said), this is not a speech recognition issue.

Sluggo

  • Newbie
  • *
  • Posts: 13
Re: One Commad Gets Two Responses
« Reply #9 on: February 10, 2024, 10:41:18 AM »
I got it to work. I added a 0.015 delay to the hold down and wait times to all Quick Input commands.
Now everything works great. One of the popups said something about DirectX Polling times. I tried different delay times, 0.015 appears to work the best. Thanks.