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

<PropertyList>

  <fx>

    <crank>
      <name>engstart</name>
      <path>start.wav</path>
      <mode>once</mode>
      <condition>
        <!-- <property>engines/engine[0]/cranking</property> -->
        <property>sim/multiplay/generic/bool[6]</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>1.0</max>
      </volume>
      <volume>
        <factor>1.2</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <crank>
      <name>cough</name>
      <path>coughing.wav</path>
      <mode>once</mode>
      <condition>
        <!-- <property>engines/engine[0]/running</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>1.0</max>
      </volume>
      <volume>
        <factor>1.2</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </crank>

    <engine>
      <name>engineslowrun</name>
      <path>R-1535Slow.wav</path>
      <mode>looped</mode>
      <condition>
        <!-- <property>engines/engine[0]/running</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <less-than>
          <!-- <property>engines/engine/rpm</property> -->
          <property>sim/multiplay/generic/float[4]</property>
          <value> 1500 </value>
        </less-than>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min> 1.0 </min>
        <max> 1.5 </max>
      </volume>
      <pitch>
        <!-- <property>engines/engine/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor> 0.0006 </factor>
        <min> 0.4 </min>
        <max> 3.0 </max>
        <offset> 0 </offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </engine>

    <engine>
      <name>enginerun</name>
      <path>R-1535.wav</path>
      <mode>looped</mode>
      <condition>
        <!-- <property>engines/engine[0]/running</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <greater-than-equals>
          <!-- <property>engines/engine/rpm</property> -->
          <property>sim/multiplay/generic/float[4]</property>
          <value> 1500 </value>
        </greater-than-equals>
      </condition>
      <volume>
        <!-- <property>controls/engines/engine/throttle</property> -->
        <property>sim/multiplay/generic/float[13]</property>
        <min> 0.5 </min>
        <max> 1.0 </max>
      </volume>
      <pitch>
        <!-- <property>engines/engine/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor> 0.00033 </factor>
        <min> 0.0 </min>
        <max> 1.0 </max>
        <offset> 0.0 </offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </engine>

    <!-- *************************************************** -->
    <rumble>
      <name>rumble</name>
      <path>Sounds/rumble.wav</path>
      <mode>looped</mode>
      <condition>
        <and>
          <or>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
          </or>
          <property>gear/gear[0]/ground-is-solid</property>
        </and>
      </condition>
      <volume>
        <property>velocities/groundspeed-kt</property>
        <factor> 0.4 </factor>
      </volume>
      <position>
        <x> -1.0 </x>
        <y>  0.0 </y>
        <z> -2.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </rumble>

    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>gear.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>
      <mode>looped</mode>
      <condition>
        <or>
          <property>gear/gear[0]/wow</property>
          <property>gear/gear[1]/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.5000 </offset>
        <max> 1.0 </max>
      </pitch>
      <position>
        <x> -1.0 </x>
        <y>  0.0 </y>
        <z> -2.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </squeal>

    <flap>
      <name>flaps</name>
      <path>Sounds/flaps.wav</path>
      <mode>in-transit</mode>
      <property>surface-positions/flap-pos-norm</property>
      <volume>
        <factor> 0.15 </factor>
      </volume>
      <position>
        <x> 1.0 </x>
        <y> 0.0 </y>
        <z> 1.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </flap>

    <canopy>
      <name>pilot canopy slide</name>
      <path>canopy_slide.wav</path>
      <mode>in-transit</mode>
      <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
      <property>sim/multiplay/generic/float[0]</property>
      <volume>
        <factor>0.3</factor>
      </volume>
      <reference-dist>10.0</reference-dist>
      <max-dist>20.0</max-dist>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </canopy>

    <gun>
      <name>Gun up left</name>
      <mode>looped</mode>
      <path>gunfire.wav</path>
      <condition>
        <and>
          <!-- <property>controls/armament/trigger</property> -->
          <property>sim/multiplay/generic/int[10]</property>
          <!-- <property>ai/submodels/submodel[0]/count</property> -->
          <property>sim/multiplay/generic/int[6]</property>
        </and>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </gun>

    <gun>
      <name>Gun up right</name>
      <mode>looped</mode>
      <path>gunfire.wav</path>
      <condition>
        <and>
          <!-- <property>controls/armament/trigger</property> -->
          <property>sim/multiplay/generic/int[10]</property>
          <!-- <property>ai/submodels/submodel[0]/count</property> -->
          <property>sim/multiplay/generic/int[6]</property>
        </and>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>3000</max-dist>
    </gun>

  </fx>

</PropertyList>
