SIMISA@@@@@@@@@@JINX0x1t______


Tr_SMS (
	Skip ( ** SL 5 sounds - Two looping audio streams, playing an pitch shifting loops by Chuff Speed {wheel rot} ** )
	Skip ( **             - One One shot Steam audio stream                ** )
	Skip ( **             - One Whistle audio stream				                                								                             ** )
	Skip ( **             - One Injector 1 audio stream				                                            	                             ** )
	Skip ( **             - One Injector 2 audio stream				                                            	                             ** )
	Skip ( **             - One Sander audio stream   ** )
	Skip ( **             - One TBrake audio stream      ** )
	Skip ( **             - One Brake Loop audio stream				                                            	                             ** )
	Skip ( **             - One Safety Valve Loop audio stream				                                            	                             ** )
	Skip ( **             - One Water Trough Loop audio stream																												             ** )
	Skip ( **             - One Fire box Loop audio stream				                                            	                             ** )
	Skip ( **             - One Fire box shovelling stream				                                            	                             ** )
	Skip ( **             - One Control audio stream with individual Control sounds                                              ** )
	Skip ( **             - One Coupling audio stream				                                            	                         ** )
	
	Skip ( ** NOTE: This highest scalabily level used Paul W's method of pitch shifting and over laying differing      ** )
	Skip ( **       frequencies to cover the join.  Also using one shots at the low speeds.     ** )
	Skip ( **       And Setting the volume from a code generated volume value     ** )
	ScalabiltyGroup( 5
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ()
		Streams ( 13
			Stream (
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	 ( StartLoop ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Speed_Inc_Past 2.0	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 2.0 StartLoop ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 4
						0.0,		0.25
						0.4,		0.2
						1.6,		0.1
						2.0,  	0.0
					)

					Granularity ( 0.01 )
				)			
			)
			Stream (
				Priority ( 6 )
				Triggers ( 16
					Variable_Trigger ( Speed_Inc_Past  .2	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  8	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  13	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  16	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  21	ReleaseLoopRelease () )	
					
					Variable_Trigger ( Speed_Inc_Past  24	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  29	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Inc_Past  29	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  24	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past  21	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  16	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past  13	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  8	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past 5		StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  .2	ReleaseLoopRelease () )					
				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 41
						0.0,		0.0
						0.2,		0.2
						0.4,		0.4
						0.6,		0.6
						0.8,		0.8
						1.0,		1.0
						4.2,		0.8
						4.4,		0.6
						4.6,		0.4
						4.8,		0.2
						5.0,		0.0

						8.2,		0.2
						8.4,		0.4
						8.6,		0.6
						8.8,		0.8
						9.0,		1.0
						12.2,		0.8
						12.4,		0.6
						12.6,		0.4
						12.8,		0.2
						13.0,		0.0

						16.2,		0.2
						16.4,		0.4
						16.6,		0.6
						16.8,		0.8
						17.0,		1.0
						20.2,		0.8
						20.4,		0.6
						20.6,		0.4
						20.8,		0.2
						21.0,		0.0

						24.2,		0.2
						24.4,		0.4
						24.6,		0.6
						24.8,		0.8
						25.0,		1.0
						28.2,		0.8
						28.4,		0.6
						28.6,		0.4
						28.8,		0.2
						29.0,		0.0
					)
					
					Granularity (0.01)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past   4	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   9	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past   12	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   17	ReleaseLoopRelease () )
					
					Variable_Trigger ( Speed_Inc_Past   20	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   25	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past   28	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise8.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   28	ReleaseLoopRelease () )

					Variable_Trigger ( Speed_Dec_Past 25	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 20	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past 17	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 12	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past 9		StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 4		ReleaseLoopRelease () )	

				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 35
						
						4.2,  	0.2
						4.4,		0.4
						4.6,		0.6
						4.8,		0.8
						5.0,		1.0
						8.2,		0.8
						8.4,		0.6
						8.6,		0.4
						8.8,		0.2
						9.0,		0.0
					
						12.2,		0.2
						12.4,		0.4
						12.6,		0.6
						12.8,		0.8
						13.0,		1.0
						16.2,		0.8
						16.4,		0.6
						16.6,		0.4
						16.8,		0.2
						17.0,		0.0

						20.2,		0.2
						20.4,		0.4
						20.6,		0.6
						20.8,		0.8
						21.0,		1.0
						24.2,		0.8
						24.4,		0.6
						24.6,		0.4
						24.8,		0.2
						25.0,		0.0

						28.2,		0.2
						28.4,		0.4
						28.6,		0.6
						28.8,		0.8
						29.0,		1.0
					)
					
					Granularity (0.01)
				)
			)
			Stream(
				Skip( **** Whistle sounds. **** )
				Priority( 6 )
				Triggers( 2					
					Discrete_Trigger ( 8 	StartLoopRelease ( 1 File( "a380_whistle1.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 9 	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream(
				Skip( **** Injector 1 operating sounds. **** )
				Priority( 6 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 30 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_injector1i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 31 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Injector 2 operating sounds. **** )
				Priority( 6 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 27 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_injector2i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 28 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Sander operating sounds. **** )
				Priority( 6 )
				Triggers( 2				
					Discrete_Trigger ( 4 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_sandf.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5 	ReleaseLoopRelease () )
				)
			)			
			Stream (
				Skip ( **** Train Brake **** )
				Priority ( 5 )
				Volume(0.25)
				Triggers ( 3				
					Discrete_Trigger (  14	
						PlayOneShot ( 3	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto1.wav" -1 )	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto2.wav" -1 )	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Discrete_Trigger (  21	
						PlayOneShot ( 3	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto1.wav" -1 )	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto2.wav" -1 )	
							File ( "..\\..\\380\\SOUND\\a380_airb_auto3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream(
				Skip( **** Water scoop sounds. **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 38 	
						StartLoopRelease ( 3 
							File( "..\\..\\380\\SOUND\\fuel_xfer_wtr1t.wav" -1 ) 
							File( "..\\..\\380\\SOUND\\fuel_xfer_wtr2t.wav" -1 ) 
							File( "..\\..\\380\\SOUND\\fuel_xfer_wtr3t.wav" -1 ) 
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Discrete_Trigger ( 39	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Fire Box Open sounds. **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 40 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_fboxopen.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 41 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Shovelling sounds. **** )
				Priority( 5 )
				Triggers( 58
					Initial_Trigger( DisableTrigger( 11 ) )
					Initial_Trigger( DisableTrigger( 12 ) )
					Initial_Trigger( DisableTrigger( 13 ) )
					Initial_Trigger( DisableTrigger( 14 ) )
					Initial_Trigger( DisableTrigger( 15 ) )
					
					Initial_Trigger( DisableTrigger( 16 ) )
					Initial_Trigger( DisableTrigger( 17 ) )
					Initial_Trigger( DisableTrigger( 18 ) )
					Initial_Trigger( DisableTrigger( 19 ) )
					Initial_Trigger( DisableTrigger( 20 ) )					

					Skip( **** 500 pounds per hour. **** )					
					Random_Trigger(						
						Delay_Min_Max( 19  20 )   
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					) 
						
					Skip( **** 1000 pounds per hour. **** )
					Random_Trigger(	
						Delay_Min_Max( 17  18 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 1500 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 15  16 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
					
					Skip( **** 2000 pounds per hour. **** )
					Random_Trigger(					
						Delay_Min_Max( 13 14 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
						
					Skip( **** 2500 pounds per hour. **** )
					Random_Trigger(					
						Delay_Min_Max( 11 12)
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 3000 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 9 10 ) 
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
						
					Skip( **** 3500 pounds per hour. **** )
					Random_Trigger(											
						Delay_Min_Max( 7  8 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 4000 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 5  6 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 4500 pounds per hour. **** )					
					Random_Trigger(							
						Delay_Min_Max( 3  4 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 5000 pounds per hour. **** )					
					Random_Trigger(							
						Delay_Min_Max( 2 3 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
					
					Skip( **** Shovelling rate detection. **** )
					Variable_Trigger ( Variable3_Inc_Past	1	EnableTrigger ( 11 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	10	DisableTrigger ( 11 ) )
					Variable_Trigger ( Variable3_Inc_Past	10	EnableTrigger ( 12 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	20	DisableTrigger ( 12 ) )
					Variable_Trigger ( Variable3_Inc_Past	20	EnableTrigger ( 13 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	30	DisableTrigger ( 13 ) )
					Variable_Trigger ( Variable3_Inc_Past	30	EnableTrigger ( 14 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	40	DisableTrigger ( 14 ) )
					Variable_Trigger ( Variable3_Inc_Past	40	EnableTrigger ( 15 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	50	DisableTrigger ( 15 ) )
					Variable_Trigger ( Variable3_Inc_Past	50	EnableTrigger ( 16 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	60	DisableTrigger ( 16 ) )
					Variable_Trigger ( Variable3_Inc_Past	60	EnableTrigger ( 17 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	70	DisableTrigger ( 17 ) )
					Variable_Trigger ( Variable3_Inc_Past	70	EnableTrigger ( 18 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	80	DisableTrigger ( 18 ) )
					Variable_Trigger ( Variable3_Inc_Past	80	EnableTrigger ( 19 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	90	DisableTrigger ( 19 ) )
					Variable_Trigger ( Variable3_Inc_Past	90	EnableTrigger ( 20 ) )
										
					Variable_Trigger ( Variable3_Dec_Past	90	DisableTrigger ( 20 ) )
					Variable_Trigger ( Variable3_Dec_Past	90	EnableTrigger ( 19 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	80	DisableTrigger ( 19 ) )
					Variable_Trigger ( Variable3_Dec_Past	80	EnableTrigger ( 18 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	70	DisableTrigger ( 18 ) )
					Variable_Trigger ( Variable3_Dec_Past	70	EnableTrigger ( 17 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	60	DisableTrigger ( 17 ) )
					Variable_Trigger ( Variable3_Dec_Past	60	EnableTrigger ( 16 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	50	DisableTrigger ( 16 ) )
					Variable_Trigger ( Variable3_Dec_Past	50	EnableTrigger ( 15 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	40	DisableTrigger ( 15 ) )
					Variable_Trigger ( Variable3_Dec_Past	40	EnableTrigger ( 14 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	30	DisableTrigger ( 14 ) )
					Variable_Trigger ( Variable3_Dec_Past	30	EnableTrigger ( 13 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	20	DisableTrigger ( 13 ) )
					Variable_Trigger ( Variable3_Dec_Past	20	EnableTrigger ( 12 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	10	DisableTrigger ( 12 ) )
					Variable_Trigger ( Variable3_Dec_Past	10	EnableTrigger ( 11 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	1	DisableTrigger ( 11 ) )
				)				
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Priority ( 5 )
				Volume(0.5)
				Triggers ( 8
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_reverserf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_regulatorb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_abrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_abrakeb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 33	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_bloweri.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 34	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_cocko.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 36	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_fireboxo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 44	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_heat.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Skip( **** {un}Coupling sounds. **** )
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "..\\..\\380\\SOUND\\uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)

	Skip ( ** SL 3 sounds - Two looping audio stream, idle wave and moving waves - pitch shifted & Xfaded by Chuff Speed {wheel rot} ** )
	Skip ( **             - One Whistle audio stream				                                								                             ** )
	Skip ( **             - One Injector 1 audio stream				                                            	                             ** )
	Skip ( **             - One Injector 2 audio stream				                                            	                             ** )
	Skip ( **             - One Sander audio stream   ** )
	Skip ( **             - One TBrake audio stream      ** )
	Skip ( **             - One Brake Loop audio stream				                                            	                             ** )
	Skip ( **             - One Safety Valve Loop audio stream				                                            	                             ** )
	Skip ( **             - One Water Trough Loop audio stream				                                            	                             ** )
	Skip ( **             - One Fire box Loop audio stream				                                            	                             ** )
	Skip ( **             - One Control audio stream with individual Control sounds                                              ** )
	ScalabiltyGroup( 3
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ( )
		Streams ( 13
			Stream (
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	 ( StartLoop ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Speed_Inc_Past 2.0	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 2.0 StartLoop ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 4
						0.0,		0.25
						0.4,		0.2
						1.6,		0.1
						2.0,  	0.0
					)

					Granularity ( 0.01 )
				)			
			)
			Stream (
				Priority ( 6 )
				Triggers ( 16
					Variable_Trigger ( Speed_Inc_Past  .2	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  8	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  13	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  16	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  21	ReleaseLoopRelease () )	
					
					Variable_Trigger ( Speed_Inc_Past  24	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  29	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Inc_Past  29	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  24	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past  21	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  16	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past  13	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  8	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past 5		StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  .2	ReleaseLoopRelease () )					
				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 41
						0.0,		0.0
						0.2,		0.2
						0.4,		0.4
						0.6,		0.6
						0.8,		0.8
						1.0,		1.0
						4.2,		0.8
						4.4,		0.6
						4.6,		0.4
						4.8,		0.2
						5.0,		0.0

						8.2,		0.2
						8.4,		0.4
						8.6,		0.6
						8.8,		0.8
						9.0,		1.0
						12.2,		0.8
						12.4,		0.6
						12.6,		0.4
						12.8,		0.2
						13.0,		0.0

						16.2,		0.2
						16.4,		0.4
						16.6,		0.6
						16.8,		0.8
						17.0,		1.0
						20.2,		0.8
						20.4,		0.6
						20.6,		0.4
						20.8,		0.2
						21.0,		0.0

						24.2,		0.2
						24.4,		0.4
						24.6,		0.6
						24.8,		0.8
						25.0,		1.0
						28.2,		0.8
						28.4,		0.6
						28.6,		0.4
						28.8,		0.2
						29.0,		0.0
					)
					
					Granularity (0.01)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past   4	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   9	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past   12	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   17	ReleaseLoopRelease () )
					
					Variable_Trigger ( Speed_Inc_Past   20	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   25	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past   28	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise8.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   28	ReleaseLoopRelease () )

					Variable_Trigger ( Speed_Dec_Past 25	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 20	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past 17	StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 12	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past 9		StartLoop ( 1	File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 4		ReleaseLoopRelease () )	

				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 35
						
						4.2,  	0.2
						4.4,		0.4
						4.6,		0.6
						4.8,		0.8
						5.0,		1.0
						8.2,		0.8
						8.4,		0.6
						8.6,		0.4
						8.8,		0.2
						9.0,		0.0
					
						12.2,		0.2
						12.4,		0.4
						12.6,		0.6
						12.8,		0.8
						13.0,		1.0
						16.2,		0.8
						16.4,		0.6
						16.6,		0.4
						16.8,		0.2
						17.0,		0.0

						20.2,		0.2
						20.4,		0.4
						20.6,		0.6
						20.8,		0.8
						21.0,		1.0
						24.2,		0.8
						24.4,		0.6
						24.6,		0.4
						24.8,		0.2
						25.0,		0.0

						28.2,		0.2
						28.4,		0.4
						28.6,		0.6
						28.8,		0.8
						29.0,		1.0
					)
					
					Granularity (0.01)
				)
			)
			Stream(
				Skip( **** Whistle sounds. **** )
				Priority( 6 )
				Triggers( 2					
					Discrete_Trigger ( 8 	StartLoopRelease ( 1 File( "a380_whistle1.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 9 	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream(
				Skip( **** Injector 1 operating sounds. **** )
				Priority( 6 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 30 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_injector1i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 31 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Injector 2 operating sounds. **** )
				Priority( 6 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 27 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_injector1i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 28 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Sander operating sounds. **** )
				Priority( 6 )
				Triggers( 2				
					Discrete_Trigger ( 4 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_sandf.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5 	ReleaseLoopRelease () )
				)
			)			
			Stream (
				Skip ( **** Train Brake **** )
				Priority ( 5 )
				Triggers ( 3				
					Discrete_Trigger (  14	
						PlayOneShot ( 1
							File ( "..\\..\\380\\SOUND\\a380_airb_auto1.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Discrete_Trigger (  21	
						PlayOneShot ( 1
							File ( "..\\..\\380\\SOUND\\a380_airb_auto1.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream(
				Skip( **** Water scoop sounds. **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 38 	
						StartLoopRelease ( 1
							File( "..\\..\\380\\SOUND\\fuel_xfer_wtr1t.wav" -1 ) 
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Discrete_Trigger ( 39	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Fire Box Open sounds. **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 40 	StartLoopRelease ( 1 File( "..\\..\\380\\SOUND\\a380_fboxopen.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 41 	ReleaseLoopRelease () )
				)
			)
			Stream(
				Skip( **** Shovelling sounds. **** )
				Priority( 5 )
				Triggers( 58
					Initial_Trigger( DisableTrigger( 11 ) )
					Initial_Trigger( DisableTrigger( 12 ) )
					Initial_Trigger( DisableTrigger( 13 ) )
					Initial_Trigger( DisableTrigger( 14 ) )
					Initial_Trigger( DisableTrigger( 15 ) )
					
					Initial_Trigger( DisableTrigger( 16 ) )
					Initial_Trigger( DisableTrigger( 17 ) )
					Initial_Trigger( DisableTrigger( 18 ) )
					Initial_Trigger( DisableTrigger( 19 ) )
					Initial_Trigger( DisableTrigger( 20 ) )					

					Skip( **** 500 pounds per hour. **** )					
					Random_Trigger(						
						Delay_Min_Max( 19  20 )   
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					) 
						
					Skip( **** 1000 pounds per hour. **** )
					Random_Trigger(	
						Delay_Min_Max( 17  18 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 1500 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 15  16 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
					
					Skip( **** 2000 pounds per hour. **** )
					Random_Trigger(					
						Delay_Min_Max( 13 14 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
						
					Skip( **** 2500 pounds per hour. **** )
					Random_Trigger(					
						Delay_Min_Max( 11 12)
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 3000 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 9 10 ) 
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
						
					Skip( **** 3500 pounds per hour. **** )
					Random_Trigger(											
						Delay_Min_Max( 7  8 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 4000 pounds per hour. **** )					
					Random_Trigger(											
						Delay_Min_Max( 5  6 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 4500 pounds per hour. **** )					
					Random_Trigger(							
						Delay_Min_Max( 3  4 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)

					Skip( **** 5000 pounds per hour. **** )					
					Random_Trigger(							
						Delay_Min_Max( 2 3 )
						Volume_Min_Max( 0.7 1.0 )
						PlayOneShot( 4
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coali.wav" -1 )  
							File( "..\\..\\380\\SOUND\\a380_coald.wav" -1 )  
							SelectionMethod ( RandomSelection )
						) 
					)
					
					Skip( **** Shovelling rate detection. **** )
					Variable_Trigger ( Variable3_Inc_Past	1	EnableTrigger ( 11 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	10	DisableTrigger ( 11 ) )
					Variable_Trigger ( Variable3_Inc_Past	10	EnableTrigger ( 12 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	20	DisableTrigger ( 12 ) )
					Variable_Trigger ( Variable3_Inc_Past	20	EnableTrigger ( 13 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	30	DisableTrigger ( 13 ) )
					Variable_Trigger ( Variable3_Inc_Past	30	EnableTrigger ( 14 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	40	DisableTrigger ( 14 ) )
					Variable_Trigger ( Variable3_Inc_Past	40	EnableTrigger ( 15 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	50	DisableTrigger ( 15 ) )
					Variable_Trigger ( Variable3_Inc_Past	50	EnableTrigger ( 16 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	60	DisableTrigger ( 16 ) )
					Variable_Trigger ( Variable3_Inc_Past	60	EnableTrigger ( 17 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	70	DisableTrigger ( 17 ) )
					Variable_Trigger ( Variable3_Inc_Past	70	EnableTrigger ( 18 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	80	DisableTrigger ( 18 ) )
					Variable_Trigger ( Variable3_Inc_Past	80	EnableTrigger ( 19 ) )
					
					Variable_Trigger ( Variable3_Inc_Past	90	DisableTrigger ( 19 ) )
					Variable_Trigger ( Variable3_Inc_Past	90	EnableTrigger ( 20 ) )
										
					Variable_Trigger ( Variable3_Dec_Past	90	DisableTrigger ( 20 ) )
					Variable_Trigger ( Variable3_Dec_Past	90	EnableTrigger ( 19 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	80	DisableTrigger ( 19 ) )
					Variable_Trigger ( Variable3_Dec_Past	80	EnableTrigger ( 18 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	70	DisableTrigger ( 18 ) )
					Variable_Trigger ( Variable3_Dec_Past	70	EnableTrigger ( 17 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	60	DisableTrigger ( 17 ) )
					Variable_Trigger ( Variable3_Dec_Past	60	EnableTrigger ( 16 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	50	DisableTrigger ( 16 ) )
					Variable_Trigger ( Variable3_Dec_Past	50	EnableTrigger ( 15 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	40	DisableTrigger ( 15 ) )
					Variable_Trigger ( Variable3_Dec_Past	40	EnableTrigger ( 14 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	30	DisableTrigger ( 14 ) )
					Variable_Trigger ( Variable3_Dec_Past	30	EnableTrigger ( 13 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	20	DisableTrigger ( 13 ) )
					Variable_Trigger ( Variable3_Dec_Past	20	EnableTrigger ( 12 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	10	DisableTrigger ( 12 ) )
					Variable_Trigger ( Variable3_Dec_Past	10	EnableTrigger ( 11 ) )
					
					Variable_Trigger ( Variable3_Dec_Past	1	DisableTrigger ( 11 ) )
				)				
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Priority ( 5 )
				Volume(0.5)
				Triggers ( 9
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_reverserf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_regulatorb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_abrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_abrakeb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 33	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_bloweri.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 34	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_cocko.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 36	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_fireboxo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 44	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_heat.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)

	Skip ( ** SL 1 sounds - One looping audio stream, idle wave and low, medium & high speed          ** )
	Skip ( **             - One whistle audio stream	                                                ** )
	Skip ( **             - One Control audio stream with generic control sounds                      ** )
	ScalabiltyGroup( 1
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ( )
		Streams ( 3
			Stream (
				Priority ( 6 )
				Triggers ( 13
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( StartLoop   ( 1 File ( "a380_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Variable_Trigger ( Speed_Inc_Past  		2.0 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  		2.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  		10.0 ReleaseLoopRelease () )				
					Variable_Trigger ( Speed_Inc_Past  		10.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  		20.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Inc_Past  		20.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Variable_Trigger ( Speed_Dec_Past  		20.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  		20.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  		10.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  		10.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  		2.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  		2.0 StartLoop   ( 1 File ( "..\\..\\380\\SOUND\\a380_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "a380_whistle1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Priority ( 5 )
				Triggers ( 15
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 32	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 33	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 34	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 36	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 44	PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 30 PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 31 PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 27 PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 28 PlayOneShot ( 1	File ( "..\\..\\380\\SOUND\\a380_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)