<?xml version="1.0"?>

<!--
      <position>
        <x> 3.61</x>
        <y>-1.57</y>
        <z> 2.29</z>
      </position>
-->
<PropertyList>
  <fx>
    <!-- engine noise -->
    <engine>
      <name>left engine exhaust</name>
      <path>Sounds/jet.wav</path>
      <condition>
        <not>
          <property>controls/engines/engine[0]/cutoff</property>
        </not>
      </condition>
      <mode>looped</mode>
      <volume>
        <property>engines/engine[0]/thrust_lb</property>
        <factor>0.0001</factor>
      </volume>
      <position>
        <x>3.70</x>
        <y>-1.52</y>
        <z>2.33</z>
      </position>
      <reference-dist>150.0</reference-dist>
      <max-dist>500.0</max-dist>
    </engine>

    <engine>
      <name>left n1</name>
      <path>Sounds/whine.wav</path>
      <condition>
        <greater-than>
          <property>engines/engine[0]/n1</property>
          <value>10</value>
        </greater-than>
      </condition>
      <mode>looped</mode>
      <pitch>
        <property>engines/engine[0]/n1</property>
        <offset>0</offset>
        <factor>0.01</factor>
      </pitch>
      <volume>
        <property>engines/engine[0]/thrust_lb</property>
        <factor>0.0001</factor>
      </volume>
      <position>
        <x>3.7</x>
        <y>-1.52</y>
        <z>2.33</z>
      </position>
      <orientation>
        <x>1</x>
        <y>0</y>
        <z>0</z>
        <inner-angle>30</inner-angle>
      </orientation>
      <reference-dist>50.0</reference-dist>
      <max-dist>200.0</max-dist>
    </engine>

    <engine>
      <name>right engine exhaust</name>
      <path>Sounds/jet.wav</path>
      <condition>
        <not>
          <property>controls/engines/engine[1]/cutoff</property>
        </not>
      </condition>
      <mode>looped</mode>
      <volume>
        <property>engines/engine[1]/thrust_lb</property>
        <factor>0.0001</factor>
      </volume>
      <position>
        <x>3.70</x>
        <y>-1.52</y>
        <z>2.33</z>
      </position>
      <reference-dist>150.0</reference-dist>
      <max-dist>500.0</max-dist>
    </engine>

    <engine>
      <name>left n1</name>
      <path>Sounds/whine.wav</path>
      <condition>
        <greater-than>
          <property>engines/engine[1]/n1</property>
          <value>10</value>
        </greater-than>
      </condition>
      <mode>looped</mode>
      <pitch>
        <property>engines/engine[1]/n1</property>
        <offset>0</offset>
        <factor>0.01</factor>
      </pitch>
      <volume>
        <property>engines/engine[1]/thrust_lb</property>
        <factor>0.0001</factor>
      </volume>
      <position>
        <x>3.7</x>
        <y>-1.52</y>
        <z>2.33</z>
      </position>
      <orientation>
        <x>1</x>
        <y>0</y>
        <z>0</z>
        <inner-angle>30</inner-angle>
      </orientation>
      <reference-dist>50.0</reference-dist>
      <max-dist>200.0</max-dist>
    </engine>

    <flap>
      <name>flaps</name>
      <path>Sounds/flaps.wav</path>
      <property>/surface-positions/flap-pos-norm</property>
      <mode>in-transit</mode>
      <position>
        <x>6.5</x>
        <y>0</y>
        <z>2.5</z>
      </position>
      <volume>
        <property>sim/current-view/internal</property>
        <factor>0.2</factor>
      </volume>
      <reference-dist>5.0</reference-dist>
      <max-dist>10.0</max-dist>
    </flap>

    <flap>
      <name>slats</name>
      <path>Sounds/flaps.wav</path>
      <property>/surface-positions/spoilers-pos-norm</property>
      <mode>in-transit</mode>
      <position>
        <x>6.5</x>
        <y>0</y>
        <z>2.5</z>
      </position>
      <volume>
        <property>sim/current-view/internal</property>
        <factor>0.2</factor>
      </volume>
      <reference-dist>5.0</reference-dist>
      <max-dist>10.0</max-dist>
    </flap>


    <!-- Gear sounds -->
    <rumble>
      <name>rumble</name>
      <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>
      <mode>looped</mode>
      <volume>
        <property>velocities/groundspeed-kt</property>
        <factor>0.01</factor>
        <min>0</min>
        <max>0.1</max>
      </volume>
      <position>
        <x>0</x>
        <y>0</y>
        <z>0</z>
      </position>
      <reference-dist>10.0</reference-dist>
      <max-dist>20.0</max-dist>
    </rumble>

    <gear>
      <name>gear</name>
      <path>Sounds/gear.wav</path>
      <mode>looped</mode>
      <condition>
      <or>
        <and>
          <greater-than>
            <property>gear/gear[0]/position-norm</property>
            <value>0.01</value>
          </greater-than>
          <less-than>
            <property>gear/gear[0]/position-norm</property>
            <value>0.99</value>
          </less-than>
        </and>
        <and>
          <greater-than>
            <property>gear/gear[1]/position-norm</property>
            <value>0.01</value>
          </greater-than>
          <less-than>
            <property>gear/gear[1]/position-norm</property>
            <value>0.99</value>
          </less-than>
        </and>
        <and>
          <greater-than>
            <property>gear/gear[2]/position-norm</property>
            <value>0.01</value>
          </greater-than>
          <less-than>
            <property>gear/gear[2]/position-norm</property>
            <value>0.99</value>
          </less-than>
        </and>
      </or>
      </condition>

      <volume>
        <property>sim/current-view/internal</property>
        <factor>-1</factor>
      </volume>
      <position>
        <x>-6.5</x>
        <y>0</y>
        <z>0</z>
      </position>
      <reference-dist>2.0</reference-dist>
      <max-dist>5.0</max-dist>
    </gear>

    <gear>
      <name>nosegear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <less-than>
          <property>gear/gear[0]/position-norm</property>
          <value>0.01</value>
        </less-than>
      </condition>
      <volume>
        <property>sim/current-view/internal</property>
      </volume>
      <position>
        <x>-7.33</x>
        <y>0</y>
        <z>0</z>
      </position>
      <reference-dist>5.0</reference-dist>
      <max-dist>10.0</max-dist>
    </gear>

    <gear>
      <name>leftgear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <less-than>
          <property>gear/gear[1]/position-norm</property>
          <value>0.01</value>
        </less-than>
      </condition>
      <volume>
        <property>sim/current-view/internal</property>
      </volume>
      <position>
        <x>0</x>
        <y>-2.17</y>
        <z>0</z>
      </position>
      <reference-dist>3.0</reference-dist>
      <max-dist>10.0</max-dist>
    </gear>

    <gear>
      <name>rightgear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <less-than>
          <property>gear/gear[2]/position-norm</property>
          <value>0.01</value>
        </less-than>
      </condition>
      <volume>
        <property>sim/current-view/internal</property>
      </volume>
      <position>
        <x>0</x>
        <y>2.17</y>
        <z>0</z>
      </position>
      <reference-dist>3.0</reference-dist>
      <max-dist>10.0</max-dist>
    </gear>

    <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>

  </fx>
</PropertyList>

