<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <fx>

    <!-- Left engine -->
    <crank>
      <name>start1</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[0]/starter</property>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor> 0.09 </factor>
        <min> 0.3 </min>
        <max> 0.9 </max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>
<!--
    <engine>
      <name>engine1</name>
      <path>running.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[0]/cutoff</property></not>
      </condition>
      <volume>
        <property>/engines/engine[0]/prop-thrust</property>
        <factor type="double">0.0001</factor>
      </volume>
      <pitch>
        <property>/engines/engine[0]/n1</property>
        <factor>0.2</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>
    -->
    <engine>
      <name>whine1</name>
      <path>running.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[0]/cutoff</property></not>
      </condition>
      <volume>
        <property>/engines/engine[0]/n2</property>
        <factor>0.010</factor>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>/engines/engine[0]/n2</property>
        <factor>0.01</factor>
        <offset>0.15</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown1</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <property>/controls/engines/engine[0]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[0]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- Rightne -->
    <crank>
      <name>start2</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[1]/starter</property>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor> 0.09 </factor>
        <min> 0.3 </min>
        <max> 0.9 </max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>
<!--
    <engine>
      <name>engine2</name>
      <path>running.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[1]/cutoff</property></not>
      </condition>
      <volume>
        <property>/engines/engine[1]/prop-thrust</property>
        <factor type="double">0.0001</factor>
      </volume>
      <pitch>
        <property>/engines/engine[1]/n1</property>
        <factor>0.2</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>
    -->
    <engine>
      <name>whine2</name>
      <path>running.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[1]/cutoff</property></not>
      </condition>
      <volume>
        <property>/engines/engine[1]/n2</property>
        <factor>0.010</factor>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>/engines/engine[1]/n2</property>
        <factor>0.01</factor>
        <offset>0.15</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown2</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <property>/controls/engines/engine[1]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[1]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ************************************************* -->
    <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>
        <property>/sim/current-view/internal</property>
      </condition>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <type>log</type>
        <factor>0.25</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rumble>

    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>gear-up.wav</path>
      <property>/gear/gear[0]/position-norm</property>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>

    <gear>
      <name>gear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <greater-than>
          <property>/gear/gear[0]/position-norm</property>
          <value>0.9</value>
        </greater-than>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>1000</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.5</factor>
        <max>1.0</max>
      </volume>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <max>1.0</max>
      </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>0.5</offset>
        <max>1.0</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <flap>
      <name>flaps</name>
      <mode>in-transit</mode>
      <path>flaps.wav</path>
      <property>/surface-positions/flap-pos-norm</property>
      <volume>
        <factor>0.2</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </flap>

    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>wind.wav</path>
      <property>/velocities/airspeed-kt</property>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <factor>0.0025</factor>
        <min>0.00</min>
        <max>0.25</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <offset>0.5</offset>
        <max>1.0</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind>

    <stall>
      <name>stall</name>
      <mode>looped</mode>
      <path>Sounds/stall.wav</path>
      <property>/sim/alarms/stall-warning</property>
      <volume>
        <property>/sim/alarms/stall-warning</property>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </stall>

    <door>
      <name>Crew door</name>
      <path>door-close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/porteA/position-norm</property> -->
          <property>sim/multiplay/generic/float[0]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Passenger door</name>
      <path>door-close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/porteB/position-norm</property> -->
          <property>sim/multiplay/generic/float[1]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Passenger2 door</name>
      <path>door-close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/porteC/position-norm</property> -->
          <property>sim/multiplay/generic/float[6]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Ecopes</name>
      <path>door-close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/water/position-norm</property> -->
          <property>sim/multiplay/generic/float[8]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <rain>
      <name>rain</name>
      <mode>looped</mode>
      <path>rain_canopy.wav</path>
      <condition>
        <greater-than>
          <property>/environment/metar/rain-norm</property>
          <value>0.2</value>
        </greater-than>
      </condition>
      <volume>
        <property>/environment/metar/rain-norm</property>
        <factor>1.00</factor>
        <offset>0.00</offset>
        <min>0.4</min>
        <max>0.9</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.001</factor>
        <offset>1.0</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rain>

  </fx>

</PropertyList>
