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

<PropertyList>

  <fx>

    <!-- Engine 1 -->
    <crank>
      <name>engstart1</name>
      <path>start.wav</path>
      <!-- <property>engines/engine[0]/cranking</property> -->
      <property>sim/multiplay/generic/bool[17]</property>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <crank>
      <name>crank1</name>
      <mode>looped</mode>
      <path>Sounds/cranking.wav</path>
      <condition>
        <!-- <property>engines/engine[0]/cranking</property> -->
        <property>sim/multiplay/generic/bool[17]</property>
        <!-- <not><property>engines/engine[0]/running</property></not>-->
        <not><property>sim/multiplay/generic/bool[6]</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <crank>
      <name>cough1</name>
      <path>Sounds/coughing.wav</path>
      <property>engines/engine[0]/running</property>
      <!-- <property>engines/engine[0]/running</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <engine>
      <name>engine1</name>
      <mode>looped</mode>
      <path>engine.wav</path>
      <!-- <property>engines/engine[0]/running</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
      <volume>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.00375</factor>
        <min>0.25</min>
        <max>0.75</max>
      </volume>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <pitch>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.0004</factor>
        <min>0.5</min>
        <max>2.3</max>
        <offset>0.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </engine>

    <propeller>
      <name>propeller1</name>
      <mode>looped</mode>
      <path>propeller.wav</path>
      <!-- <property>engines/engine[0]/running</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.2</min>
        <max>1.0</max>
      </volume>
      <pitch>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.0036</factor>
        <min>0.5</min>
        <max>2.0</max>
        <offset>0.9</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </propeller>

    <!-- Engine 2 -->
    <crank>
      <name>engstart2</name>
      <path>start.wav</path>
      <!-- <property>engines/engine[1]/cranking</property> -->
      <property>sim/multiplay/generic/bool[18]</property>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <crank>
      <name>crank2</name>
      <mode>looped</mode>
      <path>Sounds/cranking.wav</path>
      <condition>
        <!-- <property>engines/engine[1]/cranking</property> -->
        <property>sim/multiplay/generic/bool[18]</property>
        <!-- <not><property>engines/engine[1]/running</property></not>-->
        <not><property>sim/multiplay/generic/bool[7]</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <crank>
      <name>cough2</name>
      <path>Sounds/coughing.wav</path>
      <!-- <property>engines/engine[1]/running</property> -->
      <property>sim/multiplay/generic/bool[7]</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <engine>
      <name>engine2</name>
      <mode>looped</mode>
      <path>engine.wav</path>
      <!-- <property>engines/engine[1]/running</property> -->
      <property>sim/multiplay/generic/bool[7]</property>
      <volume>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[5]</property>
        <factor>0.00375</factor>
        <min>0.25</min>
        <max>0.75</max>
      </volume>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <pitch>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[5]</property>
        <factor>0.0004</factor>
        <min>0.5</min>
        <max>2.3</max>
        <offset>0.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </engine>

    <propeller>
      <name>propeller2</name>
      <mode>looped</mode>
      <path>propeller.wav</path>
      <!-- <property>engines/engine[1]/running</property> -->
      <property>sim/multiplay/generic/bool[7]</property>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.2</min>
        <max>1.0</max>
      </volume>
      <pitch>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[5]</property>
        <factor>0.0036</factor>
        <min>0.5</min>
        <max>2.0</max>
        <offset>0.9</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </propeller>

    <!-- ************************************************************ -->
    <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>
      </condition>
      <volume>
        <property>velocities/airspeed-kt</property>
        <type>log</type>
        <factor>0.5</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </rumble>

    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>Sounds/gear.wav</path>
      <property>gear/gear[0]/position-norm</property>
      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>-0.001</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </gear>

    <gear>
      <name>gear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <greather-than>
          <property>gear/gear[0]/position-norm</property>
          <value>0.01</value>
        </greather-than>
        <less-than>
          <property>gear/gear[0]/position-norm</property>
          <value>0.1</value>
        </less-than>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>3000</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>
        <min>0.1</min>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <offset>0.4</offset>
      </volume>
      <pitch>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </squeal>

    <flap>
      <name>flaps</name>
      <mode>in-transit</mode>
      <path>flaps.wav</path>
      <property>surface-positions/flap-pos-norm</property>
      <volume>
        <offset>0.25</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </flap>

    <!-- DOOR -->
    <door>
      <name>Left frontdoor open</name>
      <path>DoorOpen.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
          <property>sim/multiplay/generic/float[0]</property>
          <value>0.1</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </door>

    <door>
      <name>Left frontdoor close</name>
      <path>DoorClosed.wav</path>
      <condition>
        <equals>
          <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
          <property>sim/multiplay/generic/float[0]</property>
          <value>0</value>
        </equals>
      </condition>
      <volume>
        <factor>1</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </door>

    <door>
      <name>Left reardoor open</name>
      <path>DoorOpen.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
          <property>sim/multiplay/generic/float[1]</property>
          <value>0.1</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </door>

    <door>
      <name>Left reardoor close</name>
      <path>DoorClosed.wav</path>
      <condition>
        <equals>
          <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
          <property>sim/multiplay/generic/float[1]</property>
          <value>0</value>
        </equals>
      </condition>
      <volume>
        <factor>1</factor>
      </volume>
    </door>

    <door>
      <name>Left cargodoor open</name>
      <path>DoorOpen.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
          <property>sim/multiplay/generic/float[18]</property>
          <value>0.1</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </door>

    <door>
      <name>Left cargodoor close</name>
      <path>DoorClosed.wav</path>
      <condition>
        <equals>
          <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
          <property>sim/multiplay/generic/float[18]</property>
          <value>0</value>
        </equals>
      </condition>
      <volume>
        <factor>1</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </door>

  </fx>

</PropertyList>
