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

<PropertyList>

  <fx>

    <!-- Engines 1 Left Exterior -->
    <crank>
      <name>engstart1</name>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[0]/starter</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>2.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine0</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <not><property>/controls/engines/engine[0]/cutoff</property></not>
        <property>/engines/engine[0]/running</property>
      </condition>
      <volume>
        <property>/engines/engine[0]/rpm</property>
        <factor>0.00032</factor>
        <min>0.12</min>
        <max>0.75</max>
      </volume>
      <pitch>
        <property>/engines/engine[0]/rpm</property>
        <factor>0.00008</factor>
        <min>0.0</min>
        <max>0.2</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown1</name>
      <path>shutdown.wav</path>
      <mode>once</mode>
      <condition>
        <property>/controls/engines/engine[0]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[0]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- Engines 2 Left interior -->
    <crank>
      <name>engstart2</name>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[1]/starter</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>2.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine1</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <not><property>/controls/engines/engine[1]/cutoff</property></not>
        <property>/engines/engine[1]/running</property>
      </condition>
      <volume>
        <property>/engines/engine[1]/rpm</property>
        <factor>0.00032</factor>
        <min>0.12</min>
        <max>0.75</max>
      </volume>
      <pitch>
        <property>/engines/engine[1]/rpm</property>
        <factor>0.00008</factor>
        <min>0.0</min>
        <max>0.2</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown1</name>
      <path>shutdown.wav</path>
      <mode>once</mode>
      <condition>
        <property>/controls/engines/engine[1]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[1]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- Engines 3 Right interior -->
    <crank>
      <name>engstart3</name>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[2]/starter</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>2.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine2</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <not><property>/controls/engines/engine[2]/cutoff</property></not>
        <property>/engines/engine[2]/running</property>
      </condition>
      <volume>
        <property>/engines/engine[2]/rpm</property>
        <factor>0.00032</factor>
        <min>0.12</min>
        <max>0.75</max>
      </volume>
      <pitch>
        <property>/engines/engine[2]/rpm</property>
        <factor>0.00008</factor>
        <min>0.0</min>
        <max>0.2</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown1</name>
      <path>shutdown.wav</path>
      <mode>once</mode>
      <condition>
        <property>/controls/engines/engine[2]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[2]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- Engines 4 Right exterior-->
    <crank>
      <name>engstart4</name>
      <path>starter.wav</path>
      <condition>
        <property>/controls/engines/engine[3]/starter</property>
      </condition>
      <volume>
        <property>orientation/alpha-deg</property>
        <type>log</type>
        <min>0.5</min>
        <max>2.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crank>

    <engine>
      <name>engine3</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <not><property>/controls/engines/engine[3]/cutoff</property></not>
        <property>/engines/engine[3]/running</property>
      </condition>
      <volume>
        <property>/engines/engine[3]/rpm</property>
        <factor>0.00032</factor>
        <min>0.12</min>
        <max>0.75</max>
      </volume>
      <pitch>
        <property>/engines/engine[3]/rpm</property>
        <factor>0.00008</factor>
        <min>0.0</min>
        <max>0.2</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown1</name>
      <path>shutdown.wav</path>
      <mode>once</mode>
      <condition>
        <property>/controls/engines/engine[3]/cutoff</property>
      </condition>
      <volume>
        <property>/engines/engine[3]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ************************************************ -->
    <rumble>
      <name>rumble1</name>
      <mode>looped</mode>
      <path>24roll.wav</path>
      <condition>
        <property>/gear/gear[0]/wow</property>
      </condition>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <type>log</type>
        <factor>0.25</factor>
        <min>0.0</min>
        <max>0.80</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rumble>

    <rumble>
      <name>rumble2</name>
      <mode>looped</mode>
      <path>24roll.wav</path>
      <condition>
        <or>
          <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.25</factor>
        <min>0.0</min>
        <max>0.80</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rumble>

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

    <gear>
      <name>gear-lock</name>
      <path>gear-lck.wav</path>
      <condition>
        <greater-than>
          <property>/gear/gear[0]/position-norm</property>
          <value>0.96</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.55</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>

    <squeal>
      <name>squeal1</name>
      <mode>once</mode>
      <path>squeal.wav</path>
      <condition>
        <property>/gear/gear[0]/wow</property>
      </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>
        <min>0.7</min>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.0025</factor>
        <offset>0.5</offset>
        <min>0.9</min>
        <max>1.0</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <squeal>
      <name>squeal2</name>
      <mode>once</mode>
      <path>squeal.wav</path>
      <condition>
        <property>/gear/gear[2]/wow</property>
      </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>
        <min>0.7</min>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.0025</factor>
        <offset>0.5</offset>
        <min>0.9</min>
        <max>1.0</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

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

    <speedwarn>
      <name>warn1</name>
      <mode>looped</mode>
      <path>dinamik_pr2.wav</path>
      <condition>
        <greater-than>
          <property>velocities/groundspeed-kt</property>
          <value>419</value>
        </greater-than>
      </condition>
      <volume>
        <offset>1.0</offset>
        <min>1.0</min>
        <max>1.0</max>
      </volume>
      <reference-dist>10</reference-dist>
      <max-dist>100</max-dist>
    </speedwarn>

    <stall>
      <name>stall</name>
      <mode>looped</mode>
      <path>stall.wav</path>
      <property>/sim/alarms/stall-warning</property>
      <volume>
        <property>/sim/alarms/stall-warning</property>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </stall>

    <decision>
      <name>decision</name>
      <mode>once</mode>
      <path>omi_1.wav</path>
      <condition>
        <less-than>
          <property>position/altitude-agl-ft</property>
          <property>instrumentation/altimeter/decision-height</property>
        </less-than>
      </condition>
      <volume>
        <min>1.0</min>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </decision>

    <door>
      <name>Crew doorT</name>
      <mode>in-transit</mode>
      <path>door_close.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>sim/multiplay/generic/float[0]</property>
            <value>0.01</value>
          </greater-than>
          <less-than>
            <property>sim/multiplay/generic/float[0]</property>
            <value>0.99</value>
          </less-than>
        </and>
      </condition>
      <volume>
        <factor>0.11</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Crew door</name>
      <path>door_closed.wav</path>
      <condition>
        <equals>
          <property>sim/multiplay/generic/float[0]</property>
          <value>0.0</value>
        </equals>
      </condition>
      <volume>
        <factor>0.35</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Passenger doorT</name>
      <mode>in-transit</mode>
      <path>door_close.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>sim/multiplay/generic/float[1]</property>
            <value>0.01</value>
          </greater-than>
          <less-than>
            <property>sim/multiplay/generic/float[1]</property>
            <value>0.99</value>
          </less-than>
        </and>
      </condition>
      <volume>
        <factor>0.12</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Passenger door</name>
      <path>door_closed.wav</path>
      <condition>
        <equals>
          <property>sim/multiplay/generic/float[1]</property>
          <value>0.0</value>
        </equals>
      </condition>
      <volume>
        <factor>0.35</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>wind.wav</path>
      <property>/environment/wind-speed-kt</property>
      <volume>
        <property>/environment/wind-speed-kt</property>
        <factor>0.0025</factor>
        <min>0.00</min>
        <max>0.20</max>
      </volume>
      <pitch>
        <property>/environment/wind-speed-kt</property>
        <factor>0.01</factor>
        <offset>0.2</offset>
        <max>0.70</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind>

    <!-- Rain -->
    <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.2</offset>
        <min>0.0</min>
        <max>0.6</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.001</factor>
        <offset>0.50</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rain>

    <!-- ADF-MorseCode, see txt file -->
    <ADF>
      <name>ADF1</name>
      <mode>looped</mode>
      <path>Morse.wav</path>
      <condition>
        <property>/instrumentation/adf[0]/in-range</property>
      </condition>
      <volume>
        <property>instrumentation/adf[0]/volume</property>
        <min>0.00</min>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </ADF>

    <ADF>
      <name>ADF2</name>
      <mode>looped</mode>
      <path>Morse.wav</path>
      <condition>
        <property>/instrumentation/adf[1]/in-range</property>
      </condition>
      <volume>
        <property>instrumentation/adf[1]/volume</property>
        <min>0.00</min>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </ADF>

  </fx>

</PropertyList>
