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

Tr_SMS (

	ScalabiltyGroup( 5
		Activation (			CabCam			()			Distance    	(100)		)
		Deactivation (		ExternalCam ()				PassengerCam	()		Distance    	(100)		)
		Stereo ()
		Volume(0.5)
		Streams ( 17
Stream (
				Skip ( **** Brake Squeal **** )				
				Priority ( 6 )			
				Triggers ( 7				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "..\\..\\SS4\\sound\\ss4_16.wav" -1 )
SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 0.2	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 1.0	ReleaseLoopRelease ()	)
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
                                                                                       -7.0                    0.5
                                                                                       -4.0                    1.0
						   -1.0		 1.0
						    0.0		 0.0
						    1.0		 1.0
                                                                                        4.0                    1.0
                                                                                        7.0                    0.5
					)
					Granularity ( 0.05 )
				)				
			)
Stream (
				Skip ( **** Brake Squeal **** )				
				Priority ( 6 )			
				Triggers ( 7				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "..\\..\\SS4\\sound\\ss4_1wu.wav" -1 )
SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 0.2	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 57.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -5.0		11000
						   0.0		9000
						   5.0		11000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
                                                                                 -17.5                   1.0
						    -7.0                  0.8
						  -3.0		0.5
						  -0.1		0.3
						   0.0		0.0
						   0.1		0.3
						   3.0		0.5
                                            7.0                 0.8
                                                                           17.5                1.0
					)
					Granularity ( 0.05 )
				)				
			)
		Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger ( PlayOneShot ( 1 File ( "..\\..\\SS4\\sound\\ss4_monitor_input.wav" -1 ) SelectionMethod (SequentialSelection) ) )
			       )
                    )
Stream (
				Skip ( **** 2 - Dynamic brakes **** )
				Skip ( **** Frequency shift with speed, volume with negative current **** )
				Volume ( 0.95 )
  				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.10  StartLoopRelease   ( 1 File ( "..\\..\\SS4\\sound\\ss4_1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.10  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-60.0	 30500
						  0.0	  5000
						 60.0	 30500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 6
						   0.0	            0.0
						   -5.0	0.3
						  -10.0	1.0
						  -25.0	1.0
						  -50.0	1.0
						 -100.0	1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the Current to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger (  45	StartLoopRelease ( 1	File ( "..\\..\\SS4\\sound\\ss4_wind.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  46	ReleaseLoopReleaseWithJump () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "hxd3_HORN.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
                                FrequencyCurve( Variable1Controlled CurvePoints ( 2 0.0	22050 1.0 22050 ) Granularity ( 0.01 ) )
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\SS4\\sound\\ss4_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "SS3_HORN_LOW.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the Sander to be played at the same time  	**** )
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\SS4\\sound\\ss4_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 3	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 3	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "..\\..\\SS4\\sound\\ss4_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "..\\..\\SS4\\sound\\ss4_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "..\\..\\SS4\\sound\\ss4_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "..\\..\\SS4\\sound\\ss4_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "..\\..\\SS4\\sound\\ss4_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 13
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_reverserf.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_throttlef.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_abrakef.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_vigilance.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_econtrol1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_flightsf.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_pantot.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_econtrol2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_ebrake.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\SS4\\sound\\ss4_shache.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)
