Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Communication between Voiceattack and AAO

Featured Replies

Hello!

I’m having a bit of a issue regarding voice controlling the aircraft using voice attack and AAO , so all the simple commands are working fine , but because I fly a lot in vr I also would like to say ”heading 234” or ”altitude 1500” and let voice attack send that number to AOO that executes the command and changes to the said value, but I don’t really know wich way is the best to do this and how to actually make it work, is there anyone else that has this combo and can assist ? Why I’m writing in this forum is because I already got voice attack to capture what I say and separates the word from the numbers.

  • Author

well ive tried, but im having issues understanding how AAO is taking in different numbers , for example, voiceattack i can use "Set altitude [0..5000]" and then use {CMDSEGMENT.1} to make it take out and understand what number i said within the span, but how do i do this with AAO i dont understand, ive only managed to make it work with one static number for example "Heading 245" --> sets heading 245.

maybe im missing something thats available but im kinda new to both programs, ive been using streamdeck and already made profiles before , but its hard to see the streamdeck through my vr so i thought it would be interesting with voicecontrol :D

  • Author

with the simple commands like "start enginge" i send them just with keyboardinputs from VA to aao

  • Commercial Member

11 minutes ago, Parme said:

maybe im missing something thats available

AAO Manual, Chapter 4 "Voice recognition", section about "Numerical input"

The issue with AAOs voice recognition is, that it relies on the Windows Voice Engine, which for some people is working fine, for others it isn't. There are additional plugins for AAO that improve on that, like the "Cortana Bridge".

As for VR: you can display the StreamDeck as a gauge in VR. Check out "Streaming the StreamDeck" on the AxisAndOhs Downloads page: Downloads - AXIS AND OHS

LORBY-SI

  • Author

okey so you would suggest that i try with AAO voice recognition instead of VA?

i have not yet started to figure out how to send information from VA to AAO but that is maybe really hard?

  • Commercial Member
4 minutes ago, Parme said:

that is maybe really hard?

Yes, bordering on impossible. I have no idea how to do that.

The obvious solution would be if VA would access AAOs WebAPI - and I am very sure that it doesn't.

But I know nothing about VA or its capabilities, so I couldn't say if there is a really esoteric detour (like using an AAO webpage or Javascript as intermediate). In any case, this is quite the project you have there.

If the built in voice recognition would work for you, that would be CONSIDERABLY easier.

Edited by Lorby_SI

LORBY-SI

  • Commercial Member

Appatently, VA has a plugin system. So it should be possible for you to write a plugin that processes your voice input, wraps it into suitable RPN code and send that to AAO via the WebAPI.

Or maybe someone already made a plugin that talks directly to the sim?

Edited by Lorby_SI

LORBY-SI

  • Author

well, im getting issues already , ive decided to try cortana bridge with AAO and installed it and created a PTT , but nothing is registred when im trying to assign a event with my voice, it seems i dont have cortana on my win 11 pc and it seems hard to get it cus microsoft seemed to have removed it

  • Author

i get this error when i press PTT

CortanaBridge

Cannot start speech recognition. the text associated with this error code could not be found.

  • Commercial Member

"Cortana Bridge" is just a name to differentiate it from the normal Windows Voice Rec. It doesn' need the actual "Cortana" subsystem.

But I haven't used it in years, maybe something did change in Windows.

I would recommend not to start running. Try the default Windows engine first.

And look around for a VoiceAttack MSFS plugin.

Edited by Lorby_SI

LORBY-SI

  • Commercial Member

I've just tested the Cortana Bridge. I've downloaded the ZIP from the AAO website and followed my own PDF instructions regarding installation and setup in AAO (scripts and config).

Initially I got the same error as you, but that went away when I reattached my microphone... apparently I disconnected that at some point (I recently had PSU trouble). After a restart the bridge started to work normally.

Edited by Lorby_SI

LORBY-SI

  • Author

well, i get it to work if i restart AAO and cortana bridge, but it only works a little while then it starts again...

but the code you got in the manual doesnt listen to the numbers, for me it just increment the altitude by 100. script looks like this

(L:VoiceRecNum) · (>K:AP_ALT_VAR_SET_ENGLISH)

  • Author

I actually found a plugin called msfs agent that’s for VA but it’s originally for 2020 but I will give it a go,

AOO voice recognition it’s not working so well for me sadly

  • Commercial Member
3 hours ago, Parme said:

I actually found a plugin called msfs agent that’s for VA but it’s originally for 2020 but I will give it a go,

AOO voice recognition it’s not working so well for me sadly

OK, so I looked into it. There is a typo in the manual, the variable that holds the numerical value is called "(L:AaoVoiceRecNum)".
I would also recommend to run the "Voice Recognition Status" gauge, so you can see what is being picked up. I have to leave a significant pause between the text and the numerical value, and my microphone doesn't seem to be the best - the Bridge struggles to pick up the correct numbers.

Edited by Lorby_SI

LORBY-SI

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.