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.

Using SRGS grammar for checklists

Featured Replies

I would like to create interactive checklists where the checklist item is read and I need to respond via voice. The voice recognition should just accept valid answers.

This works very good for simple answers like

Item: "GEAR PINS & COVERS", expected answer: "Removed"

[*removed*](SPEAK:Gear pins and Covers)

But how do I do it for more detailed replys like:

Item: "TO Speeds & Thrust", expected answer: something like "V1 One Two Five, VR One Two Five, V2 One Two Nine, Flex Fifty Two"

I was thinking to use a SRGS grammar mentioned in the AAOs documentation for voice recognition like:

<?xml version="1.0" encoding="UTF-8" ?>
<grammar version="1.0" xml:lang="en-US" xmlns="http://www.w3.org/2001/06/grammar" tag-format="semantics/1.0" root="Main">
	<rule id="Main">
		<one-of>
			<item>V1 <ruleref special="#GARBAGE"/> V2 <ruleref special="#GARBAGE"/> VR <ruleref special="#GARBAGE"/> Flex <ruleref special="#GARBAGE"/></item>
			<item>V1 <ruleref special="#GARBAGE"/> V2 <ruleref special="#GARBAGE"/> VR <ruleref special="#GARBAGE"/> take off thrust <ruleref special="#GARBAGE"/></item>
		</one-of>
	</rule>
</grammar>

But how can I use the SRGS grammar for checkists? Something like would be great but does not seem to work:

[TO Speeds and Thrust.xml](SPEAK:Takeoff speed and thrust)

Any other ideas or hints how this could be accomplished?

Thanks for your help,
Holger

Holger Schmid

  • Commercial Member

You may be able to work around this when you use the grammar in a button assignment - which then sends the "AAO_CL_CHECKED" event?

If it gets too complex, I would probably not use the checklist system but impelement the whole thing using the CONVERSATION feature and buttons. But that is just pure theory.

While I have never done this myself, I know just the person who has deeper knowledge and insight into this matter: @huha001.
He just completed a natural speech recognition framework for MSFS ATC:

Voice ATC Speech Recognition with AAO für Microsoft Flight Simulator | MSFS

That being said, I will look into the option to use XML grammars in the checklist system. But that is something for a future version of AAO.

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks for your help. I will try looking into conversations or the approach for using button assignments with voice using a supplied grammar. It might get complex though. Great that you consider integrating grammars into the checklist system 🙂

Greetings,
Holger

Holger Schmid

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.