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

<PropertyList>

  <fx>

    <!-- ENGINE LEFT -->
    <crank>
      <name>engstart1</name>
      <path>starter.wav</path>
      <!-- <property>engines/engine[0]/cranking</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
      <volume>
        <offset> 0.5 </offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>crank1</name>
      <mode>looped</mode>
      <path>cranking.wav</path>
      <condition>
        <!-- <property>engines/engine[0]/cranking</property> -->
        <property>sim/multiplay/generic/bool[6]</property>
        <!-- <not><property>engines/engine[0]/running</property></not> -->
        <not><property>sim/multiplay/generic/bool[7]</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>cough1</name>
      <path>startup.wav</path>
      <!-- <property>engines/engine[0]/running</property> -->
      <property>sim/multiplay/generic/bool[7]</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine-external-1</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <!-- <property>engines/engine[0]/running</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <not><property>sim/current-view/internal</property></not>
      </condition>
      <volume>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.018</factor>
        <min>0.35</min>
        <max>2</max>
        <offset>0.35</offset>
      </volume>
      <pitch>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.0005</factor>
        <min>0.3</min>
        <max>2.0</max>
        <offset>0.3</offset>
      </pitch>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>engine-internal-1</name>
      <mode>looped</mode>
      <path>running-in.wav</path>
      <condition>
        <and>
          <!-- <property>engines/engine[0]/running</property> -->
          <property>sim/multiplay/generic/bool[7]</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.012</factor>
        <min>0.4</min>
        <max>1.5</max>
        <offset>0.4</offset>
      </volume>
      <pitch>
        <!-- <property>engines/engine[0]/rpm</property> -->
        <property>sim/multiplay/generic/float[4]</property>
        <factor>0.0005</factor>
        <min>0.3</min>
        <max>2.0</max>
        <offset>0.3</offset>
      </pitch>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ENGINE RIGHT -->
    <crank>
      <name>engstart2</name>
      <path>starter.wav</path>
      <!-- <property>engines/engine[1]/cranking</property> -->
      <property>sim/multiplay/generic/bool[8]</property>
      <volume>
        <offset> 0.5 </offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>crank2</name>
      <mode>looped</mode>
      <path>cranking.wav</path>
      <condition>
        <!-- <property>engines/engine[1]/cranking</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
        <!-- <not><property>engines/engine[1]/running</property></not> -->
        <not><property>sim/multiplay/generic/bool[9]</property></not>
      </condition>
      <volume>
        <offset>0.5</offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <crank>
      <name>cough2</name>
      <path>startup.wav</path>
      <!-- <property>engines/engine[1]/running</property> -->
      <property>sim/multiplay/generic/bool[9]</property>
      <volume>
        <offset>0.3</offset>
      </volume>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine-external-2</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <!-- <property>engines/engine[1]/running</property> -->
        <property>sim/multiplay/generic/bool[9]</property>
        <not><property>sim/current-view/internal</property></not>
      </condition>
      <volume>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[13]</property>
        <factor>0.018</factor>
        <min>0.35</min>
        <max>2</max>
        <offset>0.35</offset>
      </volume>
      <pitch>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[13]</property>
        <factor>0.0005</factor>
        <min>0.3</min>
        <max>2.0</max>
        <offset>0.3</offset>
      </pitch>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>engine-internal-2</name>
      <mode>looped</mode>
      <path>running-in.wav</path>
      <condition>
        <and>
          <!-- <property>engines/engine[1]/running</property> -->
          <property>sim/multiplay/generic/bool[9]</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[13]</property>
        <factor>0.012</factor>
        <min>0.4</min>
        <max>1.5</max>
        <offset>0.4</offset>
      </volume>
      <pitch>
        <!-- <property>engines/engine[1]/rpm</property> -->
        <property>sim/multiplay/generic/float[13]</property>
        <factor>0.0005</factor>
        <min>0.3</min>
        <max>2.0</max>
        <offset>0.3</offset>
      </pitch>
      <position>
        <x> 1.8 </x>
        <y> 0.0 </y>
        <z> 0.0 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- *************************************************************************** -->
    <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/groundspeed-kt</property>
        <type>log</type>
        <factor>0.35</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rumble>

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

    <squeal>
      <name>Squeal</name>
      <path>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>
        <factor>0.8</factor>
      </volume>
      <pitch>
        <property>velocities/groundspeed-kt</property>
        <factor>0.0025</factor>
        <offset>1.2</offset>
      </pitch>
      <position>
        <x> 0.8 </x>
        <y> 0   </y>
        <z>-1.28</z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <crash>
      <name>Intense ground contact</name>
      <mode>once</mode>
      <path>Sounds/crash.wav</path>
      <!-- <property>sim/crashed</property> -->
      <property>sim/multiplay/generic/bool[1]</property>
      <volume>
        <factor>1</factor>
      </volume>
      <pitch>
        <factor>0.1</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crash>

    <stall>
      <name>stall</name>
      <mode>looped</mode>
      <path>Sounds/stall.wav</path>
      <condition>
        <and>
          <property>controls/electric/battery-switch</property>
          <less-than>
            <property>velocities/airspeed-kt</property>
            <value>65</value>
          </less-than>
          <not>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
          </not>
        </and>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </stall>

    <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>0.4</offset>
        <min>0.1</min>
        <max>0.4</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.0007</factor>
        <min>0.03</min>
        <max>0.12</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>

    <!-- SWITCHES -->
    <!-- GENERATOR -->
    <click>
      <name>Generator switch on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/electric/engine/generator</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Generator switch off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/electric/engine/generator</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- BATTERY -->
    <click>
      <name>Battery switch on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/electric/battery-switch</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Battery switch off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/electric/battery-switch</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- INSTRUMENTS LIGHT -->
    <click>
      <name>Instruments light on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/lighting/instrument-lights</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Instruments light off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/lighting/instrument-lights</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- FUEL PUMP (ICE) -->
    <click>
      <name>Fuel pump on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/engines/engine/fuel-pump</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Fuel pump off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/engines/engine/fuel-pump</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- NAV LIGHTS -->
    <click>
      <name>Nav light on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/lighting/nav-lights</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Nav light off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/lighting/nav-lights</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- STROBE LIGHTS -->
    <click>
      <name>Strobe light on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/lighting/strobe</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Stribe light off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/lighting/strobe</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <!-- LANDING LIGHTS -->
    <click>
      <name>Landing light on</name>
      <path>Button.wav</path>
      <condition>
        <property>controls/lighting/landing-lights</property>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <click>
      <name>Landing light off</name>
      <path>Button.wav</path>
      <condition>
        <not>
          <property>controls/lighting/landing-lights</property>
        </not>
      </condition>
      <volume>
        <factor>0.7</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </click>

    <kap140-disengage>
      <name>kap140 disengage</name>
      <path>kap140-disengage.wav</path>
      <condition>
        <or>
          <equals>
            <property>autopilot/kap140/panel/state</property>
            <value>3</value>
          </equals>
          <property>autopilot/kap140/panel/ap-timer</property>
        </or>
      </condition>
      <volume><factor>0.2</factor></volume>
      <position>
        <x>-0.444</x>
        <y> 0.229</y>
        <z> 0.312</z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </kap140-disengage>

    <kap140-alert>
      <name>kap140 altitude alerter</name>
      <path>kap140-alert.wav</path>
      <condition>
        <property>autopilot/kap140/panel/alt-alert-sound</property>
      </condition>
      <volume><factor>0.2</factor></volume>
      <position>
        <x>-0.444</x>
        <y> 0.229</y>
        <z> 0.312</z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </kap140-alert>

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

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

    <door>
      <name>Passenger Door 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>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <rain>
      <name>rain</name>
      <mode>looped</mode>
      <path>rain.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>
