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


Tr_SMS (

	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()			
			Distance    (1000)
		)
		Deactivation (
			CabCam		()
			PassengerCam	()		
			Distance    	(1000)
		)
		Streams ( 8
			Stream (
				Priority ( 6 )
				Triggers ( 3
					Initial_Trigger	 ( StartLoop ( 1 File ( "../../380/sound/x_a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Speed_Inc_Past 2.0	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 2.0 StartLoop ( 1 File ( "../../380/sound/x_a380_power_cruise0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 6
						0.0,		0.5
						0.4,		0.4
						0.8,		0.3
						1.2,		0.2
						1.6,		0.1
						2.0,  	0.0
					)

					Granularity ( 0.01 )
				)			
			)
			Stream (
				Priority ( 6 )
				Triggers ( 16
					Variable_Trigger ( Speed_Inc_Past  .2	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  8	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 13	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past  16	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 21	ReleaseLoopRelease () )	
					
					Variable_Trigger ( Speed_Inc_Past  24	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  29	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past  29	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   24	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past   21	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   16	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past   13	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   8	ReleaseLoopRelease () )					

					Variable_Trigger ( Speed_Dec_Past   5	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   .2	ReleaseLoopRelease () )					
				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 41
						0.0,		0.0
						0.2,		0.2
						0.4,		0.4
						0.6,		0.6
						0.8,		0.8
						1.0,		1.0
						4.2,		0.8
						4.4,		0.6
						4.6,		0.4
						4.8,		0.2
						5.0,		0.0

						8.2,		0.2
						8.4,		0.4
						8.6,		0.6
						8.8,		0.8
						9.0,		1.0
						12.2,		0.8
						12.4,		0.6
						12.6,		0.4
						12.8,		0.2
						13.0,		0.0

						16.2,		0.2
						16.4,		0.4
						16.6,		0.6
						16.8,		0.8
						17.0,		1.0
						20.2,		0.8
						20.4,		0.6
						20.6,		0.4
						20.8,		0.2
						21.0,		0.0

						24.2,		0.2
						24.4,		0.4
						24.6,		0.6
						24.8,		0.8
						25.0,		1.0
						28.2,		0.8
						28.4,		0.6
						28.6,		0.4
						28.8,		0.2
						29.0,		0.0
					)
					
					Granularity (0.01)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past 4		StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 9		ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past 12	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 17	ReleaseLoopRelease () )
					
					Variable_Trigger ( Speed_Inc_Past 20	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 25	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Inc_Past   28	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise8.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   28	ReleaseLoopRelease () )

					Variable_Trigger ( Speed_Dec_Past  25	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  20	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past  17	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   12	ReleaseLoopRelease () )	

					Variable_Trigger ( Speed_Dec_Past   9	StartLoop ( 1	File ( "../../380/sound/x_a380_power_cruise2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   4	ReleaseLoopRelease () )	
				)

				VolumeCurve ( 
					SpeedControlled
					
					CurvePoints ( 35
						
						4.2,  	0.2
						4.4,		0.4
						4.6,		0.6
						4.8,		0.8
						5.0,		1.0
						8.2,		0.8
						8.4,		0.6
						8.6,		0.4
						8.8,		0.2
						9.0,		0.0
					
						12.2,		0.2
						12.4,		0.4
						12.6,		0.6
						12.8,		0.8
						13.0,		1.0
						16.2,		0.8
						16.4,		0.6
						16.6,		0.4
						16.8,		0.2
						17.0,		0.0

						20.2,		0.2
						20.4,		0.4
						20.6,		0.6
						20.8,		0.8
						21.0,		1.0
						24.2,		0.8
						24.4,		0.6
						24.6,		0.4
						24.8,		0.2
						25.0,		0.0

						28.2,		0.2
						28.4,		0.4
						28.6,		0.6
						28.8,		0.8
						29.0,		1.0
					)
					
					Granularity (0.01)
				)
			)
			Stream(
				Skip( **** Whistle sounds. **** )
				Priority( 6 )
				Triggers( 2					
					Discrete_Trigger ( 8 	StartLoopRelease ( 1 File( "x_242A1_sifflet.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 9 	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream(
				Skip( **** Sanding sounds. **** )
				Priority( 5 )
				Volume ( 0.3 )
				Triggers( 2					
					Discrete_Trigger ( 4 	StartLoopRelease ( 1 File( "../../380/sound/x_a380_sand.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5 	ReleaseLoopRelease () )
				)		
			)
			Stream (
				Skip ( **** Train Brake **** )
				Priority ( 5 )
				Triggers ( 2				
					Discrete_Trigger (  14	
						PlayOneShot ( 3	
							File ( "../../380/sound/x_a380_airb_auto1.wav" -1 )	
							File ( "../../380/sound/x_a380_airb_auto2.wav" -1 )	
							File ( "../../380/sound/x_a380_airb_auto3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Discrete_Trigger (  21	
						PlayOneShot ( 3	
							File ( "../../380/sound/x_a380_airb_auto1.wav" -1 )	
							File ( "../../380/sound/x_a380_airb_auto2.wav" -1 )	
							File ( "../../380/sound/x_a380_airb_auto3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)


		      Stream (
				Skip ( **** Freins **** )
				Priority ( 6 )
				Triggers ( 1
					Variable_Trigger ( Speed_Dec_Past 2.30 PlayOneShot ( 1 File ( "X_Freins.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
             	   	)
				VolumeCurve(
                			SpeedControlled
                				CurvePoints ( 9
								-1.40    	0.7
								-0.8    	0.8
								-0.6    	0.9
								-0.30    	1.0
                              	  		0.00	    	0.0
                                			0.30    	1.0
                               	 		0.60    	0.9
								0.80    	0.8
								1.40    	0.7
						)
						Granularity  ( 0.02 )
					)
				)

			
			Stream (
				Skip( **** {un}Coupling sounds. **** )
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
	
	






)





