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


Tr_SMS (

	Skip (******** Turboeng.sms SPECIAL RTG VERSION 2 *****************************************************)
	Skip (******** Copyright Belphegor 2003 *****************************************************)
	Skip (******** All right reserved/ All copying and duplication on commercial support ********)
	Skip (******** are strictly forbidden 						 ********************)
			                                            
			                                            
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 14

		Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "Aspiration.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		44100
						0.040		44100
						0.080		44100
						0.120		44100
						0.160		44100
						0.200		44100
						0.240		44100
						0.280		44100
						0.320       44100
						0.360		44100
						0.400		44100
						0.440		44100
						0.480		44100
						0.520		44100
						0.560		44100
						0.600		44100

					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		1.0
						0.040		1.0
						0.080		1.0
						0.120		1.0
						0.160		1.0
						0.200		1.0
						0.240		1.0
						0.280		1.0
						0.320       1.0
						0.360		1.0
						0.400		1.0
						0.440		1.0
						0.480		1.0
						0.520		1.0
						0.560		1.0
						0.600		1.0
				
					)
					Granularity ( 0.05 )
				)


			)


			Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "TurmoRal.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16
						
						0.000		44100
						0.040		44100
						0.080		44100
						0.120		44100
						0.160		44100
						0.200		44100
						0.240		44100
						0.280		44100
						0.320       44100
						0.360		44100
						0.400		44100
						0.440		44100
						0.480		44100
						0.520		44100
						0.560		44100
						0.600		44100


				)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		1.0
						0.040		1.0
						0.080		1.0
						0.120		1.0
						0.160		1.0
						0.200		1.0
						0.240		1.0
						0.280		1.0
						0.320       1.0
						0.360		1.0
						0.400		1.0
						0.440		1.0
						0.480		1.0
						0.520		1.0
						0.560		1.0
						0.600		1.0
											
				
					)
					Granularity ( 0.05 )
				)

			)

			Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "Reson1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		16000
						0.040		18000
						0.080		20000
						0.120		22000
						0.160		24000
						0.200		26000
						0.240		28000
						0.280		30000
						0.320       32000
						0.360		34000
						0.400		36000
						0.440		38000
						0.480		40000
						0.520		42000
						0.560		44000
						0.600		46000


					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		0.3
						0.040		0.2
						0.080		0.3
						0.120		0.3
						0.160		0.3
						0.200		0.4
						0.240		0.4
						0.280		0.3
						0.320       0.3
						0.360		0.4
						0.400		0.4
						0.440		0.4
						0.480		0.3
						0.520		0.3
						0.560		0.3
						0.600		0.3
											
				
					)
					Granularity ( 0.05 )
				)

			)


			
	
			Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "Reson3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		16000
						0.040		16000
						0.080		17000
						0.120		18000
						0.160		19000
						0.200		21000
						0.240		22000
						0.280		24000
						0.320       26000
						0.360		28000
						0.400		30000
						0.440		32000
						0.480		34000
						0.520		36000
						0.560		37000
						0.600		38000
						
					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		0.2
						0.040		0.2
						0.080		0.2
						0.120		0.3
						0.160		0.3
						0.200		0.4
						0.240		0.4
						0.280		0.4
						0.320       0.4
						0.360		0.4
						0.400		0.4
						0.440		0.3
						0.480		0.3
						0.520		0.2
						0.560		0.2
						0.600		0.2	

														
					)
					Granularity ( 0.05 )
				)

			)





	Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "Siffl.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		16000		
						0.040		16100
						0.080		16200
						0.120		16300
						0.160		16400
						0.200		16500
						0.240		16600
						0.280		16700
						0.320       16800
						0.360		16900
						0.400		17000
						0.440		17100
						0.480		17200
						0.520		17300
						0.560		17400
						0.600		17400	
			

					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						
						0.000		1.0
						0.040		0.9
						0.080		0.9
						0.120		0.9
						0.160		0.8
						0.200		0.8
						0.240		0.7
						0.280		0.6
						0.320       0.6
						0.360		0.5
						0.400		0.6
						0.440		0.6
						0.480		0.6
						0.520		0.6
						0.560		0.6
						0.600		0.6

						
					)
					Granularity ( 0.05 )
				)

			)

	Stream (				
				Skip(********************Bruit de roulement ********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger ( StartLoopRelease (1 File ( "XXVoit1.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 15
						 -187.0		0.7
						 -100.0		0.7
						 -70.0		0.7	
						 -45.0		0.7	
						 -25.0		0.7
					 	 -20.00 		0.6	
						 -0.50		0.1
						 0.000		0.0
						 0.50             0.1
						 20.00 		0.6						 
						 25.0 		0.7
						 45.0 		0.7
						 70.0             0.7
						 100.0            0.7
						 187.0		0.7
					)
					Granularity ( 0.05 )
				)

			)


	Stream (				
				Skip(********************Bruit aerodynamique ********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger ( StartLoopRelease (1 File ( "XXAero.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 15
						 -187.0		0.7
						 -100.0		0.7
						 -70.0		0.7	
						 -45.0		0.7	
						 -25.0		0.7
					 	 -20.00 		0.6	
						 -0.50		0.0
						 0.000		0.1
						 0.50             0.0
						 20.00 		0.6						 
						 25.0 		0.7
						 45.0 		0.7
						 70.0             0.7
						 100.0            0.7
						 187.0		0.7
					)
					Granularity ( 0.05 )
				)

			)

			Stream (
				Skip ( **** Bruit du Frein **** )				
				Priority ( 6 )			
				Triggers ( 1				
					Variable_Trigger (  Speed_Dec_Past 3.50 PlayOneShot ( 1 File ( "XXFrein.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 ( "2tons72000eng.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Volume (0.25)
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_gp_bell1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					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 ( "../../Gp38/Sound/x_gp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "blabla.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake & Independant Brakes to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 5
					Skip ( **** NOTE: Need to check if correct waves used for apply/release  	**** )
					Skip ( ****       Assumes 3 = Release, 1 & 2 = Apply  	                  **** )
				  
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "../../Gp38/Sound/x_gp_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../Gp38/Sound/x_gp_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_ind1.wav" -1 ) File ( "x_gp_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)

	
)

