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.

Sound Gauge Wanted Please

Featured Replies

I have a wav file that I would like to play, once, when I click an icon on a panel in FSX. I have read Doug Dawsons info on his dsd3 sound gauge but I am not expert enough to use the info to make my own gauge. Would some kind soul please tell me how I can do this? Thanks and best regards, Bob.

Here is a simple example. In the XML gauge you will have a Mousearea for the gauge, inside that this example has a Mousearea for a switch that "clicks" and changes state (on/off).144.000,89.00050,50HandThe "1 (>L:ov_click2, number)" is telling the dsd_xml_sound gauge to play the "ov_click2" soundfile when you click the switch.The dsd_xml_sound gauge must be installed in the panel that uses the xml gauge.The dsd_xml_sound should be installed in the window00 section (and that window must be loaded and visible at panel startup) because it must be continuously updated by FS in order for sounds to actually play.The callout for the gauge must contain a reference to an .ini file that contains the sound references. Example:gauge62=dsd_xml_sounddsd_fsx_xml_sound3!dsd_xml_sound3, 266,320,20,, ./Gauges/707_xml_sound.iniThis says that the dsd_xml_sound gauge is located in the /Gauges/dsd_xml_sound/ folder (that's in the FS/Gauges/ folder). It also says that the .ini file is named 707_xml_sound.ini and is found in the /Gauges/ folder. Note the "." (period) before the "/Gauges/" in the callout line - without it the sound won't work.The .ini file can be placed anywhere including the folder that the panel is in, but it seems sensible (to me) to put it in the /Gauges/ folder as long as the .ini file has a unique name.Inside the .ini file are the references to your .wav files. Example:[LVars]Lvar00=ov_clickLvar01=ov_click2[sounds]Sound00=./Sound/707_xml_sound/ov_click.wavSound01=./Sound/707_xml_sound/ov_click2.wavIn this example the name from the xml gauge is placed in the LVars section. The actual soundfile name is placed in the Sounds section. The LVar name and the .wav name in the two .ini sections do not have to be the same, they are connected by the item number. It is helpful if the names are similar when setting up the file, you can always change .wav file names at any time. This .ini file tells us where the soundfiles are located - in the /Sound/707_xml_sound/ folder. Note the "." (period) in front of the "/Sound/" - without it the gauge won't make any sounds.

  • Author

Hi. Thanks. That's exactly what I needed. I really do appreciate the help. I copied it all to a text file for reference in the future. Your detailed explanation really helps me. Best regards, happy holidays, Bob.

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.