<?xml version="1.0" encoding="UTF-8"?>
<!--
"******************************************************************************"
"*                                   ________                                 *"
"*                                  |  ____  |                                *"
"*  R44 Sounds by                   | |    | |                                *"
"*                                  | |____| |  ___   ___   ___   ___         *"
"*  May 2011                        |  ____-<  | _ | | _ | | _ | | _ | |\   | *"
"*                                  | |    | | ||_|| |___| || || || || | \  | *"
"*  BACON GUILLAUME                 | |____| | |   | | _ | ||_|| ||_|| |  \ | *"
"*                                  |________| |_|_| |___| |___| |___| |   \| *"
"*                                                                            *"
"******************************************************************************"
Make with Audacity on Debain Squeeze
All Sounds are sampled and recorded by BaBoOn May 2011

baboon922@hotmail.com
	
	<position>
	+x = aft
	+y = left
	+z = up
-->

<PropertyList>
	<fx>

		<crank>
			<name>crank</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Engine_start.wav</path>
				<max-dist>5</max-dist>
				<reference-dist>2</reference-dist>
				<condition>
							<property>engines/engine/cranking</property>
					<not>
                					<property>/engines/engine/running</property>
            				</not>
				</condition>
				<volume>
							<property>/sim/model/sound/volume</property>
				</volume>
				<pitch>
							<property>/engines/engine/cranking</property>
								<factor>0.2</factor>
				</pitch>
				<position>
								<x>-0.3</x>
								<y>0</y>
								<z>-1.5</z>
				</position>
		</crank>

		<crank>
			<name>cough</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Engine_coughing.wav</path>
				<max-dist>20</max-dist>
				<reference-dist>10</reference-dist>
							<property>/engines/engine/running</property>

				<volume>
							<property>/sim/model/sound/volume</property>
				</volume>
				<pitch>
							<property>/engines/engine/running</property>
								<factor>1.0</factor>
				</pitch>
				<position>
								<x>-0.3</x>
								<y>0</y>
								<z>-1.5</z>
				</position>
		</crank>

		<engine>
			<name>engine</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Engine.wav</path>
				<max-dist>500</max-dist>
				<reference-dist>150</reference-dist>
				<condition>
					<and>
						<greater-than>
						 	<property>engines/engine/rpm</property>
								<value>100</value>
						</greater-than>
					<or>
						<greater-than>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
					<not>
							<property>sim/current-view/internal</property>
					</not>
					</or>
					</and>
				</condition>
				<volume>
							<property>/sim/model/sound/volume</property>
				</volume>
				<pitch>
							<property>/engines/engine/rpm</property>
								<offset>0</offset>
								<factor>0.0005</factor>
								<min>0.35</min>
								<max>1.0</max>
				</pitch>
				<position>
								<x>-0.3</x>
								<y>0</y>
								<z>-1.5</z>
				</position>
		</engine>

		<engine-internal>
			<name>engine-internal</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Engine-Internal.wav</path>
				<reference-dist>4.0</reference-dist>
				<max-dist>10.0</max-dist>
				<condition>
					<and>
							<property>sim/current-view/internal</property>
						<greater-than>
							<property>engines/engine/rpm</property>
								<value>100</value>
						</greater-than>
					<or>
						<equals>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</equals>
					</or>
					</and>
				</condition>
				<pitch>
							<property>engines/engine/rpm</property>
								<factor>0.0005</factor>
								<min>0.35</min>
								<max>1.0</max>
								<offset>0.15</offset>
				</pitch>
		</engine-internal>

		<rotor>
			<name>main rotor</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Rotor.wav</path>
				<max-dist>100</max-dist>
				<reference-dist>50</reference-dist>
				<condition>
					<and>
						<greater-than>
							<property>rotors/main/rpm</property>
								<value>50</value>
						</greater-than>
					<or>
						<greater-than>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
					<not>
							<property>sim/current-view/internal</property>
					</not>
					</or>
					</and>
				</condition>
				<volume>
							<property>/sim/model/sound/volume</property>
				</volume>
				<volume>
							<property>rotors/main/rpm</property>
								<factor>0.005</factor>
								<min>0</min>
								<max>1.0</max>
				</volume>
				<pitch>
							<property>rotors/main/rpm</property>
								<factor>0.0018</factor>
								<offset>0.0</offset>
								<min>0.00</min>
								<max>1.0</max>
				</pitch>
				<position>
								<x>0</x>
								<y>0</y>
								<z>0.3</z>
				</position>
		</rotor>

		<rotor-internal>
			<name>rotor-internal</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Rotor-Internal.wav</path>
			<reference-dist>4.0</reference-dist>
			<max-dist>10.0</max-dist>
				<condition>
					<and>
							<property>sim/current-view/internal</property>
						<greater-than>
							<property>rotors/main/rpm</property>
								<value>100</value>
						</greater-than>
					<or>
						<equals>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</equals>
					</or>
					</and>
				</condition>
				<volume>
							<property>/sim/model/sound/volume</property>
				</volume>
				<volume>
							<property>rotors/main/rpm</property>
								<factor>0.005</factor>
								<min>0</min>
								<max>1.0</max>
				</volume>
				<pitch>
							<property>rotors/main/rpm</property>
								<factor>0.0018</factor>
								<offset>0.0</offset>
								<min>0.00</min>
								<max>1.0</max>
				</pitch>
				<position>
								<x>0</x>
								<y>0</y>
								<z>0.3</z>
				</position>
		</rotor-internal>

		<overspeed>
			<name>overspeed</name>
			<mode>looped</mode>
			<path>Sounds/overspeed.wav</path>
				<condition>
						<greater-than>
							<property>velocities/airspeed-kt</property>
								<value>130</value>
						</greater-than>
						<equals>
							<property>sim/current-view/view-number</property>
								<value>0</value>
						</equals>
				</condition>
				<volume>
								<factor>1.0</factor>
				</volume>
				<pitch>
								<factor>0.1</factor>
				</pitch>
			<reference-dist>1.0</reference-dist>
			<max-dist>2.0</max-dist>
		</overspeed>

		<overspeed>
			<name>overspeed</name>
			<mode>looped</mode>
			<path>Sounds/overspeed2.wav</path>
				<condition>
						<greater-than>
							<property>velocities/airspeed-kt</property>
								<value>131</value>
						</greater-than>
						<equals>
							<property>sim/current-view/view-number</property>
								<value>0</value>
						</equals>
				</condition>
				<volume>
								<factor>1.0</factor>
				</volume>
				<pitch>
								<factor>0.1</factor>
				</pitch>
			<reference-dist>1.0</reference-dist>
			<max-dist>2.0</max-dist>
		</overspeed>

		<contact>
			<name>ground contact</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Flotteur.wav</path>
			<max-dist>10</max-dist>
			<reference-dist>5</reference-dist>
				<condition>
					<or>
							<property>gear/gear[0]/wow</property>
							<property>gear/gear[1]/wow</property>
							<property>gear/gear[2]/wow</property>
							<property>gear/gear[3]/wow</property>
					</or>
				</condition>
				<volume>
								<factor>0.8</factor>
				</volume>
				<pitch>
								<factor>0.01</factor>
				</pitch>
			<max-dist>5.0</max-dist>
			<max-dist>10.0</max-dist>
				<position>
								<x>0</x>
								<y>0</y>
								<z>-2</z>
				</position>
		</contact>

		<wind>
			<name>wind</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Wind.wav</path>
				<condition>
					<and>
							<property>velocities/airspeed-kt</property>
					<or>
						<greater-than>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
						<greater-than>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
					<not>
							<property>sim/current-view/internal</property>
					</not>
					</or>
					<not>
							<property>sim/crashed</property>
					</not>
					</and>
				</condition>
				<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>
			<reference-dist>3</reference-dist>
			<max-dist>4</max-dist>
		</wind>

		<wind>
			<name>wind-internal</name>
			<mode>looped</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Wind.wav</path>
				<condition>
					<and>
							<property>velocities/airspeed-kt</property>
					<or>
						<equals>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</equals>
						<equals>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</equals>
					</or>
					<not>
							<property>sim/crashed</property>
					</not>
					</and>
				</condition>
				<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.00</min>
								<max>0.25</max>
				</volume>
				<pitch>
							<property>velocities/airspeed-kt</property>
								<factor>0.01</factor>
								<offset>1.25</offset>
				</pitch>
			<reference-dist>3</reference-dist>
			<max-dist>4</max-dist>
		</wind>

		<crash>
			<name>intense ground contact</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Explosion.wav</path>
							<property>sim/crashed</property>
				<volume>
								<factor>1</factor>
				</volume>
				<pitch>
								<factor>0.1</factor>
				</pitch>
			<reference-dist>100</reference-dist>
			<max-dist>500</max-dist>
		</crash>

		<alert>
			<name>rpm warning</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Beep.wav</path>
			<max-dist>4</max-dist>
			<reference-dist>2</reference-dist>
				<condition>
					<and>
							<property>instrumentation/alerts/rpm</property>
						<less-than>
							<property>rotors/main/rpm</property>
								<value>500</value>
						</less-than>
					</and>
				</condition>
				<volume>
								<factor>1</factor>
				</volume>
				<position>
								<x>0</x>
								<y>0</y>
								<z>-1.5</z>
				</position>
		</alert>

		<click>
			<name>switches on</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Click.wav</path>
			<max-dist>2</max-dist>
			<reference-dist>1</reference-dist>
				<condition>
							<property>sim/model/sound/click</property>
				</condition>
				<volume>
							<property>sim/model/sound/volume</property>
				</volume>
				<position>
								<x>1.5</x>
								<y>0</y>
								<z>-1.8</z>
				</position>
		</click>

		<click>
			<name>switches off</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Click.wav</path>
			<max-dist>2</max-dist>
			<reference-dist>1</reference-dist>
				<condition>
					<not>
							<property>sim/model/sound/click</property>
					</not>
				</condition>
				<volume>
							<property>sim/model/sound/volume</property>
				</volume>
				<position>
								<x>1.5</x>
								<y>0</y>
								<z>-1.8</z>
				</position>
		</click>

		<door>
			<name>close right frontdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_close.wav</path>
				<condition>
						<equals>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</equals>
				</condition>
				<position>
								<x>1.0</x>
								<y>1.5</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>close left frontdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_close.wav</path>
				<condition>
						<equals>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</equals>
				</condition>
				<position>
								<x>-1.0</x>
								<y>1.5</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>close right backdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_close.wav</path>
				<condition>
						<equals>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</equals>
				</condition>
				<position>
								<x>1.0</x>
								<y>1.0</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>close left backdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_close.wav</path>
				<condition>
						<equals>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</equals>
				</condition>
				<position>
								<x>-1.0</x>
								<y>1.0</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>open right frontdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_open.wav</path>
				<condition>
						<greater-than>
							<property>instrumentation/doors/Rcrew/position-norm</property>
								<value>0</value>
						</greater-than>
				</condition>
				<position>
								<x>1.0</x>
								<y>1.5</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>open left frontdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_open.wav</path>
				<condition>
						<greater-than>
							<property>instrumentation/doors/Lcrew/position-norm</property>
								<value>0</value>
						</greater-than>
				</condition>
				<position>
								<x>-1.0</x>
								<y>1.5</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>open right backdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_open.wav</path>
				<condition>
						<greater-than>
							<property>instrumentation/doors/Rpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
				</condition>
				<position>
								<x>1.0</x>
								<y>1.0</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

		<door>
			<name>open left backdoor</name>
			<mode>once</mode>
			<path>Aircraft/R44/Sounds/BaBoOn-R44-Door_open.wav</path>
				<condition>
						<greater-than>
							<property>instrumentation/doors/Lpassenger/position-norm</property>
								<value>0</value>
						</greater-than>
				</condition>
				<position>
								<x>-1.0</x>
								<y>1.0</y>
								<z>-1.5</z>
				</position>
				<volume>
								<factor>0.3</factor>
				</volume>
			<reference-dist>15</reference-dist>
			<max-dist>50</max-dist>
		</door>

	</fx>
</PropertyList>
