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

Tr_SMS (
	
ScalabiltyGroup( 5
	Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(1000)	)
	Deactivation 	(	CabCam		()					Distance    	(1000)	)
	Streams ( 13
		Stream (
			Skip ( **** Motorstart/ende **** )
			Priority ( 8 )
			Triggers ( 1
			Initial_Trigger  ( StartLoop ( 1 File ( "x_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

		Stream (
			Skip ( **** Motorgeräusche 1 V188a**** )
			Priority ( 6 )
			Triggers ( 8
				Variable_Trigger ( Variable2_Inc_Past 0.001 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.450 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past 0.550 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.850 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past 0.850 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.450 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.050		5800
						0.150		6200
						0.450		7500
						0.550		8000
						0.850		9500
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.050		0.5
						 0.150		0.6
						 0.450		0.7
						 0.550		0.8
						 0.850		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche 2 V188a**** )
			Priority ( 6 )
			Triggers ( 6				
				Variable_Trigger ( Variable2_Inc_Past 0.350 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.650 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Inc_Past 0.750 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.750 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.650 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )		
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.010		5600
						0.250		6600
						0.350		7000
						0.650		8500
						0.750		9000
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.010		0.5
						 0.250		0.6
						 0.350		0.7
						 0.650		0.8
						 0.750		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche V188b**** )
			Priority ( 5 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past  0.01	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  0.10	 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 11
						-20.000		11025
						-16.000		9400
						-12.000		8500
						 -8.000		7200
						 -4.000		6600
						  0.000		5400
						  4.000		6600
						  8.000		7200
						 12.000		8500
						 16.000		9400
						 20.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						 -1.000		0.5
						 -8.900		0.4
						 -6.800		0.3
						 -4.700		0.2
						 -2.600		0.1
						  0.000		0.0
						  2.600		0.1
						  4.700		0.2
						  6.800		0.3
						  8.900		0.4
						  1.000		0.5
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Beschleunigen **** )
			Priority ( 6 )
			Volume ( 1.0 )
			Triggers ( 4
				Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot   ( 1 File ( "x_anfahrt00.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.200 PlayOneShot   ( 1 File ( "x_42_anfahrt01.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.400 PlayOneShot   ( 1 File ( "x_42_anfahrt02.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.600 PlayOneShot   ( 1 File ( "x_42_anfahrt03.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Hochpfeiffen **** )
			Priority ( 6 )
			Triggers ( 1
				Dist_Travelled_Trigger ( Dist_Min_Max ( 0  0 )  Volume_Min_Max ( 1.0 1.0 )
				PlayOneShot ( 1
				File ( "x_Hochpfeiffen.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				)
                     		VolumeCurve(	
                     			Variable2Controlled  
                                  	CurvePoints ( 4
                                                 0.00		0.0
                                                 0.01    	0.3
                                                 0.10    	0.7
                                                 1.00    	1.0
                                        )  
					Granularity  ( 0.05 )
                       		)
                     		FrequencyCurve(
                     			Variable2Controlled	 
                               		CurvePoints ( 12
                                          	0.00       	2500
                                          	0.01       	3000
                                          	0.10       	3500
                                          	0.20       	4000
                                          	0.30       	4500
                                          	0.40       	5000
                                          	0.50       	5500
                                          	0.60       	6000
                                          	0.70       	6500
                                          	0.80       	7000
                                          	0.90       	7500
                                          	1.00       	8000
                                	)
                   			Granularity  ( 0.05 )
                 		) 
			)
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_42_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.4
			 			0.3		0.9
			 			0.4		0.9
			 			0.5		0.9
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
Stream (
	Skip ( ** Lokbremse ** )
	Priority ( 8 )
	Triggers ( 1
	Variable_Trigger ( Speed_Dec_Past  2.23  PlayOneShot ( 1 File ( "x_Bremse.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            )
	VolumeCurve(
            SpeedControlled
            CurvePoints ( 5
                               0.00    0.00
                               0.28    0.80
                               0.84    0.70
                               1.67    0.50
                               2.23    0.20
                               )
                  Granularity  ( 0.05 )
                  )
)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_sm42_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_sm42_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)
		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			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) ) )
		)
	     )
          )
)
ScalabiltyGroup( 3
	Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(1000)	)
	Deactivation 	(	CabCam		()					Distance    	(1000)	)
	Streams ( 13
		Stream (
			Skip ( **** Motorstart/ende **** )
			Priority ( 8 )
			Triggers ( 1
			Initial_Trigger  ( StartLoop ( 1 File ( "x_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche 1 V188a**** )
			Priority ( 6 )
			Triggers ( 8
				Variable_Trigger ( Variable2_Inc_Past 0.001 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.450 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past 0.550 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.850 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past 0.850 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.450 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.050		5800
						0.150		6200
						0.450		7500
						0.550		8000
						0.850		9500
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.050		0.5
						 0.150		0.6
						 0.450		0.7
						 0.550		0.8
						 0.850		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche 2 V188a**** )
			Priority ( 6 )
			Triggers ( 6				
				Variable_Trigger ( Variable2_Inc_Past 0.350 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.650 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Inc_Past 0.750 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.750 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.650 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )		
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.010		5600
						0.250		6600
						0.350		7000
						0.650		8500
						0.750		9000
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.010		0.5
						 0.250		0.6
						 0.350		0.7
						 0.650		0.8
						 0.750		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche V188b**** )
			Priority ( 5 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past  0.01	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  0.10	 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 11
						-20.000		11025
						-16.000		9400
						-12.000		8500
						 -8.000		7200
						 -4.000		6600
						  0.000		5400
						  4.000		6600
						  8.000		7200
						 12.000		8500
						 16.000		9400
						 20.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						 -1.000		0.5
						 -8.900		0.4
						 -6.800		0.3
						 -4.700		0.2
						 -2.600		0.1
						  0.000		0.0
						  2.600		0.1
						  4.700		0.2
						  6.800		0.3
						  8.900		0.4
						  1.000		0.5
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Beschleunigen **** )
			Priority ( 6 )
			Volume ( 1.0 )
			Triggers ( 4
				Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot   ( 1 File ( "x_anfahrt00.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.200 PlayOneShot   ( 1 File ( "x_42_anfahrt01.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.400 PlayOneShot   ( 1 File ( "x_42_anfahrt02.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.600 PlayOneShot   ( 1 File ( "x_42_anfahrt03.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Hochpfeiffen **** )
			Priority ( 6 )
			Triggers ( 1
				Dist_Travelled_Trigger ( Dist_Min_Max ( 0  0 )  Volume_Min_Max ( 1.0 1.0 )
				PlayOneShot ( 1
				File ( "x_Hochpfeiffen.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				)
                     		VolumeCurve(	
                     			Variable2Controlled  
                                  	CurvePoints ( 4
                                                 0.00		0.0
                                                 0.01    	0.3
                                                 0.10    	0.7
                                                 1.00    	1.0
                                        )  
					Granularity  ( 0.05 )
                       		)
                     		FrequencyCurve(
                     			Variable2Controlled	 
                               		CurvePoints ( 12
                                          	0.00       	2500
                                          	0.01       	3000
                                          	0.10       	3500
                                          	0.20       	4000
                                          	0.30       	4500
                                          	0.40       	5000
                                          	0.50       	5500
                                          	0.60       	6000
                                          	0.70       	6500
                                          	0.80       	7000
                                          	0.90       	7500
                                          	1.00       	8000
                                	)
                   			Granularity  ( 0.05 )
                 		) 
			)
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.4
			 			0.3		0.9
			 			0.4		0.9
			 			0.5		0.9
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		Stream (
			Skip ( **** Bremse **** )				
			Priority ( 6 )			
			Triggers ( 7				
				Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "x_Bremse.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )	
				Variable_Trigger ( Speed_Dec_Past 0.2	ReleaseLoopRelease ()	)
				Variable_Trigger ( Speed_Inc_Past 7.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-7.0		11000
						 0.0		12000
						 7.0		11000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						-5.0		0.0
						-3.5		1.0
						 0.0		0.0
						 3.5		1.0
						 5.0		0.0
					)
					Granularity ( 0.05 )
				)				
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_sm42_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_sm42_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)
		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			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) ) )
		)
	     )
          )
)
ScalabiltyGroup( 1
		Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(1000)	)
		Deactivation 	(	CabCam		()					Distance    	(1000)	)
	Streams ( 13
		Stream (
			Skip ( **** Motorstart/ende **** )
			Priority ( 8 )
			Triggers ( 1
			Initial_Trigger  ( StartLoop ( 1 File ( "x_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

		Stream (
			Skip ( **** Motorgeräusche 1 V188a**** )
			Priority ( 6 )
			Triggers ( 8
				Variable_Trigger ( Variable2_Inc_Past 0.001 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.450 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past 0.550 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.850 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past 0.850 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.450 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.050		5800
						0.150		6200
						0.450		7500
						0.550		8000
						0.850		9500
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.050		0.5
						 0.150		0.6
						 0.450		0.7
						 0.550		0.8
						 0.850		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche 2 V188a**** )
			Priority ( 6 )
			Triggers ( 6				
				Variable_Trigger ( Variable2_Inc_Past 0.350 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.650 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Inc_Past 0.750 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.750 ReleaseLoopRelease () )					
				Variable_Trigger ( Variable2_Dec_Past 0.650 StartLoop   ( 1 File ( "x_42_fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )		
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 7
						0.000		5400
						0.010		5600
						0.250		6600
						0.350		7000
						0.650		8500
						0.750		9000
						1.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 7
						 0.000		0.5
						 0.010		0.5
						 0.250		0.6
						 0.350		0.7
						 0.650		0.8
						 0.750		0.8
						 1.000		0.8
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Motorgeräusche V188b**** )
			Priority ( 5 )
				Triggers ( 14
					Variable_Trigger ( Speed_Inc_Past  0.01	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Inc_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  20.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  20.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  10.00 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  10.00 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  4.00	 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past  4.00	 StartLoop (1 File ( "x_42_fahrt1.wav" -1 ) SelectionMethod ( SequentialSelection  ) ) )
					Variable_Trigger ( Speed_Dec_Past  0.10	 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 11
						-20.000		11025
						-16.000		9400
						-12.000		8500
						 -8.000		7200
						 -4.000		6600
						  0.000		5400
						  4.000		6600
						  8.000		7200
						 12.000		8500
						 16.000		9400
						 20.000		11025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						 -1.000		0.5
						 -8.900		0.4
						 -6.800		0.3
						 -4.700		0.2
						 -2.600		0.1
						  0.000		0.0
						  2.600		0.1
						  4.700		0.2
						  6.800		0.3
						  8.900		0.4
						  1.000		0.5
					)
					Granularity ( 0.05 )
				)
			)
		Stream (
			Skip ( **** Beschleunigen **** )
			Priority ( 6 )
			Volume ( 1.0 )
			Triggers ( 4
				Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot   ( 1 File ( "x_anfahrt00.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.200 PlayOneShot   ( 1 File ( "x_42_anfahrt01.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.400 PlayOneShot   ( 1 File ( "x_42_anfahrt02.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 0.600 PlayOneShot   ( 1 File ( "x_42_anfahrt03.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Hochpfeiffen **** )
			Priority ( 6 )
			Triggers ( 1
				Dist_Travelled_Trigger ( Dist_Min_Max ( 0  0 )  Volume_Min_Max ( 1.0 1.0 )
				PlayOneShot ( 1
				File ( "x_Hochpfeiffen.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				)
                     		VolumeCurve(	
                     			Variable2Controlled  
                                  	CurvePoints ( 4
                                                 0.00		0.0
                                                 0.01    	0.3
                                                 0.10    	0.7
                                                 1.00    	1.0
                                        )  
					Granularity  ( 0.05 )
                       		)
                     		FrequencyCurve(
                     			Variable2Controlled	 
                               		CurvePoints ( 12
                                          	0.00       	2500
                                          	0.01       	3000
                                          	0.10       	3500
                                          	0.20       	4000
                                          	0.30       	4500
                                          	0.40       	5000
                                          	0.50       	5500
                                          	0.60       	6000
                                          	0.70       	6500
                                          	0.80       	7000
                                          	0.90       	7500
                                          	1.00       	8000
                                	)
                   			Granularity  ( 0.05 )
                 		) 
			)
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_42_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.4
			 			0.3		0.9
			 			0.4		0.9
			 			0.5		0.9
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		Stream (
			Skip ( **** Bremse **** )				
			Priority ( 6 )			
			Triggers ( 7				
				Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "x_Bremse.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )
				Discrete_Trigger (  54	ReleaseLoopRelease () )	
				Variable_Trigger ( Speed_Dec_Past 0.2	ReleaseLoopRelease ()	)
				Variable_Trigger ( Speed_Inc_Past 7.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-7.0		11000
						 0.0		12000
						 7.0		11000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						-5.0		0.0
						-3.5		1.0
						 0.0		0.0
						 3.5		1.0
						 5.0		0.0
					)
					Granularity ( 0.05 )
				)				
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_sm42_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_sm42_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)

		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			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) ) )
		)
	     )
          )
)
ScalabiltyGroup( 0
		Activation 	(	ExternalCam 	()	PassengerCam	()	 CabCam		()	Distance		(500)	)
		Streams ( 3
			Stream (
			Skip ( **** Motorstart/ende **** )
			Priority ( 8 )
			Triggers ( 1
			Initial_Trigger  ( StartLoop ( 1 File ( "x_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past		1.0	StartLoop  ( 1 File ( "x_anfahrt_traffic.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Speed_Dec_Past	1.0	ReleaseLoopRelease () ) 
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-35.0		20000
						   0.0		11025
						 35.0		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						-3.0		1.0
						-1.0		0.5
						 1.0		0.5
						 3.0		1.0
					)
					Granularity ( 0.05 )
				)

			)
			Stream (
				Priority ( 5 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past   	0.1 	PlayOneShot   ( 1 File ( "x_sm42_syrena_krotka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Speed_Dec_Past  2.23  PlayOneShot ( 1 File ( "x_Bremse.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)