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

<PropertyList>

  <fx>

    <crank>
      <name>engstart</name>
      <path>starter.wav</path>
      <property>engines/engine/cranking</property>
      <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>1000</max-dist>
    </crank>

    <crank>
      <name>cough</name>
      <path>Sounds/coughing.wav</path>
      <property>engines/engine/running</property>
      <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>1000</max-dist>
    </crank>

    <engine>
      <name>engine idle rpm</name>
      <mode>looped</mode>
      <path>merlin_rpm1.wav</path>
      <condition>
        <property>engines/engine/running</property>
       <less-than>
          <property>engines/engine/rpm</property>
          <value>2100</value>
        </less-than>
        <greater-than>
          <property>engines/engine/rpm</property>
          <value>10</value>
        </greater-than>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <volume>
        <property>sim/current-view/internal</property>
        <offset>1.0</offset>
        <factor>-0.4</factor>
      </volume>
      <pitch>
        <property>engines/engine/rpm</property>
        <factor>0.000942</factor>
        <min>0.6</min>
        <max>2.0</max>
        <offset>0</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine-2>
      <name>engine low rpm</name>
      <mode>looped</mode>
      <path>spita.wav</path>
      <condition>
        <property>engines/engine/running</property>
        <greater-than-equals>
          <property>engines/engine/rpm</property>
          <value>2100</value>
        </greater-than-equals>
         <less-than>
          <property>engines/engine/rpm</property>
          <value>3200</value>
        </less-than>  </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <volume>
        <property>sim/current-view/internal</property>
        <offset>1.0</offset>
        <factor>-0.4</factor>
      </volume>
      <pitch>
        <property>engines/engine/rpm</property>
        <factor>0.00060</factor>
        <min>0.3</min>
        <max>6.0</max>
        <offset>0</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine-2>

    <engine>
      <name>engine high rpm</name>
      <mode>looped</mode>
      <path>spita-lang.wav</path>
      <condition>
        <property>engines/engine/rpm</property>
        <greater-than-equals>
          <property>engines/engine/rpm</property>
          <value>3200</value>
        </greater-than-equals>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <volume>
        <property>sim/current-view/internal</property>
        <offset>1.0</offset>
        <factor>-0.4</factor>
      </volume>
      <pitch>
        <property>engines/engine/rpm</property>
        <factor>0.00025</factor>
        <min>0.9</min>
        <max>25.0</max>
        <offset>0.05</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine-0>
      <name>engine shut down rpm</name>
      <path>merlin_shutdown.wav</path>
      <condition>
        <property>engines/engine/running</property>
        <not>
          <property>controls/engines/engine/cutoff</property>
        </not>
        <less-than-equals>
          <property>engines/engine/rpm</property>
          <value>10</value>
        </less-than-equals>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>1.0</min>
        <max>1.5</max>
      </volume>
      <volume>
        <property>sim/current-view/internal</property>
        <offset>1.0</offset>
        <factor>-0.4</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine-0>

    <!-- ************************************************************ -->
    <!-- M6A1 version -->
    <rumble>
      <name>rumblewave</name>
      <mode>looped</mode>
      <path>wave.wav</path>
      <condition>
        <and>
          <equals>
            <property>sim/type</property>
            <value>seaplane</value>
          </equals>
          <or>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <property>gear/gear[3]/wow</property>
            <property>gear/gear[4]/wow</property>
            <property>gear/gear[5]/wow</property>
          </or>
        </and>
      </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>

    <squeal>
      <name>water</name>
      <path>wave.wav</path>
      <condition>
        <and>
          <equals>
            <property>sim/type</property>
            <value>seaplane</value>
          </equals>
          <or>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <property>gear/gear[3]/wow</property>
            <property>gear/gear[4]/wow</property>
            <property>gear/gear[5]/wow</property>
          </or>
        </and>
      </condition>
      <volume>
        <property>velocities/speed-down-fps</property>
        <factor>0.5</factor>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/speed-down-fps</property>
        <factor>0.5</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <!-- M6A1-K version -->
    <rumble>
      <name>rumblewheels</name>
      <mode>looped</mode>
      <path>runway.wav</path>
      <condition>
        <and>
          <equals>
            <property>sim/type</property>
            <value>wheels</value>
          </equals>
          <or>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
          </or>
        </and>
      </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>
        <and>
          <equals>
            <property>sim/type</property>
            <value>wheels</value>
          </equals>
          <or>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
          </or>
        </and>
      </condition>
      <volume>
        <property>velocities/speed-down-fps</property>
        <factor>0.5</factor>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/speed-down-fps</property>
        <factor>0.5</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>gears.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>1000</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>1000</max-dist>
    </gear>

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

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

    <wind-canopy-closed>
      <name>wind</name>
      <mode>looped</mode>
      <path>Sounds/wind.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>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>1.0</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.0035</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind-canopy-closed>

    <wind-canopy-open>
      <name>wind-loud</name>
      <mode>looped</mode>
      <path>Sounds/wind.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
          <property>sim/multiplay/generic/float[0]</property>
          <value>0.01</value>
        </greater-than>
      </condition>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.002</factor>
        <min>0.1</min>
        <max>0.7</max>
      </volume>
      <pitch>
        <property>velocities/airspeed-kt</property>
        <factor>0.0035</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind-canopy-open>

    <canopy>
      <name>canopy slide2</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>0.3</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </canopy>

    <wind-canopy-closed>
      <name>wind2</name>
      <mode>looped</mode>
      <path>Sounds/wind.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>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>1.0</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.0035</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind-canopy-closed>

    <wind-canopy-open>
      <name>wind-loud2</name>
      <mode>looped</mode>
      <path>Sounds/wind.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
          <property>sim/multiplay/generic/float[1]</property>
          <value>0.01</value>
        </greater-than>
      </condition>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.002</factor>
        <min>0.1</min>
        <max>0.7</max>
      </volume>
      <pitch>
        <property>velocities/airspeed-kt</property>
        <factor>0.0035</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind-canopy-open>

    <guns>
      <name>gunfire</name>
      <mode>looped</mode>
      <path>gunfire_1.wav</path>
      <condition>
        <!-- <property>controls/armament/trigger</property> -->
        <property>sim/multiplay/generic/int[10]</property>
        <!-- <property>ai/submodels/submodel/count</property> -->
      </condition>
      <volume>
        <factor>1.2</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </guns>

    <rain>
      <name>rain</name>
      <mode>looped</mode>
      <path>rain_canopy.wav</path>
      <condition>
        <greater-than>
          <property>environment/rain-norm</property>
          <value>0.2</value>
        </greater-than>
      </condition>
      <volume>
        <property>environment/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>
    </rain>

  </fx>

</PropertyList>
