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


Tr_SMS (
	Skip ( ** SL 5 sounds - Two looping audio streams, multiple waves - pitch shifted & Xfaded by rpm  ** )
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 11
			Stream (
				Priority ( 6 )
				Volume (0.7)
				Triggers ( 2
					Skip( ****	Sound of 1d12 engine - Low Gear - Positions 0 - 3		**** )
					Initial_Trigger  ( 				    StartLoop   ( 1 File ( "x_1D12_0_3.wav" -1 )   	SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.550 StartLoop   ( 1 File ( "x_1D12_0_3.wav" -1 )   	SelectionMethod ( SequentialSelection ) ) )
					)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 9
						0.000		12025
						0.125		12025
						0.250		12025
						0.375		16000
						0.500		18025
						0.625		18500
						0.750		18625
						0.825		18800
						1.000		18925
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 12
						 0.000		0.6
						 0.010		0.6
						 0.050		0.6
						 0.150		0.7
						 0.250		0.7
						 0.350		0.7
						 0.450		0.7
						 0.550		0.7
						 0.650		0.6
						 0.750		0.6
						 0.850		0.6
						 1.000		0.6
					)
					Granularity ( 0.05 )
				)				
			)
		Stream (
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 6
					Skip( ****	Sound of 1d12 engine - High Gear - Positions 4 - 8		**** )
					Variable_Trigger ( Variable2_Inc_Past 0.350 StartLoop   ( 1 File ( "x_1D12_4_6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.850 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.850 StartLoop   ( 1 File ( "x_1D12_4_6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.250 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 0.750 StartLoop   ( 1 File ( "x_1D12_6_8.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.750 ReleaseLoopRelease () )
					)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 9
						0.000		10000
						0.125		10000
						0.250		10000
						0.375		10025
						0.500		10025
						0.625		12025
						0.750		16000
						0.825		18025
						1.000		19500
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 12
						 0.000		0.0
						 0.010		0.0
						 0.050		0.0
						 0.150		0.1
						 0.250		0.3
						 0.350		0.5
						 0.450		0.8
						 0.550		0.8
						 0.650		0.8
						 0.750		0.8
						 0.850		0.9
						 1.000		0.9
					)
					Granularity ( 0.05 )
				)				
			)	
			Stream (
				Skip (**		Sound of airpump	**)
				Priority ( 7 )
				Volume ( 1.0 )
				Triggers ( 1
					Random_Trigger (
						Delay_Min_Max ( 60 90 )
						Volume_Min_Max ( 3.0 4.0 )
						PlayOneShot ( 1
							File ( 1D12_hiss.wav -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
			Skip ( ** TURBINE ** )
			Priority ( 6 )
			Triggers ( 2
               	 	Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoop ( 1 File ( "x_1D12_turbo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                		Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopRelease () )
			)
                	VolumeCurve(	
                		Variable2Controlled  
                			CurvePoints ( 12
		 				 0.00		0.00
		 				 0.05		0.00
		 				 0.10		0.00
		 				 0.20		0.00
		 				 0.30		0.00
		 				 0.40		0.15
		 				 0.50		0.25
						 0.60		0.35
		 				 0.70		0.40
		 				 0.80		0.45
		 				 0.90		0.60
		 				 1.00		0.80
					)  
                			Granularity  ( 0.05 )
               		)
                	FrequencyCurve(
                		Variable2Controlled	 
                			CurvePoints ( 12
                        			 0.00	        6250
                       				 0.05	        6750
                        			 0.10	        7250
					 0.20	        7750
                        			 0.30	        8250
                        			 0.40	        8750
                        			 0.50	        9250
                        			 0.60	        9750
                        			 0.70	       10250
                        			 0.80	       10550
                        			 0.90	       11050
                        			 1.00	       11550
					)
                			Granularity  ( 0.05 )
                		          ) 
			)

			Stream (
				Skip ( **	Sound of horn		** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_tifon.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **	Sound of whistle		** )
				Priority ( 7 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_svistok.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **	Sound of sander		** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_sander.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **	Sound of E-400 compressor	** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "x_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **	Sounds of pneumatic systems - brake release	** )
				Priority ( 7 )
				Triggers ( 3
				  Skip ( ** 	Sound of trainbrake release	** )
					
					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "x_trainbrake_release.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 1 File ( "x_trainbrake_release.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
				  Skip ( **	Sound of locobrake release	** )

					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_locobrake_release.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  
				)
			)	
			Stream (
				Skip (**		Sounds of coupling devices	**)
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Skip ( **	sound of wheelblock		** )
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 14
					Variable_Trigger ( Speed_Dec_Past 2.0 		StartLoop ( 1 File ( x_skrip.wav -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.1		ReleaseLoopRelease () 	)
					Variable_Trigger ( Variable3_Dec_Past 0.03	SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.02	SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01	SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.008	SetStreamVolume ( 0.55 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.005	SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.005	SetStreamVolume ( 0.55 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.008	SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.01	SetStreamVolume ( 0.25 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.02	SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.03	SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 0.2		ReleaseLoopReleaseWithJump () )
					Variable_Trigger ( Variable2_Inc_Past 0.5		ReleaseLoopReleaseWithJump () )
					)
				FrequencyCurve ( 
					SpeedControlled
					CurvePoints ( 5
							 -4 	11185
							 -2.5 	10985 
							-2 	10800
							 0.0 	11485
							 2 	10800
							 2.5	10985
							 4 	11185
							 )
					Granularity ( 1 )
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 11
							 -4.0	 0.0
							 -3.0	 0.2
							 -2.6	 0.3
							 -1.5	 0.4
							 -0.5	 0.6
							  0.0 	 0.0
							  0.5	 0.6
							  1.5	 0.4
 							  2.6	 0.3
							  3.0	 0.2
							  4.0	 0.0
							 )
					Granularity ( 0.05 )
				)
			)
		)
	)
)

