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


Tr_SMS (

	Skip (******** x72500eng.sms *******************************************)
	Skip (******** Copyright Belphegor 2002 *******************************)
	Skip (******** All right reserved/ All copying and duplication are ****)
	SKip (******** strictly forbidden 						 ****)


	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Volume(1.0)
		Streams ( 8			
						
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Initial_Trigger  ( StartLoop   ( 1 File ( "../../gp38/sound/X_gp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.050 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 0.050 StartLoop   ( 1 File ( "../../gp38/sound/X_gp_power_cruise2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.050 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.050 StartLoop   ( 1 File ( "../../gp38/sound/X_gp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 15


					-100.000    55000
					-19.4000	9125
					-19.000     16590
					-13.400     10025
					-13.000     12000
					-8.300      9025
					-8.000	15000 
					
					0		10025
					8.000		15000 
					8.300       9025
					13.000      12000
					13.400      10025
					19.000      16590
					19.4000	9125
					100.000     55000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.000		1.0
						 100.000          1.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				
				Skip(********************Bruit de la climatisation ********************************)
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "XXClim.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)

			VolumeCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.000		0.9
						 100.000          0.9
					)
					Granularity ( 0.05 )
				)

			)			
	

			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x72500eng.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	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 ( "../../dash9/sound/x_d9_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 ( "../../dash9/x_d9_compressor.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 ( "../../dash9/x_d9_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "../../dash9/x_d9_airb_auto1.wav" -1 ) File ( "../../dash9/x_d9_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "../../dash9/x_d9_airb_auto1.wav" -1 ) File ( "../../dash9/x_d9_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../dash9/x_d9_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../dash9/x_d9_airb_ind1.wav" -1 ) File ( "../../dash9/x_d9_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Skip( **** Dynamic brakes **** )
				Skip( **** NOTE: First See comment for SL 3 Dynamic brake. 																									** )
				Skip( ****       I am going to continue using Method 2 outlined there for the moment, since I am not sure   ** )
				Skip( ****       if the waves we have will allow crossfading {due to the loop/release} - I may be able      ** )
				Skip( ****       to manage something using the play only one block feature { setting the number after       ** )
				Skip( ****       the filename to something other than	-1 }, But I will look at if I have more time.         ** )
				Priority ( 6 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "../../dash9/x_d9_dynb_dyn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		12025
						  1.0		17800
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 5 )
				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) ) ) 
				)
			)
		)
	)

	
)

