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


Tr_SMS (
	
	Skip (******** Turboeng.sms SPECIAL RTG *****************************************************)
	Skip (******** Copyright Belphegor 2002 *****************************************************)
	Skip (******** All right reserved/ All copying and duplication on commercial support ********)
	Skip (******** are strictly forbidden 						 ********************)
			                                            



	ScalabiltyGroup( 5
		Activation (			CabCam			()			Distance    	(1000)		)
		Deactivation (		ExternalCam ()			PassengerCam	()			Distance    	(100)		)
		Stereo ()
		Streams ( 14
			

			Stream (
				Skip ( **** Bruit de l'aspiration **** )				
				Priority ( 6 )			
				Triggers ( 1
				Initial_Trigger  ( StartLoopRelease  ( 1 File ( "AspirationCabine.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		0.5
						0.040		0.5
						0.080		0.5
						0.120		0.5
						0.160		0.5
						0.200		0.5
						0.240		0.5
						0.280		0.5
						0.320       0.5
						0.360		0.5
						0.400		0.5
						0.440		0.5
						0.480		0.5
						0.520		0.5
						0.560		0.5
						0.600		0.5
				
					)
					Granularity ( 0.05 )
				)

			)


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

				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		16000
						0.031		18000
						0.062		20000
						0.093		22000
						0.125		24000
						0.156		26000
						0.187		28000
						0.218		30000
						0.250       32000
						0.281		34000
						0.312		36000
						0.343		38000
						0.375		40000
						0.406		42000
						0.500		44000
						1.000		46000

					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 16

						0.000		0.1
						0.031		0.1
						0.062		0.1
						0.093		0.1
						0.125		0.3
						0.156		0.1
						0.187		0.1
						0.218		0.1
						0.250       0.1
						0.281		0.1
						0.312		0.1
						0.343		0.1
						0.375		0.1
						0.406		0.1
						0.500		0.1
						1.000		0.1
											
				
					)
					Granularity ( 0.05 )
				)

			)



			Stream (
				
				Skip(********************Bruit du tackro ********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "XTackro.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)


			Stream(
				Skip ( **** Veille d'Appui **** )
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "Veille_stereo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)


			Stream (
				
				Skip(********************Test VA + Autorisation de départ********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( PlayOneShot  ( 1 File ( "Init.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

			FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2

						0.000		16000
						0.600		16000

					)
					Granularity ( 1 )
				)

				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2

						0.000		1.0
						0.600		1.0
				
					)
					Granularity ( 0.05 )
				)


			)

			Stream (
				Skip ( **** Bruit du Frein **** )				
				Priority ( 6 )			
				Triggers ( 1				
					Variable_Trigger (  Speed_Dec_Past 3.50 PlayOneShot ( 1 File ( "XFrein.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 ( "2tons72000cab.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "blablagp_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/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 ( "blabla../../Gp38/Sound/gp_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "blabla../../Gp38/Sound/gp_airb_auto1.wav" -1 ) File ( "gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "blabla../../Gp38/Sound/gp_airb_auto1.wav" -1 ) File ( "gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "blabla../../Gp38/Sound/gp_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "blabla../../Gp38/Sound/gp_airb_ind1.wav" -1 ) File ( "gp_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "../../Gp38/Sound/couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../Gp38/Sound/couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../Gp38/Sound/couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../Gp38/Sound/uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../Gp38/Sound/uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../Gp38/Sound/uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 6 )
				Volume(0.6)
				Triggers ( 9
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "../../Gp38/Sound/gp_reverserf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "../../Gp38/Sound/gp_throttlef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_abrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_ibrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 20	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_dbrakef.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "../../Gp38/Sound/gp_sandf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_flightsf.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "blabla../../Gp38/Sound/gp_ebrake.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

		)
	)

	
)

