<?xml version="1.0"?>
 
<PropertyList>

 <fx>

  <engine0>
   <name>whine</name>
   <path>Sounds/whine.wav</path>
   <mode>looped</mode>
   <property>/engines/engine[0]/running</property>
   <volume>
     <factor>0.00025</factor>
   </volume> 
   <pitch>
    <property>/engines/engine[0]/n1</property>
    <type>lin</type>
    <factor>.4</factor>
   </pitch>
  </engine0>

  <engine0>
   <name>engine0</name>
   <mode>looped</mode>
   <path>Sounds/turboprop1.wav</path>
   <condition>
    <property>/engines/engine[0]/running</property>
   </condition>
<!--   <volume>
    <property>/engines/engine[0]/thruster/rpm</property>
    <type>abs</type>
    <factor>0.00069</factor>
    <offset>-0.328</offset>
    <min>0.65</min>
    <max>1.0</max>
   </volume>  -->
   <volume>
    <property>/engines/engine[0]/thrust_lb</property>
    <type>abs</type>
    <factor>0.00005</factor>
    <offset>-0</offset>
    <min>0.15</min>
    <max>0.35</max>
   </volume>
<!--   <volume>
    <property>/engines/engine[0]/nozzle-pos-norm</property>
    <factor>-0.7</factor>
    <offset>0.7</offset>
   </volume>  -->
   <pitch>
    <property>/engines/engine[0]/thruster/rpm</property>
    <factor>0.001</factor>
    <offset>0.9</offset>
    <min>0.7</min>
    <max>10</max>
   </pitch>
  </engine0>

  <engine1>
   <name>whine</name>
   <path>Sounds/whine.wav</path>
   <mode>looped</mode>
   <property>/engines/engine[1]/running</property>
   <volume>
     <factor>0.00025</factor>
   </volume>
   <pitch>
    <property>/engines/engine[1]/n1</property>
    <type>lin</type>
    <factor>.006</factor>
   </pitch>
  </engine1>

<!--  Second engine noise removed, to rid the unrealistic 'droning' effect.
  <engine1>
   <name>engine1</name>
   <mode>looped</mode>
   <path>Sounds/turboprop1.wav</path>
   <condition>
    <property>/engines/engine[1]/running</property>
   </condition>
   <volume>
    <property>/engines/engine[1]/thruster/rpm</property>
    <type>abs</type>
    <factor>0.00069</factor>
    <offset>-0.328</offset>
    <min>0.0</min>
    <max>1.0</max>
   </volume>  -->
<!--   <volume>
    <property>/engines/engine[1]/nozzle-pos-norm</property>
    <factor>-0.7</factor>
    <offset>0.7</offset>
   </volume>  -->
<!--   <pitch>
    <property>/engines/engine[1]/thruster/rpm</property>
    <factor>0.001</factor>
    <offset>0.9</offset>
    <min>0.65</min>
    <max>10</max>
   </pitch>
  </engine1>  -->

  <tire-rumble>
   <name>tire-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>
   </condition>
   <volume>
    <property>/velocities/groundspeed-kt</property>
    <factor>0.01</factor>
    <max>0.9</max>
   </volume>
  </tire-rumble>

  <gear-wind>
   <name>gear-wind</name>
   <mode>looped</mode>
   <path>Sounds/rumble.wav</path>
   <condition>
     <greater-than>
      <property>/gear/gear[1]/position-norm[0]</property>
      <value>0.01</value>
     </greater-than>
   </condition>
   <volume>
    <property>/velocities/airspeed-kt</property>
    <factor>0.004</factor>
    <max>1.0</max>
   </volume>
  </gear-wind>

  <gear-lock>
   <name>gear-lock</name>
   <path>Sounds/gear-lck.wav</path>
   <condition>
    <equals>
     <property>/gear/gear[0]/position-norm</property>
     <value>0</value>
    </equals>
   </condition>
  </gear-lock>

  <squeal>
   <name>squeal</name>
   <path>Sounds/squeal.wav</path>
   <condition>
    <or>
     <property>/gear/gear[0]/wow</property>
     <property>/gear/gear[1]/wow</property>
     <property>/gear/gear[2]/wow</property>
    </or>
   </condition>
   <volume>
    <property>/velocities/speed-down-fps</property>
    <factor>0.05</factor>
   </volume>
   <volume>
    <property>/velocities/airspeed-kt</property>
    <factor>0.01</factor>
   </volume>
   <volume>
    <internal>dt_stop</internal>
    <factor>0.05</factor>
    <max>1.0</max>
   </volume>
   <pitch>
    <property>/velocities/airspeed-kt</property>
    <factor>0.0025</factor>
    <offset>1.2</offset>
   </pitch>
  </squeal>

  <wind>
   <name>wind</name>
   <mode>looped</mode>
   <path>Sounds/wind.wav</path>
   <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<!--   <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>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
     <factor>0.00075</factor>
<!--    <offset>-0.23</offset>  -->
     <min>0.03</min>
     <max>0.25</max>
   </volume>
   <pitch>
    <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
    <factor>0.01</factor>
    <offset>1.25</offset>
   </pitch>
  </wind>

  <buffet>
   <name>alpha-buffet</name>
   <mode>looped</mode>
   <condition>
    <greater-than>
     <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
     <value>0.2</value>
    </greater-than>
   </condition>
   <path>Sounds/rumble.wav</path>
   <volume>
    <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
    <factor>15.0</factor>
    <max>1.0</max>
   </volume>
   <pitch>
    <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
    <factor>0.1</factor>
   </pitch>
  </buffet>

<!-- New overspeed sound! -->
  <clacker>
   <name>clacker</name>
   <mode>looped</mode>
   <path>Sounds/overspeed.wav</path>
   <condition>
    <greater-than>
     <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
     <value>224</value>
    </greater-than>
   </condition>
  </clacker>

<!-- generic GPWS, borrowed from B1900D-->

        <altitude1>
            <name>alt-10</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-10.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>10</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude1>

        <altitude2>
            <name>alt-20</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-20.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>20</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude2>

        <altitude3>
            <name>alt-30</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-30.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>30</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude3>

        <altitude5>
            <name>alt-40</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-40.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>40</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude5>

        <altitude5>
            <name>alt-50</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-50.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>50</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude5>

        <altitude6>
            <name>alt-100</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-100.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>100</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude6>

        <altitude10>
            <name>alt-500</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/altitude-500.wav</path>
            <condition>
                <equals>
                    <property>instrumentation/annunciators/gpws/altitude-callout</property>
                    <value>500</value>
                </equals>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </altitude10>


        <terrain>
            <name>terrain</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/terrain.wav</path>
            <condition>
                <property>instrumentation/annunciators/gpws/terrain-alert</property>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </terrain>

        <bank-angle>
            <name>bank angle</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>looped</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/bank-angle.wav</path>
            <condition>
                <property>instrumentation/annunciators/gpws/bank-angle</property>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </bank-angle>

        <pullup>
            <name>pull up</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/pull-up.wav</path>
            <condition>
                <property>instrumentation/annunciators/gpws/pitch</property>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </pullup>

        <minimums>
            <name>minimums</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>2.0</max-dist>
            <mode>once</mode>
            <path>Aircraft/fokker50/Sounds/universal-taws/minimums.wav</path>
            <condition>
                <property>instrumentation/annunciators/gpws/minimums</property>
            </condition>
            <volume>
                <property>instrumentation/annunciators/gpws/volume</property>
            </volume>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
        </minimums>

</fx>

</PropertyList>
