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

<PropertyList>

  <fx>

    <!-- Engine 1 -->
    <crank>
      <name>engstartIN1</name>
      <path>starter-in.wav</path>
      <condition>
        <property>engines/engine[0]/cranking</property>
        <not><property>engines/engine[0]/running</property></not>
        <property>sim/current-view/internal</property>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>engstartOUT1</name>
      <path>starter-out.wav</path>
      <condition>
        <property>engines/engine[0]/cranking</property>
        <not><property>engines/engine[0]/running</property></not>
        <not><property>sim/current-view/internal</property></not>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>crank1</name>
      <mode>looped</mode>
      <path>Sounds/cranking.wav</path>
      <condition>
        <property>engines/engine[0]/cranking</property>
        <not><property>engines/engine[0]/running</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>cough1</name>
      <path>Sounds/coughing.wav</path>
      <condition>
        <property>engines/engine[0]/running</property>
      </condition>
      <volume>
        <offset>0.3</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine-internal1</name>
      <mode>looped</mode>
      <path>running-in.wav</path>
      <condition>
        <and>
          <property>sim/current-view/internal</property>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>100</value>
          </greater-than>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[0]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.1 </offset>
      </pitch>
      <volume>
        <property>engines/engine[0]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.5 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>engine-external1</name>
      <mode>looped</mode>
      <path>running-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[0]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.10 </offset>
      </pitch>
      <volume>
        <property>engines/engine[0]/rpm</property>
        <factor> 0.00033 </factor>
        <min> 0.2 </min>
        <max> 1.0 </max>
        <offset> 0 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <propeller>
      <name>propeller-internal1</name>
      <mode>looped</mode>
      <path>propeller-in.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>100</value>
          </greater-than>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[0]/mp-osi</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>1000</max-dist>
    </propeller>

    <propeller>
      <name>propeller-external1</name>
      <mode>looped</mode>
      <path>propeller-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[0]/mp-osi</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>1000</max-dist>
    </propeller>

    <!-- Engine 2 -->
    <crank>
      <name>engstartIN2</name>
      <path>starter-in.wav</path>
      <condition>
        <property>engines/engine[1]/cranking</property>
        <not><property>engines/engine[1]/running</property></not>
        <property>sim/current-view/internal</property>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>engstartOUT2</name>
      <path>starter-out.wav</path>
      <condition>
        <property>engines/engine[1]/cranking</property>
        <not><property>engines/engine[1]/running</property></not>
        <not><property>sim/current-view/internal</property></not>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>crank2</name>
      <mode>looped</mode>
      <path>Sounds/cranking.wav</path>
      <condition>
        <property>engines/engine[1]/cranking</property>
        <not><property>engines/engine[1]/running</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>cough2</name>
      <path>Sounds/coughing.wav</path>
      <property>engines/engine[1]/running</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine-internal2</name>
      <mode>looped</mode>
      <path>running-in.wav</path>
      <condition>
        <and>
          <property>sim/current-view/internal</property>
          <greater-than>
            <property>engines/engine[1]/rpm</property>
            <value>100</value>
          </greater-than>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[1]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.1 </offset>
      </pitch>
      <volume>
        <property>engines/engine[1]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.5 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>engine-external2</name>
      <mode>looped</mode>
      <path>running-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[1]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[1]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.10 </offset>
      </pitch>
      <volume>
        <property>engines/engine[1]/rpm</property>
        <factor> 0.00033 </factor>
        <min> 0.2 </min>
        <max> 1.0 </max>
        <offset> 0 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <propeller>
      <name>propeller-internal2</name>
      <mode>looped</mode>
      <path>propeller-in.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[1]/rpm</property>
            <value>100</value>
          </greater-than>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[1]/mp-osi</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>1000</max-dist>
    </propeller>

    <propeller>
      <name>propeller-external2</name>
      <mode>looped</mode>
      <path>propeller-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[1]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[1]/mp-osi</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>1000</max-dist>
    </propeller>

    <!-- Engine 3 -->
    <crank>
      <name>engstartIN3</name>
      <path>starter-in.wav</path>
      <condition>
        <property>engines/engine[2]/cranking</property>
        <not><property>engines/engine[2]/running</property></not>
        <property>sim/current-view/internal</property>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>engstartOUT3</name>
      <path>starter-out.wav</path>
      <condition>
        <property>engines/engine[2]/cranking</property>
        <not><property>engines/engine[2]/running</property></not>
        <not><property>sim/current-view/internal</property></not>
      </condition>
      <volume>
        <offset>0.4</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>crank3</name>
      <mode>looped</mode>
      <path>Sounds/cranking.wav</path>
      <condition>
        <property>engines/engine[2]/cranking</property>
        <not><property>engines/engine[2]/running</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>cough3</name>
      <path>Sounds/coughing.wav</path>
      <property>engines/engine[2]/running</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine-internal3</name>
      <mode>looped</mode>
      <path>running-in.wav</path>
      <condition>
        <and>
          <property>sim/current-view/internal</property>
          <greater-than>
            <property>engines/engine[2]/rpm</property>
            <value>100</value>
          </greater-than>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[2]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.1 </offset>
      </pitch>
      <volume>
        <property>engines/engine[2]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.5 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>engine-external3</name>
      <mode>looped</mode>
      <path>running-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[2]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <pitch>
        <property>engines/engine[2]/rpm</property>
        <factor> 0.0005 </factor>
        <min> 0 </min>
        <max> 2 </max>
        <offset> 0.10 </offset>
      </pitch>
      <volume>
        <property>engines/engine[2]/rpm</property>
        <factor> 0.00033 </factor>
        <min> 0.2 </min>
        <max> 1.0 </max>
        <offset> 0 </offset>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <propeller>
      <name>propeller-internal3</name>
      <mode>looped</mode>
      <path>propeller-in.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[2]/rpm</property>
            <value>100</value>
          </greater-than>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[2]/mp-osi</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>1000</max-dist>
    </propeller>

    <propeller>
      <name>propeller-external3</name>
      <mode>looped</mode>
      <path>propeller-out.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[2]/rpm</property>
            <value>100</value>
          </greater-than>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 0.2 </min>
        <max> 1.0 </max>
      </volume>
      <volume>
        <factor> 0.5 </factor>
      </volume>
      <pitch>
        <property>engines/engine[2]/mp-osi</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>1000</max-dist>
    </propeller>

    <!-- ************************************************************************ -->
    <rumble>
      <name>rumble</name>
      <mode>looped</mode>
      <path>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>1000</max-dist>
    </rumble>

    <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>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>Sounds/wind.wav</path>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>0.5</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.0015</factor>
        <min>0.03</min>
        <max>0.25</max>
      </volume>
      <pitch>
        <property>velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind>

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

    <gear>
      <name>gear0</name>
      <mode>in-transit</mode>
      <path>gears.wav</path>
      <property>gear/gear[0]/position-norm</property>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>

    <gear-lock>
      <name>gear-lock0</name>
      <path>lockgears.wav</path>
      <condition>
        <equals>
          <property>gear/gear[0]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear-lock>

    <gear>
      <name>gear1</name>
      <mode>in-transit</mode>
      <path>gears.wav</path>
      <property>gear/gear[1]/position-norm</property>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>

    <gear-lock>
      <name>gear-lock1</name>
      <path>lockgears.wav</path>
      <condition>
        <equals>
          <property>gear/gear[1]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear-lock>

    <!-- CANOPY -->
    <door>
      <name>Door 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>1000</max-dist>
    </door>

    <door>
      <name>Door Close</name>
      <path>doorclose.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>1000</max-dist>
    </door>

    <!-- Bomb bay -->
    <door>
      <name>Bomb Door Open</name>
      <path>dooropen.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/bomb/position-norm</property> -->
          <property>sim/multiplay/generic/float[24]</property>
          <value>0.1</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Bomb Door Close</name>
      <path>doorclose.wav</path>
      <condition>
        <equals>
          <!-- <property>sim/model/door-positions/bomb/position-norm</property> -->
          <property>sim/multiplay/generic/float[24]</property>
          <value>0</value>
        </equals>
      </condition>
      <volume>
        <factor>1</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <!-- Cargo bay -->
    <door>
      <name>Cargo Door Open</name>
      <path>dooropen.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
          <property>sim/multiplay/generic/float[25]</property>
          <value>0.1</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Cargo Door Close</name>
      <path>doorclose.wav</path>
      <condition>
        <equals>
          <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
          <property>sim/multiplay/generic/float[25]</property>
          <value>0</value>
        </equals>
      </condition>
      <volume>
        <factor>1</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <canopy>
      <name>canopy slide</name>
      <mode>in-transit</mode>
      <path>canopy_slide.wav</path>
      <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
      <property>sim/multiplay/generic/float[1]</property>
      <volume>
        <factor>1</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </canopy>

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

    <gun>
      <name>Gun left</name>
      <mode>looped</mode>
      <path>gunfire.wav</path>
      <condition>
        <or>
          <!-- <property>controls/armament/trigger0</property> -->
          <property>sim/multiplay/generic/int[10]</property>
          <!-- <property>controls/armament/trigger1</property> -->
          <property>sim/multiplay/generic/int[13]</property>
          <!-- <property>controls/armament/trigger2</property> -->
          <property>sim/multiplay/generic/int[14]</property>
          <!-- <property>controls/armament/trigger3</property> -->
          <property>sim/multiplay/generic/int[15]</property>
          <!-- <property>controls/armament/trigger4</property> -->
          <property>sim/multiplay/generic/int[16]</property>
        </or>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gun>

    <bomb-single>
      <name>bomb-singleL</name>
      <mode>once</mode>
      <path>bomb.wav</path>
      <condition>
        <!-- <property>controls/armament/signal1</property> -->
        <property>sim/multiplay/generic/int[11]</property>
      </condition>
      <volume>
        <factor>1.0</factor>
        <max>3.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </bomb-single>

    <bomb-single>
      <name>bomb-singleR</name>
      <mode>once</mode>
      <path>bomb.wav</path>
      <condition>
        <!-- <property>controls/armament/signal2</property> -->
        <property>sim/multiplay/generic/int[12]</property>
      </condition>
      <volume>
        <factor>1.0</factor>
        <max>3.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </bomb-single>

  </fx>

</PropertyList>
