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.

PTT Setup for Altitude command in MSFS 2024

Featured Replies

In looking at the manual, it looks like I have to have a PTT button for input variables, such 22000 (used to set altitude). So, I'd have to press the PTT button while I say Set altitude to 22000, then release the PTT button to capture the numerical input (22000). I'm not sure I want to do that...as I use PTT for FSHUD ATC...also, Voice Attack did not require the PTT for numerical input...is there another way?

I tried using Voice to activate AAO_VOICEREC_ON, but it did not work.

I also added another Button assignment to add AAO_VOICEREC_OFF via voice, but it also did not work.

So, I'm not sure if I'm creating these incorrectly, or they do not work via voice...

Edited by flyblueskies
Added more detail.

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Commercial Member

Did you read the whole chapter? There is a typo in the very first example - the name of the LVar with the numerical input is incorrect. But it is correct on the subsequent pages: (L:AaoVoiceRecNum). Also, for simple assignments, you don't have to use this variable at all - there is also an example for that in the chapter.

Other than that, yes, PTT is mandatory for this.

I would also recommend to use the "Voice Recognition Status" gauge in AAO, so you can see what is being picked up (or not).

Edited by Lorby_SI

LORBY-SI

  • Author
20 minutes ago, Lorby_SI said:

Did you read the whole chapter? There is a typo in the very first example - the name of the LVar with the numerical input is incorrect. But it is correct on the subsequent pages: (L:AaoVoiceRecNum). Also, for simple assignments, you don't have to use this variable at all - there is also an example for that in the chapter.

Other than that, yes, PTT is mandatory for this.

I would also recommend to use the "Voice Recognition Status" gauge in AAO, so you can see what is being picked up (or not).

Do you have any screenshots showing how to activate and deactivate PTT with voice?

Since I want to capture numerical data (altitude), I have to use PTT with the voice command: Set altitude!

Then, of course, I need to setup my PTT button with AAO_VOICEREC_ON and AAO_VOICEREC_OFF.

When I do this, it all works...I see the data, including the altitude, in the Voice Recognition Status gauge.

I simply want to replace the PTT button with voice commands...after reading about this, it really does not show examples of this...what I tried did not work.

Could you put together screenshots of this?

Edited by flyblueskies

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Commercial Member
18 minutes ago, flyblueskies said:

Could you put together screenshots of this?

I have no idea if that even works (or rather, I am almost certain that it doesn't, because it is not supposed to).

ON and OFF are supposed to be used with a "push-and-hold" button. If anything, that it can possibly only work using the "TOGGLE" event. But I doubt that it is that easy.

The entire logic just wasn't made for this use case.

Edited by Lorby_SI

LORBY-SI

  • Commercial Member

I thought about this for a while, and I don't think you can do it like that. It is logically impossible -the moment that you send the OFF event, voice recognition is turned off, and you can't get it back with a voice command.

What I did instead is use a "commit" command with an RPN script, and that seemed to work. My script sends the OFF, waits for a second, and then it turns speech recognition back on. So I just say "set altitude two thousand", and then I add "commit".

  • Create a new button assignment

  • Set the Key Down Event to "MAN" with the green button below the event box.

  • Select "RPN" as the event type

  • Enter this code into the box:
    1 (>K:AAO_VOICEREC_OFF) (SPLIT:1000) 1 (>K:AAO_VOICEREC_ON)

  • Select Device "Voice"

  • Enter "commit" as the assigned button/key (or whatever you like)

  • Save

Make sure that there is no other button that is calling AAO_VOICEREC_ON or AAO_VOICEREC_TOGGLE!

Also, be mindful that this will not work with the Bridges, only default Windows Speech recognition. The Bridges cannot be used with an "open mic" (at least that is what I remember about them)

Edited by Lorby_SI

LORBY-SI

  • Author

Thank you! I'll give this a try.

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Author

Ok, I've got it somewhat working. It is now capturing the altitude without pressing the PTT button. But, it is not activating the script to pass the altitude to MSFS 2024.

Here's what I have:

The COMMIT RPN:

FDgsrEn.png

The voice command to activate my Altitude Script, passing to MSFS 2024:

IeFGhk1.png

The voice Recognition of my Altitude! button event (as shown above):

9xyBxW8.png

My Voice Recognition of COMMIT:

CXxz0ep.png

My VoiceApG1000Alt script:

qWs3mgl.png

My Script Processing Window, which shows the script above did not process:

OA3PxBp.png

Not sure if this is enough information to help figure out what I'm doing wrong or need to add...

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Commercial Member
49 minutes ago, flyblueskies said:

Not sure if this is enough information to help figure out what I'm doing wrong or need to add...

Sorry, no idea. It is just working for me, without any fuss.

Only difference is, that I'm not using any external scripts, and that my numerical command is just a single item, not multiple ones (again, not sure if that even works - or if you just put one ! at the end?

Key down event for the commit looks wrong. This should be on MAN all the time, how did it end up looking like that?

Edited by Lorby_SI

LORBY-SI

  • Author

I figured it out...I had to create the commit script (instead of dropping into event box):

3eunKXn.png

Then I updated my commit button to use the script (see Key Down Event:)

DowTyhF.png

Once I did this, my RPN Script processing window displayed the scripts correctly:

I14BWiI.png

I really appreciate your help with this!

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Commercial Member
Just now, flyblueskies said:

figured it out...I had to create the commit script (instead of dropping into event box):

No. You are supposed to switch the box to "MAN" with the green button below it. Then select RPN, then input the script into the box.

Screenshot

Edited by Lorby_SI

LORBY-SI

  • Author
13 minutes ago, Lorby_SI said:

No. You are supposed to switch the box to "MAN" with the green button below it. Then select RPN, then input the script into the box.

Ok, I thought I did that first. I did click the green MAN button below the Key Down Event (but it was already chosen anyway). I may have simply pasted the script in without choosing RPN first...not sure. I'll try again the way you describe...but it is working the way I set it up the second time, including updating the G1000 altitude in MSFS 2024.

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

  • Author

Ok, I see what you're talking about now. I added the button as you described (but I used Please instead of commit). It works too.

BOYKqul.png

Again, thanks for all your help!

PC: AMD 9850X3D, RAM 64GB, Geforce GTX 5090 (32GB), MSFS 2020, MSFS 2024, Pimax Dream Air, Quest 3

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.