Author Topic: Microsoft Flight Simulator 2020 PLUGIN  (Read 6050 times)

jane

  • Newbie
  • *
  • Posts: 49
Microsoft Flight Simulator 2020 PLUGIN
« on: July 10, 2021, 02:00:09 PM »
hi.
Environment: Plugin (see link below), MSFS 2020 running on SSD, Win10, VA

Plugin by: https://github.com/jamescl604/MSFSVoiceAttackPlugin/discussions
Similar note also posted at github. (Link above).

I try to set com 1 to a spoken value by saying: "Set com 1 to 200" (and some variants of that).

Is this command ment to set a new frequency for com 1?

Radios


VA startup


VA command expanded


Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #1 on: July 10, 2021, 02:14:22 PM »
Is the command recognized as the phrase you actually spoke when you speak it? I see that you posted about this on the linked GitHub as well, mentioning 'It wont work. (as soon as I said "to", It reports "not set".)'

Are you using Speech Platform 11?


The command you are attempting to use relies on dictation, meaning the speech recognition engine must be able to interpret what you are saying without any real context. If your speech recognition setup does not allow for accurate recognition even of predefined commands, you will find that dictation-based commands will not be reliable.
This is also the reason using wildcards (dictation) in command phrases is noted to be "somewhat unsupported" in the documentation.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #2 on: July 10, 2021, 03:37:31 PM »
I inquired about Speech Platform 11 as that does not support dictation at all (which could explain why a dictation-based command would not get recognized).
It is an alternative engine intended solely for predefined commands that does not need to be/cannot be trained, which would mainly be used when there is no SAPI engine available.
It is not installed by default.

Check whether the "Use Built-In SAPI Speech Engines" option is selected on the "System / Advanced" tab of the VoiceAttack options window to verify that you are using the SAPI engine rather than Speech Platform 11.

jane

  • Newbie
  • *
  • Posts: 49
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #3 on: July 10, 2021, 04:12:06 PM »
hi. Use built-in SAPI speech enginess and use built-in sapi text to peech syntrhesizers are  marked. regards

I inquired about Speech Platform 11 as that does not support dictation at all (which could explain why a dictation-based command would not get recognized).
It is an alternative engine intended solely for predefined commands that does not need to be/cannot be trained, which would mainly be used when there is no SAPI engine available.
It is not installed by default.

Check whether the "Use Built-In SAPI Speech Engines" option is selected on the "System / Advanced" tab of the VoiceAttack options window to verify that you are using the SAPI engine rather than Speech Platform 11.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #4 on: July 10, 2021, 04:23:51 PM »
How do you have the options on the "Recognition" tab of the VoiceAttack options window configured?

If you speak the phrase "Set com 1 to 200", what shows up in the log on the main window? Is it a "Recognized", or an "Unrecognized" entry?

Which speech recognition engine language are you using?

jane

  • Newbie
  • *
  • Posts: 49
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #5 on: July 10, 2021, 05:11:24 PM »
How do you have the options on the "Recognition" tab of the VoiceAttack options window configured?

If you speak the phrase "Set com 1 to 200", what shows up in the log on the main window? Is it a "Recognized", or an "Unrecognized" entry?

Which speech recognition engine language are you using?
Thanks for response. Ill answer later today (0100am local here).


jane

  • Newbie
  • *
  • Posts: 49
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #6 on: July 10, 2021, 05:58:23 PM »




Speech language set to English (United States)
Recognize non-native accents for this language, checked. (active)

regards



quote author=Pfeil link=topic=3952.msg18174#msg18174 date=1625955831]
How do you have the options on the "Recognition" tab of the VoiceAttack options window configured?

If you speak the phrase "Set com 1 to 200", what shows up in the log on the main window? Is it a "Recognized", or an "Unrecognized" entry?

Which speech recognition engine language are you using?
[/quote]

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #7 on: July 10, 2021, 06:07:57 PM »
Speech language set to English (United States)
Recognize non-native accents for this language, checked. (active)
Those options in the settings app would apply to Cortana, not the SAPI speech recognition engine. In addition, The SAPI engine is not designed to recognize non-native accents, and has no such option.

What is shown in VoiceAttack's log illustrates the main caveat with dictation-based (wildcard) commands: If the speech recognition engine doesn't recognize the exact phrase you're actually speaking, the command cannot be executed correctly, or at all.

You'll want to consider using a different method for recognizing numbers, that uses predefined phrases instead. This topic attempts to outline the main options.

jane

  • Newbie
  • *
  • Posts: 49
Re: Microsoft Flight Simulator 2020 PLUGIN
« Reply #8 on: July 10, 2021, 10:44:04 PM »
Sounds like a good idea. I will study the dynamic commands closer. Thanks.


Speech language set to English (United States)
Recognize non-native accents for this language, checked. (active)
Those options in the settings app would apply to Cortana, not the SAPI speech recognition engine. In addition, The SAPI engine is not designed to recognize non-native accents, and has no such option.

What is shown in VoiceAttack's log illustrates the main caveat with dictation-based (wildcard) commands: If the speech recognition engine doesn't recognize the exact phrase you're actually speaking, the command cannot be executed correctly, or at all.

You'll want to consider using a different method for recognizing numbers, that uses predefined phrases instead. This topic attempts to outline the main options.