<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
	<fx>
		<crank>
			<name>engstart</name>
			<mode>once</mode>
			<path>135cdi_starter.wav</path>
			<property>engines/engine[0]/cranking</property>
			<volume>
				<offset>0.7</offset>
			</volume>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
		</crank>
		<crank>
			<name>engstart_loop</name>
			<mode>looped</mode>
			<path>135cdi_starter_loop.wav</path>
			<property>engines/engine[0]/cranking</property>
			<volume>
				<offset>0.2</offset>
			</volume>
			<delay-sec>0.5</delay-sec>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
		</crank>
		<crank>
			<name>cough</name>
			<path>135cdi_engine_catch.wav</path>
			<mode>once</mode>
			<property>engines/engine[0]/running</property>
			<volume>
				<offset>0.9</offset>
			</volume>
			<reference-dist>4.0</reference-dist>
			<max-dist>1000.0</max-dist>
			<position>
				<x> -2.672 </x>
				<y>  0 </y>
				<z>  0 </z>
			</position>
		</crank>
		<engine>
			<name>engine</name>
			<mode>looped</mode>
			<path>135cdi_engine_outside_idle.wav</path>
			<condition>
				<and>
					<or>
						<property>engines/engine/running-2</property>
						<and>
							<not>
								<property>engines/engine/running</property>
							</not>
							<not>
								<property>engines/engine/cranking</property>
							</not>
							<greater-than>
								<property>engines/engine/rpm</property>
								<value>500</value>
							</greater-than>
						</and>
					</or>
					<or>
						<greater-than>
							<property>fdm/jsbsim/doors/canopy-pos-norm</property>
							<value>0.05</value>
						</greater-than>
						<not>
							<property>sim/current-view/internal</property>
						</not>
					</or>
				</and>
			</condition>
			<volume>
				<property>engines/engine/mp-osi</property>
				<factor>0.00375</factor>
				<min>0.5</min>
				<max>2.0</max>
				<offset>0.7</offset>
			</volume>
			<pitch>
				<property>engines/engine/rpm</property>
				<factor>0.0003</factor>
				<min>0.2</min>
				<max>2.0</max>
				<offset>0.0</offset>
			</pitch>
			<position>
				<x> -2.672 </x>
				<y>  0 </y>
				<z>  0 </z>
			</position>
			<reference-dist>4</reference-dist>
			<max-dist>1000</max-dist>
		</engine>
		<engine-internal>
			<name>engine-internal</name>
			<mode>looped</mode>
			<path>135cdi_engine_inside_idle.wav</path>
			<condition>
				<and>
					<or>
						<property>engines/engine/running-2</property>
						<and>
							<not>
								<property>engines/engine/running</property>
							</not>
							<not>
								<property>engines/engine/cranking</property>
							</not>
							<greater-than>
								<property>engines/engine/rpm</property>
								<value>500</value>
							</greater-than>
						</and>
					</or>
					<less-than-equals>
						<property>fdm/jsbsim/doors/canopy-pos-norm</property>
						<value>0.05</value>
					</less-than-equals>
					<property>sim/current-view/internal</property>
				</and>
			</condition>
			<volume>
				<offset>0.9</offset>
			</volume>
			<pitch>
				<property>engines/engine/rpm</property>
				<factor>0.0002</factor>
				<min>0.2</min>
				<max>2.0</max>
				<offset>0.7</offset>
			</pitch>
			<reference-dist>4</reference-dist>
			<max-dist>10</max-dist>
			<position>
				<x> -2.672 </x>
				<y>  0 </y>
				<z>  0 </z>
			</position>
		</engine-internal>
		<stop>
			<name>stop</name>
			<mode>once</mode>
			<path>135cdi_stop.wav</path>
			<condition>
				<and>
					<not>
						<property>/engines/engine/running</property>
					</not>
					<less-than>
						<property>/engines/engine/rpm</property>
						<value>500</value>
					</less-than>
				</and>
			</condition>
			<volume>
				<offset>0.9</offset>
			</volume>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
			<position>
				<x> -2.627 </x>
				<y>  0.0 </y>
				<z>  0.0 </z>
			</position>
		</stop>
		<pump>
			<name>Electric Fuel Pump</name>
			<mode>looped</mode>
			<path>135cdi_electric_pump_running.wav</path>
			<condition>
				<property>systems/electrical/outputs/fuel-pump</property>
				<value>24</value>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
		</pump>
		<gyro>
			<name>gyro</name>
			<mode>looped</mode>
			<path>140b_gyro_spin.wav</path>
			<condition>
				<greater-than>
					<property>/instrumentation/turn-indicator/spin</property>
					<value>0</value>
				</greater-than>
			</condition>
			<volume>
				<property>/instrumentation/turn-indicator/spin</property>
				<factor>1</factor>
				<max>1</max>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>3</max-dist>
		</gyro>
		<rumble>
			<name>rumble</name>
			<mode>looped</mode>
			<path>140b_rumble.wav</path>
			<condition>
				<and>
					<or>
						<property>gear/gear[0]/wow</property>
						<property>gear/gear[1]/wow</property>
						<property>gear/gear[2]/wow</property>
					</or>
					<or>
						<greater-than>
							<property>gear/gear[0]/rollspeed-ms</property>
							<value>1</value>
						</greater-than>
						<greater-than>
							<property>gear/gear[1]/rollspeed-ms</property>
							<value>1</value>
						</greater-than>
						<greater-than>
							<property>gear/gear[2]/rollspeed-ms</property>
							<value>1</value>
						</greater-than>
					</or>
				</and>
			</condition>
			<volume>
				<property>velocities/groundspeed-kt</property>
				<type>log</type>
				<factor>0.5</factor>
				<max>2.5</max>
			</volume>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
		</rumble>
		<squeal>
			<name>squeal-front</name>
			<mode>once</mode>
			<path>140b_wow_front.wav</path>
			<condition>
				<property>gear/gear[0]/wow</property>
			</condition>
			<volume>
				<property>velocities/groundspeed-kt</property>
				<factor>0.05</factor>
			</volume>
			<reference-dist>5</reference-dist>
			<max-dist>1000</max-dist>
			<position>
				<x>-2.6</x>
				<y>0.0</y>
				<z>-1.0</z>
			</position>
		</squeal>
		<squeal>
			<name>squeal-left</name>
			<mode>once</mode>
			<path>140b_wow_main.wav</path>
			<condition>
				<property>gear/gear[1]/wow</property>
			</condition>
			<volume>
				<property>velocities/groundspeed-kt</property>
				<factor>0.05</factor>
			</volume>
			<reference-dist>5</reference-dist>
			<max-dist>1000</max-dist>
			<position>
				<x>-1.0</x>
				<y> 1.25</y>
				<z>-1.0</z>
			</position>
		</squeal>
		<squeal>
			<name>squeal-right</name>
			<mode>once</mode>
			<path>140b_wow_main.wav</path>
			<condition>
				<property>gear/gear[2]/wow</property>
			</condition>
			<volume>
				<property>velocities/groundspeed-kt</property>
				<factor>0.05</factor>
			</volume>
			<reference-dist>5</reference-dist>
			<max-dist>1000</max-dist>
			<position>
				<x>-1.0</x>
				<y>-1.25</y>
				<z>-1.0</z>
			</position>
		</squeal>
		<flap>
			<name>flaps-button</name>
			<mode>once</mode>
			<path>140b_flaps_button.wav</path>
			<condition>
				<or>
					<not-equals>
						<property>surface-positions/flap-pos-norm</property>
						<value>0</value>
					</not-equals>
					<not-equals>
						<property>surface-positions/flap-pos-norm</property>
						<value>0.25</value>
					</not-equals>
					<not-equals>
						<property>surface-positions/flap-pos-norm</property>
						<value>1</value>
					</not-equals>
				</or>
			</condition>
			<volume>
				<factor>2</factor>
			</volume>
			<reference-dist>1.0</reference-dist>
			<max-dist>10.0</max-dist>
		</flap>
		<flap>
			<name>flaps-up-notch</name>
			<mode>once</mode>
			<path>140b_flaps_up.wav</path>
			<condition>
				<less-than>
					<property>surface-positions/flap-pos-norm</property>
					<value>0.15</value>
				</less-than>
			</condition>
			<volume>
				<factor>2</factor>
			</volume>
			<reference-dist>1.0</reference-dist>
			<max-dist>10.0</max-dist>
		</flap>
		<flap>
			<name>flaps-half-notch</name>
			<mode>once</mode>
			<path>140b_flaps_half.wav</path>
			<condition>
				<and>
					<greater-than>
						<property>surface-positions/flap-pos-norm</property>
						<value>0.2</value>
					</greater-than>
					<less-than>
						<property>surface-positions/flap-pos-norm</property>
						<value>0.3</value>
					</less-than>
				</and>
			</condition>
			<volume>
				<factor>2</factor>
			</volume>
			<reference-dist>1.0</reference-dist>
			<max-dist>10.0</max-dist>
		</flap>
		<flap>
			<name>flaps-full-notch</name>
			<mode>once</mode>
			<path>140b_flaps_full.wav</path>
			<condition>
				<greater-than>
					<property>surface-positions/flap-pos-norm</property>
					<value>0.95</value>
				</greater-than>
			</condition>
			<volume>
				<factor>2</factor>
			</volume>
			<reference-dist>1.0</reference-dist>
			<max-dist>10.0</max-dist>
		</flap>
		<stall>
			<name>stall</name>
			<mode>looped</mode>
			<path>DR400-jsbSim-stall.wav</path>
			<condition>
				<and>
					<property>controls/electric/battery-switch</property>
					<greater-than>
						<property>fdm/jsbsim/aero/alpha-deg</property>
						<value>15</value>
					</greater-than>
					<greater-than>
						<property>fdm/jsbsim/aero/qbar-psf</property>
						<value>5</value>
					</greater-than>
				</and>
			</condition>
			<reference-dist>4.0</reference-dist>
			<max-dist>10.0</max-dist>
		</stall>
		<wind>
			<name>wind</name>
			<mode>looped</mode>
			<path>DR400-jsbSim-wind.wav</path>
			<property>velocities/airspeed-kt</property>
			<volume>
				<property>velocities/airspeed-kt</property>
				<factor>0.005</factor>
				<max>1.5</max>
			</volume>
			<pitch>
				<property>velocities/airspeed-kt</property>
				<factor>0.005</factor>
			</pitch>
			<reference-dist>100</reference-dist>
			<max-dist>1000</max-dist>
		</wind>
		<!--                  Toggle Switches                  -->
		<click>
			<name>Clickon</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>sim/model/click</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Clickoff</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<not>
					<property>sim/model/click</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Battery on</name>
			<path>140b_battery_switch.wav</path>
			<condition>
				<property>controls/electric/battery-switch</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Battery off</name>
			<path>140b_battery_switch.wav</path>
			<condition>
				<not>
					<property>controls/electric/battery-switch</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Engine Master On</name>
			<path>135cdi_engine_master_switch_on.wav</path>
			<condition>
				<property>/controls/engines/engine/master</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Engine Master Off</name>
			<path>135cdi_engine_master_switch_off.wav</path>
			<condition>
				<not>
					<property>/controls/engines/engine/master</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Glow Off</name>
			<path>135cdi_glow_off.wav</path>
			<condition>
				<equals>
					<property>/engines/engine[0]/glow</property>
					<value>1</value>
				</equals>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Alternator on</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>/controls/engines/engine/master-alt</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Alternator off</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<not>
					<property>/controls/engines/engine/master-alt</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Fuel Pump on</name>
			<path>135cdi_electric_pump_switch.wav</path>
			<condition>
				<property>controls/fuel/tank/boost-pump</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Fuel Pump off</name>
			<path>135cdi_electric_pump_switch.wav</path>
			<condition>
				<not>
					<property>controls/fuel/tank/boost-pump</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Taxi Light On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/lighting/landing-lights</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Taxi Light Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/lighting/landing-lights</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Landing Light On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/lighting/taxi-lights</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Landing Light Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/lighting/taxi-lights</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Nav Light On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/lighting/nav-lights</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Nav Light Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/lighting/nav-lights</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Strobe Lights On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/lighting/strobe-lights</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Strobe Lights Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/lighting/strobe-lights</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Turn and Bank On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>instrumentation/turn-indicator/serviceable</property>
			</condition>
			<volume>
				<factor>1.0</factor>
			</volume>
		</click>
		<click>
			<name>Turn and Bank Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>instrumentation/turn-indicator/serviceable</property>
				</not>
			</condition>
			<volume>
				<factor>1.0</factor>
			</volume>
		</click>
		<click>
			<name>Flashing Beacon On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/switches/flashing-beacon</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Flashing Beacon Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/switches/flashing-beacon</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Pitot Heat On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/anti-ice/pitot-heat</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Pitot Heat Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/anti-ice/pitot-heat</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Magnetos-off</name>
			<path>135cdi_magnetos_off.wav</path>
			<condition>
				<not>
					<property>controls/engines/engine/magnetos</property>
				</not>
			</condition>
			<volume>
				<factor>1.0</factor>
			</volume>
		</click>
		<click>
			<name>Magnetos-B</name>
			<path>135cdi_magnetos_on.wav</path>
			<condition>
				<equals>
					<property>controls/engines/engine/magnetos</property>
					<value>3</value>
				</equals>
			</condition>
			<volume>
				<factor>0.8</factor>
			</volume>
			<reference-dist>0.5</reference-dist>
			<max-dist>5.0</max-dist>
		</click>
		<click>
			<name>Avionics Master On</name>
			<path>140b_switch_on.wav</path>
			<condition>
				<property>controls/switches/master-avionics</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<click>
			<name>Avionics Master Off</name>
			<path>140b_switch_off.wav</path>
			<condition>
				<not>
					<property>controls/switches/master-avionics</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
		</click>
		<!-- Warning Lights switch -->
		<click>
			<name>Warning Lights Switch Test</name>
			<path>140b_warning_switch_test.wav</path>
			<condition>
				<property>controls/lighting/warning-test</property>
			</condition>
		</click>
		<click>
			<name>Warning Lights Switch Test Off</name>
			<path>140b_warning_switch_test_2.wav</path>
			<condition>
				<not>
					<property>controls/lighting/warning-test</property>
				</not>
			</condition>
		</click>
		<click>
			<name>Warning Lights Switch Day</name>
			<path>140b_warning_switch_day.wav</path>
			<condition>
				<not>
					<property>controls/lighting/warning-mode</property>
				</not>
			</condition>
		</click>
		<click>
			<name>Warning Lights Switch Night</name>
			<path>140b_warning_switch_night.wav</path>
			<condition>
				<property>controls/lighting/warning-mode</property>
			</condition>
		</click>
		<click>
			<name> fuel on </name>
			<path>140b_warning_switch_test.wav</path>
			<condition>
				<equals>
					<property>controls/fuel/selected-tank</property>
					<value>0</value>
				</equals>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
		<click>
			<name> fuel off </name>
			<path>140b_warning_switch_test.wav</path>
			<condition>
				<equals>
					<property>controls/fuel/selected-tank</property>
					<value>-1</value>
				</equals>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
		
		<!-- Parking Brake -->
		<click>
			<name>parkbrake_pull</name>
			<path>140b_parkingbrake_pull.wav</path>
			<condition>
				<property>controls/gear/brake-parking</property>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
		<click>
			<name>parkbrake_push</name>
			<path>140b_parkingbrake_push.wav</path>
			<condition>
				<not>
					<property>controls/gear/brake-parking</property>
				</not>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
		
		<click>
			<name>heating_on</name>
			<path>140b_heating_on.wav</path>
			<condition>
				<or>
					<greater-than>
						<property>controls/cabin/heating-1</property>
						<value>0.8</value>
					</greater-than>
					<greater-than>
						<property>controls/cabin/heating-2</property>
						<value>0.8</value>
					</greater-than>
					<greater-than>
						<property>controls/cabin/heating-3</property>
						<value>0.8</value>
					</greater-than>
				</or>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
		<click>
			<name>heating_off</name>
			<path>140b_heating_off.wav</path>
			<condition>
				<or>
					<less-than>
						<property>controls/cabin/heating-1</property>
						<value>0.2</value>
					</less-than>
					<less-than>
						<property>controls/cabin/heating-2</property>
						<value>0.2</value>
					</less-than>
					<less-than>
						<property>controls/cabin/heating-3</property>
						<value>0.2</value>
					</less-than>
				</or>
			</condition>
			<volume>
				<factor>2.0</factor>
			</volume>
			<reference-dist>1</reference-dist>
			<max-dist>10</max-dist>
		</click>
	</fx>
</PropertyList>
