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 ( 15

		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 ( "Reson2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						
					
						-50.0		30000
						0.000		30000
						50.0		30000
						
						
					)
					Granularity ( 1 )
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						
					
						-40.0		1.0
						-20.0		1.0
						-5.0		1.0
						0.000		1.0
						5.0		1.0
						20.0		1.0
						40.0		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.533		18000
						0.566		20000
						0.599		22000
						0.633		24000
						0.666		26000
						0.699		28000
						0.733		30000
						0.766       32000
						0.799		34000
						0.833		36000
						0.866		38000
						0.899		40000
						0.933		42000
						0.966		44000
						0.999		46000


					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		0.3
						0.533		0.2
						0.566		0.3
						0.599		0.3
						0.633		0.3
						0.666		0.4
						0.699		0.4
						0.733		0.3
						0.766       0.3
						0.799		0.4
						0.833		0.4
						0.866		0.4
						0.899		0.2
						0.933		0.2
						0.966		0.2
						0.999		0.2
											
				
					)
					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.533		16000
						0.566		17000
						0.599		18000
						0.633		19000
						0.666		21000
						0.699		22000
						0.733		24000
						0.766       26000
						0.799		28000
						0.833		30000
						0.866		32000
						0.899		34000
						0.933		36000
						0.966		37000
						0.999		38000
						
					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		0.4
						0.533		0.2
						0.566		0.2
						0.599		0.3
						0.633		0.3
						0.666		0.4
						0.699		0.4
						0.733		0.4
						0.766       0.4
						0.799		0.4
						0.833		0.4
						0.866		0.3
						0.899		0.4
						0.933		0.2
						0.966		0.2
						0.999		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.533		16100
						0.566		16200
						0.599		16300
						0.633		16400
						0.666		16500
						0.699		16600
						0.733		16700
						0.766       16800
						0.799		16900
						0.833		17000
						0.866		17100
						0.899		17200
						0.933		17300
						0.966		17400
						0.999		17400	
			

					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						
						0.000		0.6
						0.533		0.6
						0.566		0.7
						0.599		0.8
						0.633		0.8
						0.666		0.8
						0.699		0.7
						0.733		0.6
						0.766       0.6
						0.799		0.5
						0.833		0.6
						0.866		0.6
						0.899		0.6
						0.933		0.5
						0.966		0.5
						0.999		0.5

						
					)
					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 ( "..//..//Gp38//Sound//x_gp_horn1.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 ( "..//..//Gp38//Sound//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) ) ) 
				)
			)
		)
	)

	
)

