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


Tr_SMS (
	
	Skip ( **      2Zyl 2,0m Cap sound von Johann Riffel     ** )

	ScalabiltyGroup( 5
		Activation 	(	CabCam		()				)
		Deactivation 	(	PassengerCam	()	ExternalCam 	()	)
		Stereo ()
		Streams ( 13
			Stream (
				Skip( **** Standsound **** )
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	( 				StartLoop ( 1 File ( "idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	
					Variable_Trigger	( Speed_Inc_Past  	10.00	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	10.00	StartLoop (1 File ( "idle.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 3
						-10.0		0.0
						   0.0		1.0
						 10.0  		0.0
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-10.0		  8000
						   0.0		11025
						 10.0		  8000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Fahrsound **** )
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "cruise.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 5
						-40.0		0.3
						  -1.0		1.0
						   0.0		0.0
						   1.0  		1.0
						 40.0		0.3
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-40.0		40000 
						   0.0		11025
						 40.0		40000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Zylinder 1 & 2  **** )
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  2.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  6.60	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	13.30	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		13.30	StartLoop (1 File ( "power_cruise4.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	13.30	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	13.30	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  6.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  2.60	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 5
						-40.0 		40000
						  -2.0		11025 
						   0.0		  8000
						   2.0		11025
						 40.0		40000
					)
					Granularity ( 25 )
				)
				VolumeCurve ( 
					Variable1Controlled
					CurvePoints ( 5
						-1.00		1.0
						-0.05		1.0
						 0.00		0.3
						 0.05		1.0
						 1.00		1.0
					)
					Granularity ( 0.01 )
				)
			)
			Stream(
				Skip( **** Whistle **** )
				Priority( 6 )
				Triggers( 8
					Initial_Trigger 	(				DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	DisableTrigger ( 6 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	EnableTrigger  ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	EnableTrigger  ( 6 ) )
					Discrete_Trigger (  8	PlayOneShot 	 (1 File ( "pfeife.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  8	StartLoopRelease  (1 File ( "pfeife5.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  9	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream (
				Skip ( **** Zug Bremse **** )
				Priority ( 6 )
				Triggers ( 2				
					Discrete_Trigger (  14	PlayOneShot ( 2	File ( "airb_auto2.wav" -1 )	File ( "../../common.snd/0Dampf_Jan/airb_auto3.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	PlayOneShot ( 1 	File ( "airb_auto1.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip( **** Injector 1  **** )
				Priority( 5 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 30 	StartLoopRelease ( 1 File( "injector1i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 31 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Injector 2 **** )
				Priority( 5 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 27 	StartLoopRelease ( 1 File( "injector2i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 28 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Sander  **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 4 	StartLoopRelease ( 1 File( "sandf.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Wasser Tanken **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 38 	
						StartLoopRelease ( 3 
							File( "fuel_xfer_wtr1t.wav" -1 ) 
							File( "fuel_xfer_wtr2t.wav" -1 ) 
							File( "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( "fboxopen.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 41 	ReleaseLoopRelease () )
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Priority ( 5 )
				Volume(0.5)
				Triggers ( 9
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "reverserf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "regulatorb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "abrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "abrakeb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 32	PlayOneShot ( 1	File ( "damperi.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 33	PlayOneShot ( 1	File ( "bloweri.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 34	PlayOneShot ( 1	File ( "cocko.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 36	PlayOneShot ( 1	File ( "fireboxo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 44	PlayOneShot ( 1	File ( "heat.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)			
			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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( "coali.wav" -1 )  
							File( "coald.wav" -1 )  
							File( "coali.wav" -1 )  
							File( "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( **** {un}Coupling sounds. **** )
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
	ScalabiltyGroup( 3
		Activation 	(	CabCam		()				)
		Deactivation 	(	PassengerCam	()	ExternalCam 	()	)
		Stereo ()
		Streams ( 10
			Stream (
				Skip( **** Standsound **** )
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	( 				StartLoop ( 1 File ( "idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	
					Variable_Trigger	( Speed_Inc_Past  	10.00	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	10.00	StartLoop (1 File ( "idle.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 3
						-10.0		0.0
						   0.0		1.0
						 10.0  		0.0
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-10.0		  8000
						   0.0		11025
						 10.0		  8000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Fahrsound **** )
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "cruise.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 5
						-40.0		0.3
						  -1.0		1.0
						   0.0		0.0
						   1.0  		1.0
						 40.0		0.3
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-40.0		40000 
						   0.0		11025
						 40.0		40000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Zylinder 1 & 2  **** )
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  2.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  6.60	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	13.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		13.60	StartLoop (1 File ( "power_cruise4.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	13.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	13.60	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  6.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  2.60	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 5
						-35.0 		40000
						  -2.0		11025 
						   0.0		  8000
						   2.0		11025
						 35.0		40000
					)
					Granularity ( 25 )
				)
				VolumeCurve ( 
					Variable1Controlled
					CurvePoints ( 5
						-1.00		1.0
						-0.05		1.0
						 0.00		0.3
						 0.05		1.0
						 1.00		1.0
					)
					Granularity ( 0.01 )
				)
			)
			Stream(
				Skip( **** Whistle **** )
				Priority( 6 )
				Triggers( 8
					Initial_Trigger 	(				DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	DisableTrigger ( 6 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	EnableTrigger  ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	EnableTrigger  ( 6 ) )
					Discrete_Trigger (  8	PlayOneShot 	 (1 File ( "pfeife.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  8	StartLoopRelease  (1 File ( "pfeife5.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  9	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream (
				Skip ( **** Zug Bremse **** )
				Priority ( 6 )
				Triggers ( 2				
					Discrete_Trigger (  14	PlayOneShot ( 2	File ( "airb_auto2.wav" -1 )	File ( "airb_auto3.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	PlayOneShot ( 1 	File ( "airb_auto1.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip( **** Injector 1  **** )
				Priority( 5 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 30 	StartLoopRelease ( 1 File( "injector1i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 31 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Injector 2 **** )
				Priority( 5 )
				Volume(0.1)
				Triggers( 2				
					Discrete_Trigger ( 27 	StartLoopRelease ( 1 File( "injector2i.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 28 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Sander  **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 4 	StartLoopRelease ( 1 File( "sandf.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5 	ReleaseLoopRelease () )
				)
			)			
			Stream(
				Skip( **** Fire Box Open sounds. **** )
				Priority( 5 )
				Triggers( 2				
					Discrete_Trigger ( 40 	StartLoopRelease ( 1 File( "fboxopen.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 41 	ReleaseLoopRelease () )
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Priority ( 5 )
				Volume(0.5)
				Triggers ( 8
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "reverserf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "regulatorb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "abrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "abrakeb.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 33	PlayOneShot ( 1	File ( "bloweri.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 34	PlayOneShot ( 1	File ( "cocko.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 36	PlayOneShot ( 1	File ( "fireboxo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 44	PlayOneShot ( 1	File ( "heat.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)			
		)
	)
	ScalabiltyGroup( 1
		Activation 	(	CabCam		()				)
		Deactivation 	(	PassengerCam	()	ExternalCam 	()	)
		Stereo ()
		Streams ( 4
			Stream (
				Skip( **** Standsound **** )
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	( 				StartLoop ( 1 File ( "idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	
					Variable_Trigger	( Speed_Inc_Past  	10.00	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	10.00	StartLoop (1 File ( "idle.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 3
						-10.0		0.0
						   0.0		1.0
						 10.0  		0.0
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-10.0		  8000
						   0.0		11025
						 10.0		  8000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Fahrsound **** )
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "cruise.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 5
						-40.0		0.3
						  -1.0		1.0
						   0.0		0.0
						   1.0  		1.0
						 40.0		0.3
					)
					Granularity ( 0.05 )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-40.0		40000 
						   0.0		11025
						 40.0		40000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Skip( **** Zylinder 1 & 2  **** )
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger	( Speed_Inc_Past		  0.01	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  2.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		  6.60	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Inc_Past  	13.30	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Inc_Past		13.30	StartLoop (1 File ( "power_cruise4.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	13.30	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	13.30	StartLoop (1 File ( "power_cruise3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  6.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  6.60	StartLoop (1 File ( "power_cruise2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  2.60	ReleaseLoopRelease () )
					Variable_Trigger	( Speed_Dec_Past	  2.60	StartLoop (1 File ( "power_cruise1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past  	  0.01	ReleaseLoopRelease () )
				)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 5
						-40.0 		40000
						  -2.0		11025 
						   0.0		  8000
						   2.0		11025
						 40.0		40000
					)
					Granularity ( 25 )
				)
				VolumeCurve ( 
					Variable1Controlled
					CurvePoints ( 5
						-1.00		1.0
						-0.05		1.0
						 0.00		0.3
						 0.05		1.0
						 1.00		1.0
					)
					Granularity ( 0.01 )
				)
			)
			Stream(
				Skip( **** Whistle **** )
				Priority( 6 )
				Triggers( 8
					Initial_Trigger 	(				DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	DisableTrigger ( 6 ) )
					Variable_Trigger 	( 	Speed_Inc_Past		2.5	EnableTrigger  ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	DisableTrigger ( 7 ) )
					Variable_Trigger 	( 	Speed_Dec_Past		2.5	EnableTrigger  ( 6 ) )
					Discrete_Trigger (  8	PlayOneShot 	 (1 File ( "pfeife.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  8	StartLoopRelease  (1 File ( "pfeife5.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  9	ReleaseLoopReleaseWithJump () )
				)
			)
		)
	)
)