<?xml version="1.0"?>

<PropertyList>

	<fx>

		<engine>
			<name>engine-start-inside</name>
			<mode>once</mode>
			<path>Aircraft/Harrier-GR1/Sounds/turbine_start_in.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>engine-start-outside</name>
			<mode>once</mode>
			<path>Aircraft/Harrier-GR1/Sounds/harrier-startup.wav</path>
			<condition>
				<and>
					<greater-than>  
						<property>/engines/engine[0]/rpm</property>
						<value>0.5</value>
					</greater-than>
					<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>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>Aircraft/Harrier-GR1/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>Sounds/gatling.wav</path>
			<condition> 
				<property>controls/armament/trigger</property>
			</condition>
			<volume>
				<max>0.8</max>
			</volume>
		</guns>

		<voice>
			<name>G-Force Breath Vox</name>
			<path>Aircraft/Harrier-GR1/Sounds/GForce.wav</path>
			<condition>
				<greater-than>
					<property>/accelerations/pilot/z-accel-fps_sec</property>
					<value>-161</value>
				</greater-than>   
			</condition>
			<volume>
				<factor>0.9</factor>
			</volume>
		</voice>

		<voice>
			<name>G-Force Vox</name>
			<path>Aircraft/Harrier-GR1/Sounds/G-Force.wav</path>
			<condition>
				<less-than>
					<property>/accelerations/pilot/z-accel-fps_sec</property>
					<value>-225</value>
				</less-than>   
			</condition>
			<volume>
				<factor>0.9</factor>
			</volume>
		</voice> 

		<flyby>
			<name>Fly-By</name>
			<mode>looped</mode>
			<path>Aircraft/Harrier-GR1/Sounds/Fly-By.wav</path>
			<condition>
				<and>
					<greater-than>
						<property>/velocities/mach</property>
						<value>0.8</value>
					</greater-than>
					<equals>
						<property>sim/current-view/view-number</property>
						<value>6</value>
					</equals>
				</and>
				<not>
					<property>/sim/current-view/internal</property>
					<property>/engines/engine/out-of-fuel</property>
				</not>
			</condition>
			<volume>
				<property>velocities/airspeed-kt</property>
				<factor>0.001</factor>
			</volume>
		</flyby> 

	</fx>

</PropertyList>