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.

XML Gauges and Sound

Featured Replies

It's possible to play a sound from and XML aauge?

Hi,From all information to date it is not possible to control a sound file directly from XML. However, I have seen one post somewhere from someone who compiled a sound gauge (using C) contolled by a global variable which he did not use on his aircraft, and then used an XML gauge to control the variable.I am currently looking at doing that myself, but to date cannot vouch for it effectivenessif you wish to try it :-lolTrevor.

This sounds very interresting. I'm currently working on a rather complex GA panel, with xml gauges, but I miss the sounds. I don't know anything about C either, and don't have the time to learn :). Could you hint me if you get this working?Is it a static sound, or can you somewhat control which sound is played for each gauge?

Trevor,I would be very interested in connecting XML and C gauges. My firstattempts did not work but then I might just have tried the wrong thing. Can you remember where the post was that you have seen?ThanksKosta

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.