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

<PropertyList>

  <fx>

    <!-- Engine 1 -->
    <engine>
      <name>start-inside0</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[0]/starter</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.03 </min>
        <max> 0.07 </max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>start-outside0</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[0]/starter</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor> 0.09 </factor>
        <min> 0.3 </min>
        <max> 0.9 </max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>turbine-inside0</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <and>
          <not><property>controls/engines/engine[0]/cutoff</property></not>
          <property>engines/engine[0]/running</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor>0.01</factor>
        <min>0.03</min>
        <max>0.07</max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <factor>0.01</factor>
        <min>0</min>
        <max>0.9</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>turbine-outside0</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <and>
          <not><property>controls/engines/engine[0]/cutoff</property></not>
          <property>engines/engine[0]/running</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <factor>0.01</factor>
        <min>0</min>
        <max>0.9</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown-inside0</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[0]/cutoff</property>
          <property>/controls/engines/engine[0]/flag</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <factor>0.01</factor>
        <min>0.03</min>
        <max>0.07</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown-outside0</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[0]/cutoff</property>
          <property>/controls/engines/engine[0]/flag</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </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>

    <engine>
      <name>whine0</name>
      <path>whine.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[0]/cutoff</property></not>
        <property>engines/engine[0]/running</property>
      </condition>
      <volume>
        <property>engines/engine[0]/thrust-lbs</property>
        <factor>0.010</factor>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>engines/engine[0]/n1</property>
        <factor>0.01</factor>
        <offset>0.15</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- Engine 2 -->
    <engine>
      <name>start-inside1</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[1]/starter</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.03 </min>
        <max> 0.07 </max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>start-outside1</name>
      <mode>once</mode>
      <path>starter.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[1]/starter</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor> 0.09 </factor>
        <min> 0.3 </min>
        <max> 0.9 </max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n2</property>
        <factor> 0.01 </factor>
        <min> 0.0 </min>
        <max> 0.9 </max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>turbine-inside1</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <and>
          <not><property>controls/engines/engine[0]/cutoff</property></not>
          <property>engines/engine[1]/running</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor>0.01</factor>
        <min>0.03</min>
        <max>0.07</max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n2</property>
        <factor>0.01</factor>
        <min>0</min>
        <max>0.9</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>turbine-outside1</name>
      <mode>looped</mode>
      <path>running.wav</path>
      <condition>
        <and>
          <not><property>controls/engines/engine[0]/cutoff</property></not>
          <property>engines/engine[1]/running</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor>0.09</factor>
        <min>0.3</min>
        <max>0.9</max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n2</property>
        <factor>0.01</factor>
        <min>0</min>
        <max>0.9</max>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown-inside1</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[1]/cutoff</property>
          <property>/controls/engines/engine[0]/flag</property>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>engines/engine[1]/n2</property>
        <factor>0.01</factor>
        <min>0.03</min>
        <max>0.07</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>shutdown-outside1</name>
      <mode>once</mode>
      <path>shutdown.wav</path>
      <condition>
        <and>
          <property>controls/engines/engine[1]/cutoff</property>
          <property>/controls/engines/engine[0]/flag</property>
          <not><property>sim/current-view/internal</property></not>
        </and>
      </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>

    <engine>
      <name>whine1</name>
      <path>whine.wav</path>
      <mode>looped</mode>
      <condition>
        <not><property>controls/engines/engine[0]/cutoff</property></not>
        <property>engines/engine[1]/running</property>
      </condition>
      <volume>
        <property>engines/engine[1]/thrust-lbs</property>
        <factor>0.010</factor>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>engines/engine[1]/n1</property>
        <factor>0.01</factor>
        <offset>0.15</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ************************************************ -->
    <rumble>
      <name>rumble0</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <property>gear/gear[0]/wow</property>
      </condition>
      <volume>
        <property>gear/gear[0]/rollspeed-ms</property>
        <type>log</type>
        <factor>0.12</factor>
      </volume>
      <pitch>
        <property>gear/gear[0]/rollspeed-ms</property>
      </pitch>
    </rumble>

    <rumble>
      <name>rumble1</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <property>gear/gear[1]/wow</property>
      </condition>
      <volume>
        <property>gear/gear[1]/rollspeed-ms</property>
        <type>log</type>
        <factor>0.12</factor>
      </volume>
    </rumble>

    <rumble>
      <name>rumble2</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <property>gear/gear[2]/wow</property>
      </condition>
      <volume>
        <property>gear/gear[2]/rollspeed-ms</property>
        <type>log</type>
        <factor>0.12</factor>
      </volume>
    </rumble>

    <gear>
      <name>gear0</name>
      <mode>in-transit</mode>
      <path>gear.wav</path>
      <property>gear/gear[0]/position-norm</property>
      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>-0.001</factor>
      </pitch>
    </gear>

    <gear>
      <name>gear0-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[0]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
    </gear>

    <gear>
      <name>gear0-lock1</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[0]/position-norm</property>
          <value>1</value>
        </equals>
      </condition>
    </gear>

    <gear>
      <name>gear1</name>
      <mode>in-transit</mode>
      <path>gear.wav</path>
      <property>gear/gear[1]/position-norm</property>
      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>-0.001</factor>
      </pitch>
    </gear>

    <gear>
      <name>gear1-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[1]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
    </gear>

    <gear>
      <name>gear1-lock1</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[1]/position-norm</property>
          <value>1</value>
        </equals>
      </condition>
    </gear>

    <gear>
      <name>gear2</name>
      <mode>in-transit</mode>
      <path>gear.wav</path>
      <property>gear/gear[2]/position-norm</property>
      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>-0.001</factor>
      </pitch>
    </gear>

    <gear>
      <name>gear2-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[2]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
    </gear>

    <gear>
      <name>gear2-lock1</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[2]/position-norm</property>
          <value>1</value>
        </equals>
      </condition>
    </gear>

    <squeal>
      <name>squeal0</name>
      <path>Sounds/squeal.wav</path>
      <condition>
        <property>gear/gear[0]/wow</property>
      </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>
    </squeal>

    <squeal>
      <name>squeal1</name>
      <path>Sounds/squeal.wav</path>
      <condition>
        <property>gear/gear[1]/wow</property>
      </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>
    </squeal>

    <squeal>
      <name>squeal2</name>
      <path>Sounds/squeal.wav</path>
      <condition>
        <property>gear/gear[2]/wow</property>
      </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>
    </squeal>

    <flap>
      <name>flaps</name>
      <mode>in-transit</mode>
      <path>flaps.wav</path>
      <property>surface-positions/flap-pos-norm</property>
      <volume>
        <factor>0.25</factor>
      </volume>
    </flap>

    <spoiler>
      <name>spoilers</name>
      <mode>in-transit</mode>
      <path>flaps.wav</path>
      <property>surface-positions/speedbrake-pos-norm</property>
      <volume>
        <factor>0.15</factor>
      </volume>
    </spoiler>

    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>wind.wav</path>
      <property>velocities/airspeed-kt</property>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.002</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>
    </wind>

    <stall>
      <name>stall</name>
      <path>Sounds/stall.wav</path>
      <property>sim/alarms/stall-warning</property>
      <volume>
        <property>velocities/airspeed-kt</property>
        <min>90.0</min>
      </volume>
    </stall>

    <gun>
      <name>Guns</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>
        </and>
      </condition>
      <reference-dist>100</reference-dist>
      <max-dist>1500</max-dist>
    </gun>

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

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