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.

need some help (regarding Doug Dawson's XML sound gauge)

Featured Replies

Hi to all...

 

I am looking into adding an aural alert sound for the FS9 default king air altitude selector, that will sound off once the altimeter reading passes 1,000ft before the selected altitude on the selector, and will sound off again intermittently when the altimeter reading drifts 200ft above or below the selected altitude on the selector... (I already have the .wav file for the sound)

 

I was looking at Doug's XML sound gauge to facilitate the feature, but I'm getting confused by how to properly code it, plus, I'm having difficulty as to finding the .ini file being mentioned in the readme...

 

if anyone has a complete or detailed tutorial on how to use/configure the gauge for this purpose, it will be much appreciated... I think I can figure out what to do from there on in from my (still very) limited coding experience

 

thanks much!

 

(I downloaded the version 5.2.0 of the gauge from his site)

 

[Config]

MaxSounds=70

 

 

[sounds]

Sound00=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/ALERT.wav

Sound01=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/BEEP.wav

Sound02=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/VOICE_V1.wav

Sound03=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/VOICE_VR.wav

Sound04=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/engine fire bell.wav

Sound05=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/Conc_sign.wav

Sound06=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/Attend3.wav

Sound07=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/button.wav

Sound08=./Aircraft/DMFS Shared Files/Vickers SVC10 Panel/click.wav

etc

etc

 

[LVars]

Lvar00=DM SOUND ALERT

Lvar01=DM SOUND BEEP

Lvar02=DM SOUND V1

Lvar03=DM SOUND VR

Lvar04=Sound_Fire

Lvar05=Sound_sb

Lvar06=Sound_Attend3

Lvar07=Sound_button

Lvar08=Sound_click

etc

etc

Actual gauge

<!-- Cabin Pressure Aural Warning -->

   <Element>

      <Select>

         <Value>(L:Cabin_Alt_ind,number) 10000 > (L:ALT_PRESSED,bool) 0 == and

if{ 2 (>L:DM SOUND BEEP,number) } els{ 0 (>L:DM SOUND BEEP,number) }</Value>

      </Select>

   </Element>

 

This may help you. Make sure that in the ini file you have a high enough number for max sounds. You need under [sounds] to create a link to the actual wav. file. Under [LVars] create the L var name. Make sure that the sound number agrees with the lvar number. Then when you create the gauge use the lvar from the ini file. Use number because there are three variables 0 to turn the sound off, 1 to play it once and 2 to repeat the sound.

3VlzBGn.jpg?1

Super VC10 into LOWI with PF3 at a cinema near you

https://www.youtube.com/watch?v=298UDyNmgUA

 

  • Author

much thanks for the reply

 

one question, where do I find the .ini file? or will it be automatically generated when I code the gauge into the panel.cfg file?

 

EDIT: ok I think I found the file, much thanks again!

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.