<?xml version="1.0"?>

<PropertyList>

    <params>
        <doors>
            <left>sim/multiplay/generic/float[1]</left>
            <right>sim/multiplay/generic/float[0]</right>
        </doors>
    </params>

    <fx>
        <crank>
            <name>engstart</name>
            <path>Sounds/engstart.wav</path>
            <property>/engines/active-engine/cranking</property>
            <position>
                <x>-1.0</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <volume>
                <offset>0.0592</offset>
            </volume>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </crank>

        <crank>
            <name>crank</name>
            <mode>looped</mode>
            <path>Sounds/cranking.wav</path>
            <condition>
                <property>/engines/active-engine/cranking</property>
                <not>
                    <property>/engines/active-engine/running</property>
                </not>
            </condition>
            <position>
                <x>-1.0</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <volume>
                <offset>0.0592</offset>
            </volume>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </crank>

        <crank>
            <name>cough</name>
            <path>Sounds/coughing.wav</path>
            <property>/engines/active-engine/running</property>
            <position>
                <x>-1.0</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <volume>
                <offset>0.0592</offset>
            </volume>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </crank>
        
        <crank>
            <name>killed</name>
            <path>Sounds/coughing.wav</path>
            <property>/sim/model/c172p/sound/click-coughing-engine-sound</property>
            <position>
                <x>-1.0</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <volume>
                <offset>0.0592</offset>
            </volume>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </crank>

        <engine>
            <name>engine</name>
            <mode>looped</mode>
            <path>Sounds/wasp.wav</path>
            <property>/engines/active-engine/running</property>
            <volume>
                <property>/engines/active-engine/mp-osi</property>
                <factor>0.025</factor>
            </volume>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <pitch>
                <property>/engines/active-engine/rpm</property>
                <factor>0.0004</factor>
                <min>0.0</min>
                <max>2.0</max>
                <offset>0.01</offset>
            </pitch>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </engine>

        <propeller>
            <name>propeller</name>
            <mode>looped</mode>
            <path>Sounds/wasp.wav</path>
            <condition>
                <greater-than>
                    <property>/engines/active-engine/rpm</property>
                    <value>10</value>
                </greater-than>
            </condition>
            <volume>
                <property>/engines/active-engine/rpm</property>
                <factor>0.0001</factor>
            </volume>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <pitch>
                <property>/engines/active-engine/rpm</property>
                <factor>0.0004</factor>
                <min>0.0</min>
                <max>2.0</max>
                <offset>0.01</offset>
            </pitch>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
        </propeller>
        
        <gyro>
            <name>gyro</name>
            <type>avionics</type>
            <mode>looped</mode>
            <path>Sounds/gyro.wav</path>
            <condition>
                <and>
                    <property>/controls/switches/master-avionics</property>
                    <greater-than>
                        <property>/systems/electrical/volts</property>
                        <value>5</value>
                    </greater-than>
                </and>
            </condition>
            <volume>
                <factor>0.13</factor>
            </volume>
            <position>
                <x>-0.3660</x>
                <y>-0.1000</y>
                <z>-0.0396</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </gyro>

        <rumble>
            <name>rumble</name>
            <mode>looped</mode>
            <path>Sounds/rumble.wav</path>
            <condition>
                <or>
                    <property>gear/gear[0]/wow</property>
                    <property>gear/gear[1]/wow</property>
                    <property>gear/gear[2]/wow</property>
                </or>
                <or>
                    <greater-than>
                      <property>/gear/gear[0]/rollspeed-ms</property>
                      <value>5</value>
                    </greater-than>
                    <greater-than>
                      <property>/gear/gear[1]/rollspeed-ms</property>
                      <value>5</value>
                    </greater-than>
                    <greater-than>
                      <property>/gear/gear[2]/rollspeed-ms</property>
                      <value>5</value>
                    </greater-than>
                </or>
            </condition>
            <position>
                <x>0.5</x>
                <y>0.0</y>
                <z>-1.15</z>
            </position>
            <volume>
                <property>velocities/groundspeed-kt</property>
                <type>log</type>
                <factor>0.25</factor>
            </volume>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </rumble>

        <rumble-scratch>
            <name>rumble-scratch</name>
            <mode>looped</mode>
            <path>Sounds/scratch.wav</path>
            <condition>
                <and>
                    <or>
                        <!-- Broken gear touching the ground -->
                        <property>/fdm/jsbsim/contact/unit[6]/WOW</property>
                        <property>/fdm/jsbsim/contact/unit[7]/WOW</property>
                        <property>/fdm/jsbsim/contact/unit[8]/WOW</property>

                        <!-- Tail strike -->
                        <property>/fdm/jsbsim/contact/unit[3]/WOW</property>
                    </or>
                    <or>
                        <greater-than>
                            <property>/gear/gear[0]/rollspeed-ms</property>
                            <value>5</value>
                        </greater-than>
                        <greater-than>
                            <property>/gear/gear[1]/rollspeed-ms</property>
                            <value>5</value>
                        </greater-than>
                        <greater-than>
                            <property>/gear/gear[2]/rollspeed-ms</property>
                            <value>5</value>
                        </greater-than>
                    </or>
                </and>
            </condition>
            <position>
                <x>0.5</x>
                <y>0.0</y>
                <z>-1.15</z>
            </position>
            <volume>
                <property>velocities/groundspeed-kt</property>
                <type>log</type>
                <factor>0.25</factor>
            </volume>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </rumble-scratch>

        <squeal>
            <name>squeal</name>
            <path>Sounds/squeal.wav</path>
            <condition>
                <and>
                    <or>
                        <property>gear/gear[0]/wow</property>
                        <property>gear/gear[1]/wow</property>
                        <property>gear/gear[2]/wow</property>
                    </or>
                    <less-than>
                        <property>velocities/vertical-speed-fps</property>
                        <value>-0.05</value>
                    </less-than>
                </and>
            </condition>
            <position>
                <x>1.0</x>
                <y>0.0</y>
                <z>-1.5</z>
            </position>
            <volume>
                <property>velocities/groundspeed-kt</property>
                <factor>0.01</factor>
                <max>1.0</max>
            </volume>
            <volume>
                <internal>dt_stop</internal>
                <factor>0.1</factor>
                <max>1.0</max>
            </volume>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <pitch>
                <property>velocities/groundspeed-kt</property>
                <factor>0.0025</factor>
                <offset>1.2</offset>
            </pitch>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </squeal>

        <flap>
            <name>flaps</name>
            <mode>in-transit</mode>
            <path>Sounds/flaps.wav</path>
            <property>surface-positions/flap-pos-norm</property>
            <position>
                <x>0.5</x>
                <y>0.0</y>
                <z>0.5</z>
            </position>
            <volume>
                <factor>0.8</factor>
            </volume>
            <reference-dist>1.0</reference-dist>
            <max-dist>200.0</max-dist>
        </flap>

        <wind-left>
            <name>wind-left</name>
            <mode>looped</mode>
            <path>Sounds/wind1.wav</path>
            <condition>
                <!-- Silence "Neither a condition nor a property specified" warning -->
                <true/>
            </condition>
            <position>
                <x>0.0</x>
                <y>1.5</y><!-- Position left of pilot -->
                <z>0.0</z>
            </position>
            <volume>
                <property>position/altitude-ft</property>
                <factor>-0.000015</factor>
                <offset>1.0</offset>
                <min>0.1</min>
                <max>1.0</max>
            </volume>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.0015</factor>
                <min>0.03</min>
                <max>0.25</max>
            </volume>
            <volume>
                <factor>0.7</factor> <!-- Arbitrary factor to attenuate wind -->
                <property>/sim/model/c172p/sound/volume-boost-left-door</property>
            </volume>
            <volume>
                <offset>-0.03</offset>
            </volume>
            <pitch>
                <property>velocities/airspeed-kt</property>
                <factor>0.0035</factor>
                <offset>1.25</offset>
            </pitch>
            <reference-dist>1.0</reference-dist>
            <max-dist>100.0</max-dist>
        </wind-left>

        <wind-right>
            <name>wind-right</name>
            <mode>looped</mode>
            <path>Sounds/wind1.wav</path>
            <condition>
                <!-- Silence "Neither a condition nor a property specified" warning -->
                <true/>
            </condition>
            <position>
                <x>0.0</x>
                <y>-1.5</y><!-- Position right of co-pilot -->
                <z>0.0</z>
            </position>
            <volume>
                <property>position/altitude-ft</property>
                <factor>-0.000015</factor>
                <offset>1.0</offset>
                <min>0.1</min>
                <max>1.0</max>
            </volume>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.0015</factor>
                <min>0.03</min>
                <max>0.25</max>
            </volume>
            <volume>
                <factor>0.7</factor> <!-- Arbitrary factor to attenuate wind -->
                <property>/sim/model/c172p/sound/volume-boost-right-door</property>
            </volume>
            <volume>
                <offset>-0.03</offset>
            </volume>
            <pitch>
                <property>velocities/airspeed-kt</property>
                <factor>0.0035</factor>
                <offset>1.25</offset>
            </pitch>
            <reference-dist>1.0</reference-dist>
            <max-dist>100.0</max-dist>
        </wind-right>

        <stall>
            <name>stall</name>
            <mode>looped</mode>
            <path>Sounds/stall2.wav</path>
            <condition>
                <and>
                    <greater-than>
                        <property>velocities/airspeed-kt</property>
                        <value>10</value>
                    </greater-than>
                    <not>
                        <property>gear/gear[0]/wow</property>
                    </not>
                    <or>
                        <property>/sim/current-view/internal</property>
                        <greater-than>
                            <property alias="/params/doors/left"/>
                            <value>0.5</value>
                        </greater-than>
                        <greater-than>
                            <property alias="/params/doors/right"/>
                            <value>0.5</value>
                        </greater-than>
                    </or>
                </and>
            </condition>
            <position>
                <x>-0.0360</x>
                <y>0.5174</y>
                <z>0.4831</z>
            </position>
            <volume>
                <property>/fdm/jsbsim/sounds/stall-horn-volume-actual</property>
            </volume>
            <pitch>
                <property>/fdm/jsbsim/sounds/stall-horn-pitch-actual</property>
                <offset>0.0</offset>
            </pitch>
            <reference-dist>0.5</reference-dist>
            <max-dist>50.0</max-dist>
        </stall>

        <kap140beep>
            <name>KAP140Beep</name>
            <type>avionics</type>
            <mode>looped</mode>
            <path>Sounds/stall.wav</path>
            <condition>
                <property>autopilot/KAP140/annunciators/beep/state</property>
            </condition>
        </kap140beep>

        <engine-repair>
            <name>engine-repair</name>
            <type>avionics</type>
            <mode>once</mode>
            <path>Sounds/repair.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-engine-repair</property>
            </condition>
        </engine-repair>

        <switch>
            <name>click-light-switch</name>
            <mode>once</mode>
            <path>Sounds/click.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-light</property>
            </condition>
            <position>
                <!-- Beacon switch -->
                <x>-0.3660</x>
                <y>0.1623</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-master-switch</name>
            <mode>once</mode>
            <path>Sounds/click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-master</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.4142</y>
                <z>-0.2996</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-avionics-switch</name>
            <mode>once</mode>
            <path>Sounds/click3.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-avionics</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.3350</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-circuit-breaker</name>
            <mode>once</mode>
            <path>Sounds/double-click.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-cb</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.2500</y>
                <z>-0.3000</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-parking-brake</name>
            <mode>once</mode>
            <path>Sounds/lever.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-parking</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.2000</y>
                <z>-0.4500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-magneto-forward</name>
            <mode>once</mode>
            <path>Sounds/keys2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-magneto-forward</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.3700</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-magneto-back</name>
            <mode>once</mode>
            <path>Sounds/keys.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-magneto-back</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>0.3700</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-flaps</name>
            <mode>once</mode>
            <path>Sounds/keys2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-flaps</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1900</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-ai-caged</name>
            <mode>once</mode>
            <path>Sounds/double-click.wav</path>
            <property>/sim/model/c172p/sound/click-ai-caged</property>
            <position>
                <x>-0.3660</x>
                <y>0.2250</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kma20-switch</name>
            <mode>once</mode>
            <path>Sounds/click3.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kma20</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.0300</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kx165-1-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kx165-1</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kx165-2-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kx165-2</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.0900</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kr87-adf-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kr87-adf</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.1300</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-dme-mode-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-dme-mode</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.1700</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-dme-power-switch</name>
            <mode>once</mode>
            <path>Sounds/click3.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-dme-power</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.1700</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-dme-source-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-dme-source</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.1700</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kap140-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click2.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kap140</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.2100</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kt76a-mode-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kt76a-mode</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.2500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
        </switch>

        <switch>
            <name>click-kt76a-ident-switch</name>
            <mode>once</mode>
            <path>Sounds/double-click.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kt76a-ident</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.2500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.5</factor>
            </volume>
        </switch>

        <dial>
            <name>dial-kt76a</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kt76a-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.2500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <dial>
            <name>dial-kx165-1</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kx165-1-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <dial>
            <name>dial-kx165-2</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kx165-2-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.0900</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <dial>
            <name>dial-kma20</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kma20-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.0600</y>
                <z>-0.0300</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <dial>
            <name>dial-kr87-adf</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kr87-adf-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.1300</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <dial>
            <name>dial-kap140</name>
            <mode>once</mode>
            <path>Sounds/scroll.wav</path>
            <condition>
                <property>/sim/model/c172p/sound/click-kap140-dial</property>
            </condition>
            <position>
                <x>-0.3660</x>
                <y>-0.1200</y>
                <z>-0.2100</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>

        <!-- in-transit sounds -->
        <dial>
            <name>dial-intl-lighting</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/controls/lighting/instruments-norm</property>
            <position>
                <x>-0.3660</x>
                <y>0.0350</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-radio-lighting</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/controls/lighting/radio-norm</property>
            <position>
                <x>-0.3660</x>
                <y>0.0350</y>
                <z>-0.3500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-horizon-offset</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.2250</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-heading-offset</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/heading-indicator/offset-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.2500</y>
                <z>-0.1500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-heading-bug</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/autopilot/settings/heading-bug-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.2000</y>
                <z>-0.1500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-altimeter</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/altimeter/setting-inhg</property>
            <position>
                <x>-0.3660</x>
                <y>0.1500</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-nav0-radial</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/nav[0]/radials/selected-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.0700</y>
                <z>-0.0400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-nav1-radial</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/nav[1]/radials/selected-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.0700</y>
                <z>-0.1500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-adf-rotation</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/instrumentation/adf[0]/rotation-deg</property>
            <position>
                <x>-0.3660</x>
                <y>0.0700</y>
                <z>-0.2500</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-egt-rotation</name>
            <mode>in-transit</mode>
            <path>Sounds/scroll.wav</path>
            <property>/engines/engine[0]/egt-bug-norm</property>
            <position>
                <x>-0.3660</x>
                <y>0.1400</y>
                <z>-0.2400</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>0.2</factor>
            </volume>
        </dial>
        <dial>
            <name>dial-trim-wheel</name>
            <mode>in-transit</mode>
            <path>Sounds/trim.wav</path>
            <property>/controls/flight/elevator-trim</property>
            <position>
                <x>-0.3660</x>
                <y>0.0500</y>
                <z>-0.5000</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>5.0</max-dist>
            <volume>
                <factor>1.0</factor>
            </volume>
        </dial>

        <left-door-opening>
            <name>left-door-opening</name>
            <mode>once</mode>
            <path>Sounds/door-opening.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/door-positions/leftDoor/position-norm</property>
                    <value>0.4</value>
                </greater-than>
            </condition>
            <position>
                <x>0.75</x>
                <y>0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </left-door-opening>

        <left-door-closing>
            <name>left-door-closing</name>
            <mode>once</mode>
            <path>Sounds/door-closing.wav</path>
            <condition>
                <less-than>
                    <property>/sim/model/door-positions/leftDoor/position-norm</property>
                    <value>0.5</value>
                </less-than>
            </condition>
            <position>
                <x>0.75</x>
                <y>0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </left-door-closing>

        <right-door-opening>
            <name>right-door-opening</name>
            <mode>once</mode>
            <path>Sounds/door-opening.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/door-positions/rightDoor/position-norm</property>
                    <value>0.4</value>
                </greater-than>
            </condition>
            <position>
                <x>0.75</x>
                <y>-0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </right-door-opening>

        <right-door-closing>
            <name>right-door-closing</name>
            <mode>once</mode>
            <path>Sounds/door-closing.wav</path>
            <condition>
                <less-than>
                    <property>/sim/model/door-positions/rightDoor/position-norm</property>
                    <value>0.5</value>
                </less-than>
            </condition>
            <position>
                <x>0.75</x>
                <y>-0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </right-door-closing>

        <baggage-door-opening>
            <name>baggage-door-opening</name>
            <mode>once</mode>
            <path>Sounds/door-opening.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/door-positions/baggageDoor/position-norm</property>
                    <value>0.0</value>
                </greater-than>
            </condition>
            <position>
                <x>1.85</x>
                <y>0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </baggage-door-opening>

        <baggage-door-closing>
            <name>baggage-door-closing</name>
            <mode>once</mode>
            <path>Sounds/door-closing.wav</path>
            <condition>
                <less-than>
                    <property>/sim/model/door-positions/baggageDoor/position-norm</property>
                    <value>0.06</value>
                </less-than>
            </condition>
            <position>
                <x>1.85</x>
                <y>0.6</y>
                <z>-0.35</z>
            </position>
            <reference-dist>0.2</reference-dist>
            <max-dist>50.0</max-dist>
        </baggage-door-closing>

        <pontoon-fast-left>
            <name>pontoon-fast-left</name>
            <mode>looped</mode>
            <path>Sounds/water-fast.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/c172p/sound/spray-wake-speed</property>
                    <value>5</value>
                </greater-than>
            </condition>
            <position>
                <x>0.0</x>
                <y>1.1</y>
                <z>-2.0</z>
            </position>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
            <volume>
                <property>/sim/model/c172p/sound/spray-wake-speed</property>
                <factor>0.03</factor>
                <offset>0.2</offset>
                <min>0.0</min>
                <max>1.0</max>
            </volume>
            <volume>
                <factor>1.142857142857143</factor> <!-- (1.0+0.6)/1.4 (offset = -0.6, max boost: 1.4) -->
                <property>/sim/model/c172p/sound/volume-boost-left-door</property>
                <offset>-0.6</offset>
            </volume>
        </pontoon-fast-left>

        <pontoon-fast-right>
            <name>pontoon-fast-right</name>
            <mode>looped</mode>
            <path>Sounds/water-fast.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/c172p/sound/spray-wake-speed</property>
                    <value>5</value>
                </greater-than>
            </condition>
            <position>
                <x>0.0</x>
                <y>-1.1</y>
                <z>-2.0</z>
            </position>
            <reference-dist>5.0</reference-dist>
            <max-dist>200.0</max-dist>
            <volume>
                <property>/sim/model/c172p/sound/spray-wake-speed</property>
                <factor>0.03</factor>
                <offset>0.2</offset>
                <min>0.0</min>
                <max>1.0</max>
            </volume>
            <volume>
                <factor>1.142857142857143</factor> <!-- (1.0+0.6)/1.4 (offset = -0.6, max boost: 1.4) -->
                <property>/sim/model/c172p/sound/volume-boost-right-door</property>
                <offset>-0.6</offset>
            </volume>
        </pontoon-fast-right>

        <pontoons-in-water-left>
            <name>pontoons-in-water-left</name>
            <mode>looped</mode>
            <path>Sounds/water-still.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/c172p/sound/spray-wake-speed</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <position>
                <x>0.0</x>
                <y>1.1</y>
                <z>-2.0</z>
            </position>
            <reference-dist>2.0</reference-dist>
            <max-dist>200.0</max-dist>
            <volume>
                <offset>-0.2</offset>
            </volume>
            <volume>
                <factor>1.142857142857143</factor> <!-- (1.0+0.6)/1.4 (offset = -0.6, max boost: 1.4) -->
                <property>/sim/model/c172p/sound/volume-boost-right-door</property>
                <offset>-0.6</offset>
            </volume>
        </pontoons-in-water-left>

        <pontoons-in-water-right>
            <name>pontoons-in-water-right</name>
            <mode>looped</mode>
            <path>Sounds/water-still.wav</path>
            <condition>
                <greater-than>
                    <property>/sim/model/c172p/sound/spray-wake-speed</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <position>
                <x>0.0</x>
                <y>-1.1</y>
                <z>-2.0</z>
            </position>
            <reference-dist>2.0</reference-dist>
            <max-dist>200.0</max-dist>
            <volume>
                <offset>-0.2</offset>
            </volume>
            <volume>
                <factor>1.142857142857143</factor> <!-- (1.0+0.6)/1.4 (offset = -0.6, max boost: 1.4) -->
                <property>/sim/model/c172p/sound/volume-boost-right-door</property>
                <offset>-0.6</offset>
            </volume>
        </pontoons-in-water-right>

        <thunder1>
            <name>thunder1</name>
            <mode>once</mode>
            <path>Sounds/thunder1.wav</path>
            <property>/sim/model/c172p/sound/click-thunder1</property>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors-thunder1</property>
            </volume>
        </thunder1>
        <thunder2>
            <name>thunder2</name>
            <mode>once</mode>
            <path>Sounds/thunder2.wav</path>
            <property>/sim/model/c172p/sound/click-thunder2</property>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors-thunder2</property>
            </volume>
        </thunder2>
        <thunder3>
            <name>thunder3</name>
            <mode>once</mode>
            <path>Sounds/thunder3.wav</path>
            <property>/sim/model/c172p/sound/click-thunder3</property>
            <volume>
                <property>/sim/model/c172p/sound/volume-boost-doors-thunder3</property>
            </volume>
        </thunder3>

        <rain>
            <name>rain</name>
            <mode>looped</mode>
            <path>Sounds/rain.wav</path>
            <condition>
                <greater-than>
                    <property>/environment/rain-norm</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <volume>
                <factor>0.7</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
                <offset>-0.6</offset>
            </volume>
        </rain>

        <rain-windshield>
            <name>rain-windshield</name>
            <mode>looped</mode>
            <path>Sounds/rain-windshield.wav</path>
            <condition>
                <and>
                    <greater-than>
                        <property>/environment/rain-norm</property>
                        <value>0</value>
                    </greater-than>
                    <property>/sim/current-view/internal</property>
                </and>
            </condition>
            <position>
                <x>-0.5</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.0015</factor>
                <min>0.03</min>
            </volume>
            <volume>
                <offset>0.1</offset>
            </volume>
        </rain-windshield>

        <crash>
            <name>crash</name>
            <path>Sounds/crash.wav</path>
            <condition>
                <or>
                    <property>/fdm/jsbsim/crash</property>

                    <!-- Main gear broken -->
                    <and>
                        <property>/fdm/jsbsim/gear/unit[1]/broken</property>
                        <property>/fdm/jsbsim/gear/unit[2]/broken</property>
                    </and>
                </or>
            </condition>
            <position>
                <x>-0.1</x>
                <y>0.0</y>
                <z>0.0</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>3.0</reference-dist>
            <max-dist>200.0</max-dist>
        </crash>

        <damage-left-wing>
            <name>damage-left-wing</name>
            <path>Sounds/damage.wav</path>
            <condition>
                <and>
                    <greater-than-equals>
                        <property>/fdm/jsbsim/wing-damage/left-wing</property>
                        <value>0.12</value>
                    </greater-than-equals>
                    <less-than>
                        <property>/fdm/jsbsim/wing-damage/left-wing</property>
                        <value>1.0</value>
                    </less-than>
                    <not>
                        <property>/fdm/jsbsim/crash</property>
                    </not>
                </and>
            </condition>
            <position>
                <x>-0.5</x>
                <y>-2.0</y>
                <z>0.5</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-left-wing>

        <damage-right-wing>
            <name>damage-right-wing</name>
            <path>Sounds/damage.wav</path>
            <condition>
                <and>
                    <greater-than-equals>
                        <property>/fdm/jsbsim/wing-damage/right-wing</property>
                        <value>0.12</value>
                    </greater-than-equals>
                    <less-than>
                        <property>/fdm/jsbsim/wing-damage/right-wing</property>
                        <value>1.0</value>
                    </less-than>
                    <not>
                        <property>/fdm/jsbsim/crash</property>
                    </not>
                </and>
            </condition>
            <position>
                <x>-0.5</x>
                <y>2.0</y>
                <z>0.5</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-right-wing>

        <damage-heavy-left-wing>
            <name>damage-heavy-left-wing</name>
            <path>Sounds/damage-heavy.wav</path>
            <condition>
                <and>
                    <equals>
                        <property>/fdm/jsbsim/wing-damage/left-wing</property>
                        <value>1.0</value>
                    </equals>
                    <not>
                        <property>/fdm/jsbsim/crash</property>
                    </not>
                </and>
            </condition>
            <position>
                <x>-0.5</x>
                <y>-2.0</y>
                <z>0.5</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>3.0</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-heavy-left-wing>

        <damage-heavy-right-wing>
            <name>damage-heavy-right-wing</name>
            <path>Sounds/damage-heavy.wav</path>
            <condition>
                <and>
                    <equals>
                        <property>/fdm/jsbsim/wing-damage/right-wing</property>
                        <value>1.0</value>
                    </equals>
                    <not>
                        <property>/fdm/jsbsim/crash</property>
                    </not>
                </and>
            </condition>
            <position>
                <x>-0.5</x>
                <y>2.0</y>
                <z>0.5</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>3.0</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-heavy-right-wing>

        <damage-gear-nose>
            <name>damage-gear-nose</name>
            <path>Sounds/damage.wav</path>
            <property>/fdm/jsbsim/gear/unit[0]/broken</property>
            <position>
                <x>-1.1149</x>
                <y> 0.0000</y>
                <z>-1.1889</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-gear-nose>

        <damage-gear-left>
            <name>damage-gear-left</name>
            <path>Sounds/damage.wav</path>
            <property>/fdm/jsbsim/gear/unit[1]/broken</property>
            <position>
                <x> 0.5302</x>
                <y>-1.1185</y>
                <z>-1.1469</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-gear-left>

        <damage-gear-right>
            <name>damage-gear-right</name>
            <path>Sounds/damage.wav</path>
            <property>/fdm/jsbsim/gear/unit[2]/broken</property>
            <position>
                <x> 0.5302</x>
                <y> 1.1185</y>
                <z>-1.1469</z>
            </position>
            <volume>
                <factor>0.7143</factor>
                <property>/sim/model/c172p/sound/volume-boost-doors</property>
            </volume>
            <reference-dist>2.5</reference-dist>
            <max-dist>200.0</max-dist>
        </damage-gear-right>

    </fx>

</PropertyList>