<?xml version="1.0"?>

<PropertyList>

  <fx>
     <radarLocking>
	  <name>boreSight</name>
	  <mode>looped</mode>
	  <path>Aircraft/harrier/Sound/lock.wav</path>
	  <condition>
	      <or>
	        <equals>
		  	<property>instrumentation/radar/lock</property>
		  	<value>1</value>
                </equals>
		<equals>
		 	<property>instrumentation/radar/lock</property>
			<value>2</value>
                </equals>
	      </or>
          </condition>
	  <volume>
		  <factor>1.0</factor>
          </volume>
    </radarLocking>
   

    <engine>
      <name>engine</name>
      <path>Sounds/jet.wav</path>
      <mode>looped</mode>
      <property>engines/engine/running</property>
      <volume>
        <property>engines/engine/prop-thrust</property>
        <type>lin</type>
        <factor>0.0002353</factor>
        <!-- Scales to 0-2 for 8500lb engine -->
      </volume>
    </engine>

    <engine>
      <name>whine</name>
      <path>Sounds/whine.wav</path>
      <mode>looped</mode>
      <property>engines/engine/running</property>
      <pitch>
        <property>engines/engine/n1</property>
        <type>lin</type>
        <factor>.008</factor>
      </pitch>
      <volume>
        <property>engines/engine/n1</property>
        <type>log</type>
        <factor>0.1</factor>
        <!-- 10-100% rpm == 0.1 - 1 factor -->
      </volume>
    </engine>

    <rumble>
      <name>rumble</name>
      <mode>looped</mode>
      <path>Sounds/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/airspeed-kt</property>
        <type>lin</type>
        <factor>.012</factor>
      </volume>
    </rumble>

    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>Sounds/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>gear-lock</name>
      <path>Sounds/gear-lck.wav</path>
      <condition>
        <equals>
          <property>gear/gear[0]/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
    </gear>

    <squeal>
      <name>squeal</name>
      <path>Sounds/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>
        <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>Sounds/flaps.wav</path>
      <property>surface-positions/flap-pos-norm</property>
      <volume>
        <offset>0.25</offset>
      </volume>
    </flap>

    <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>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.01</factor>
        <offset>1.25</offset>
      </pitch>
    </wind>

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

    <speedbrake>
      <name>speedbrake</name>
      <mode>in-transit</mode>
      <path>Sounds/whine.wav</path>
      <property>surface-positions/speedbrake-pos-norm</property>
      <volume>
        <offset>0.125</offset>
        <min>0.1</min>
        <max>0.9</max>
      </volume>
    </speedbrake>

    <rumble>
      <name>speedbrake rumble</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>1</value>
      </condition>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.125</min>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.12</factor>
        <min>0.125</min>
        <max>1.0</max>
      </volume>
    </rumble>

    <spoiler>
      <name>spoiler</name>
      <mode>in-transit</mode>
      <path>Sounds/whine.wav</path>
      <property>surface-positions/spoiler-pos-norm</property>
      <volume>
        <offset>0.125</offset>
        <min>0.1</min>
        <max>0.9</max>
      </volume>
    </spoiler>

    <rumble>
      <name>spoiler rumble</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <property>surface-positions/spoiler-pos-norm</property>
        <value>1</value>
      </condition>
      <volume>
        <property>position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.125</min>
        <max>1.0</max>
      </volume>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.12</factor>
        <min>0.125</min>
        <max>1.0</max>
      </volume>
    </rumble>
	
    <guns> 
        <name>gunfire</name>
        <mode>looped</mode>
        <path>Aircraft/harrier/Sound/guns.wav</path>
        <condition> 
          <property>controls/armament/trigger</property>
        </condition>
        <volume>
          <max>0.8</max>
        </volume>
      </guns>
<!-- no binding yet?
  <click>
   <name>click</name>
   <path>Aircraft/harrier/Sound/click.wav</path>
  </click>
-->

  </fx>

</PropertyList>
