SIMISA@@@@@@@@@@JINX0x1t______
       
Tr_SMS (
        Skip ( **  30.9.2017 upravil Robo   ** )        

	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
                        PassengerCam	()
			Distance   	(1000)
		)
		Deactivation (
		      CabCam	()
			
			Distance   	(1000)
		)
		Volume(1.0)
		Streams ( 26
                         Stream (
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 0.010 StartLoop   ( 1 File ( "x_750_jizda.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.010 ReleaseLoopRelease () )					
				   )
                                   FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-35.0	        45200
						0.000		13000
						35.0	        45200
					)
					Granularity ( 0.05 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 24				         
                                                  -35.0		0.82
                                                  -31.0		0.80
                                                  -29.0		0.78
                                                  -22.0		0.76
                                                  -18.0		0.74
                                                  -15.0		0.72
                                                  -11.0		0.70
                                                  -9.0		0.68
                                                  -7.0		0.66
                                                  -5.0		0.64
                                                  -3.0		0.62
                                                  -1.0		0.60
                                                  0.0		0.0
					     	  1.0		0.60
                                                  3.0		0.62
                                                  5.0		0.64
                                                  7.0		0.66
                                                  9.0		0.68
                                                  11.0		0.70
                                                  15.0		0.72
                                                  18.0		0.74
                                                  22.0		0.76
                                                  29.0		0.78
                                                  31.0		0.80
                                                  35.0		0.82
					     	  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 17
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.60 ) )
      				        Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Inc_Past 3.400 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Inc_Past 4.280 SetStreamVolume ( 1.00 ) )
					
                                        Variable_Trigger ( Speed_Dec_Past 4.280 SetStreamVolume ( 1.00 ) )
					Variable_Trigger ( Speed_Dec_Past 3.400 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Variable2_Inc_Past 0.10 StartLoop   ( 1 File ( "x_263_trakcne_motory.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-120.000	107500
						0.000		1825
                                                 120.000	107500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                     0.000		0.00
					       25.0			0.6
					     	 60.0			0.8
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
                        Stream (
				Skip( **** EDB **** )
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 17
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.60 ) )
      				        Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Inc_Past 3.400 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Inc_Past 4.280 SetStreamVolume ( 1.00 ) )
					
                                        Variable_Trigger ( Speed_Dec_Past 4.280 SetStreamVolume ( 1.00 ) )
					Variable_Trigger ( Speed_Dec_Past 3.400 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Variable3_Inc_Past 0.10 StartLoop   ( 1 File ( "x_263_trakcne_motory.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.10 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-120.000	107500
						0.000		1825
                                                 120.000	107500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable3Controlled
					CurvePoints ( 4
                                        0.000		0.00
					0.25		0.6
			       	        0.60		0.8
					1.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip( **** EDB Chlazeni **** )
				Priority ( 6 )
				Volume(0.5)			
				Triggers ( 5
					Variable_Trigger ( Variable3_Inc_Past 0.7  StartLoopRelease   ( 1 File ( "x_163.110_ventilator.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.7  ReleaseLoopReleaseWithJump  () )					

					Discrete_Trigger ( 23	EnableTrigger( 1 ) )
					Discrete_Trigger ( 24	ReleaseLoopReleaseWithJump ( 1 File ( "x_163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 24	DisableTrigger( 1 ) )

				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)	
			)
                        Stream (
				Skip( **** EDB Pulzne menice **** )
				Priority ( 6 )
				Volume( 1.0 )			
				Triggers ( 12
                                        
				        Discrete_Trigger ( 46	EnableTrigger ( 9 ) )  
				        Discrete_Trigger ( 46	DisableTrigger ( 10 ) )  
				        Discrete_Trigger ( 46	ReleaseLoopRelease () )	
                                        Variable_Trigger ( Variable3_Inc_Past 0.01 SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01 SetStreamVolume ( 0.0 ) ) 					
				        Discrete_Trigger ( 45	EnableTrigger ( 9 ) ) 
				        Discrete_Trigger ( 45	EnableTrigger ( 10 ) )
					Variable_Trigger ( Speed_Dec_Past 2.0 SetStreamVolume ( 0.00 ) ) 
				        Variable_Trigger ( Variable3_Inc_Past 0.7  ReleaseLoopRelease  () )
				        Variable_Trigger ( Variable3_Dec_Past 0.1  ReleaseLoopRelease  () )
				        Variable_Trigger ( Variable3_Dec_Past 0.7 StartLoopRelease   ( 1 File ( "x_363_33Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                        Variable_Trigger ( Variable3_Inc_Past 0.1  StartLoopRelease   ( 1 File ( "x_363_33Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)			
			)
                        Stream (
				Skip( **** EDB Pulzne menice **** )
				Priority ( 6 )
				Volume( 1.0 )			
				Triggers ( 12
                                        
				        Discrete_Trigger ( 46	EnableTrigger ( 9 ) )  
				        Discrete_Trigger ( 46	DisableTrigger ( 10 ) )  
				        Discrete_Trigger ( 46	ReleaseLoopRelease () )		
                                        Variable_Trigger ( Variable3_Inc_Past 0.01 SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01 SetStreamVolume ( 0.0 ) ) 					
				        Discrete_Trigger ( 45	EnableTrigger ( 9 ) ) 
				        Discrete_Trigger ( 45	EnableTrigger ( 10 ) )
					Variable_Trigger ( Speed_Dec_Past 2.0 SetStreamVolume ( 0.00 ) ) 
				        Variable_Trigger ( Variable3_Inc_Past 0.8  ReleaseLoopRelease  () )
                                        Variable_Trigger ( Variable3_Dec_Past 0.7  ReleaseLoopRelease  () )
                                        Variable_Trigger ( Variable3_Dec_Past 0.8  StartLoopRelease   ( 1 File ( "x_363_100Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                        Variable_Trigger ( Variable3_Inc_Past 0.7  StartLoopRelease   ( 1 File ( "x_363_100Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)			
			)
                        Stream (
				Skip( **** EDB Pulzne menice **** )
				Priority ( 6 )
				Volume( 1.0 )			
				Triggers ( 10
                                        
				        Discrete_Trigger ( 46	EnableTrigger ( 9 ) )  
				        Discrete_Trigger ( 46	DisableTrigger ( 10 ) )  
				        Discrete_Trigger ( 46	ReleaseLoopRelease () )	
                                        Variable_Trigger ( Variable3_Inc_Past 0.01 SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01 SetStreamVolume ( 0.0 ) ) 					
				        Discrete_Trigger ( 45	EnableTrigger ( 9 ) ) 
				        Discrete_Trigger ( 45	EnableTrigger ( 10 ) )
					Variable_Trigger ( Speed_Dec_Past 2.0 SetStreamVolume ( 0.00 ) ) 
				        Variable_Trigger ( Variable3_Dec_Past 0.8  ReleaseLoopRelease  () )
                                        Variable_Trigger ( Variable3_Inc_Past 0.8  StartLoopRelease   ( 1 File ( "x_363_300Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)			
			)
                        Stream (
				Priority ( 7 )
				Volume( 0.5 )	
				Triggers ( 21
					Skip ( Na zaciatku je blokovane oneskorenie )
			Skip (	1 )	Initial_Trigger ( DisableTrigger( 16 ) )
			Skip (	2 )	Initial_Trigger ( DisableTrigger( 17 ) )
			Skip (	3 )	Initial_Trigger ( DisableTrigger( 18 ) )
					Skip ( Pri stiahnuti zberaca )
			Skip (	4 )	Discrete_Trigger ( 46	EnableTrigger ( 9 ) ) 
			Skip (	5 )	Discrete_Trigger ( 46	DisableTrigger ( 10 ) )	
			Skip (	6 )	Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					Skip ( Pri zdvihnuti zberaca )
			Skip (	7 )	Discrete_Trigger ( 45	EnableTrigger ( 9 ) )  
			Skip (	8 )	Discrete_Trigger ( 45	EnableTrigger ( 10 ) )  
					Skip ( Zadanie vykonu )
			Skip (	9 )	Variable_Trigger ( Variable2_dec_past 45 ReleaseLoopReleaseWithJump () )
			Skip (	10 )	Variable_Trigger ( Variable2_inc_past 45 StartLoopRelease ( 1 File ( "x_163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Skip (	11 )	Variable_Trigger ( Variable2_dec_past 45 EnableTrigger ( 9 ) ) 
			Skip (	12 )	Variable_Trigger ( Variable2_inc_Past 45 EnableTrigger ( 10 ) ) 
					Skip ( V pohybe je blokovane oneskorenie )
			Skip (	13 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 16 ) ) 
			Skip (	14 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 17 ) ) 
			Skip (	15 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 18 ) ) 

					Skip ( Oneskorenie 30 sekund )
			Skip (	16 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 0.5 0.5 )
						ReleaseLoopRelease () 
					)
			Skip (	17 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 0.5 0.5 )
						EnableTrigger( 9 ) 
					)
			Skip (	18 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 0.5 0.5 )
						EnableTrigger( 10 ) 
					)
			Skip (	19 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 16 ) ) 
			Skip (	20 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 17 ) ) 
			Skip (	21 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 18 ) ) 
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   50.0		 19050
						   70.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
                        Stream (
				Priority ( 6 )
				Volume (1.0)			
				Triggers ( 10
					Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot ( 1 File ( "x_163.110_prepojovacZ.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 PlayOneShot ( 1 File ( "x_163.110_prepojovacV.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
                        Stream (
				Priority ( 6 )
				Volume ( 1 )
				Triggers ( 5
					Variable_Trigger ( Speed_Inc_Past 0.87 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Dec_Past 0.87 SetStreamVolume ( 1 ) )
					 Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "x_363_33hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Speed_Inc_Past 0.87 ReleaseLoopReleaseWithJump  ( 1	File ( "x_363_33hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 8
					Variable_Trigger ( Speed_Inc_Past 0.87 SetStreamVolume ( 0.8 ) )
					Variable_Trigger ( Speed_Dec_Past 0.87 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Inc_Past 2.50 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Dec_Past 2.50 SetStreamVolume ( 0.8 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "x_363_33hz.wav" -1 ) ) )
                                        Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "x_363_100hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Speed_Inc_Past 2.50 ReleaseLoopReleaseWithJump  ( 1	File ( "x_363_100hz_n.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 7
					Variable_Trigger ( Speed_Inc_Past 2.50 SetStreamVolume ( 0.9 ) )
					Variable_Trigger ( Speed_Dec_Past 2.50 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 SetStreamVolume ( 0.9 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "x_363_nabehvykon2.wav" -1 ) ) )
					 Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "x_363_300hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
					)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 11
					Variable_Trigger ( Variable2_Inc_Past 0.01 DisableTrigger ( 7 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 SetStreamVolume ( 0.8 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 7 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 DisableTrigger ( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 EnableTrigger ( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_Inc_Past 30.0 SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Variable2_Dec_Past 30.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "x_363_nabehvykon.wav" -1 ) ) )					
					Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoop   ( 1 File ( "x_363_100hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 10
					Variable_Trigger ( Variable2_Inc_Past 0.01 DisableTrigger ( 6 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 6 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 DisableTrigger ( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 EnableTrigger ( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_Dec_Past 30.0 SetStreamVolume ( 0.9 ) )
					Variable_Trigger ( Variable2_Inc_Past 30.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "x_363_nabehvykon.wav" -1 ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "x_363_300hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Skip( **** Signalizacia - truba  **** )
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_151.011_truba.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable1Controlled
					CurvePoints ( 4
                                     0.0			1.00
                                     0.3			1.00
                                     0.6			1.00
                                     1.0			1.00  
					)
					Granularity ( 0.05 )
				)		
			)
			Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_363_pistala.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)				
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Skip ( **** Kompresor **** )				
				Priority ( 6 )
				Volume (0.6)			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "x_362.007_kompresor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 2
					Discrete_Trigger (   21	PlayOneShot ( 1	File ( "x_DAKO_BP1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (   22	PlayOneShot ( 1	File ( "x_DAKO_BP2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                       )
		          FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
                        Stream (
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 4
				        Discrete_Trigger (  14 StartLoopRelease ( 1 File ( "x_163.110_BSEz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  54 StartLoopRelease ( 1	File ( "x_163.110_BSEo.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())	
					)
		          FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 4
					Variable_Trigger ( BrakeCyl_Inc_Past   2  PlayOneShot ( 1 File ( "x_spalky1_z.wav" -1 ) SelectionMethod ( SequentialSelection )))								
					Variable_Trigger ( BrakeCyl_Inc_Past   2  StartLoop ( 1   File ( "x_spalky1.wav" -1 ) SelectionMethod ( SequentialSelection )))
                                    			Variable_Trigger ( BrakeCyl_Dec_Past   2  ReleaseLoopRelease ())      	 
					Variable_Trigger ( BrakeCyl_Dec_Past   2  PlayOneShot ( 1 File ( "x_spalky1_k.wav" -1 ) SelectionMethod ( SequentialSelection )))
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-30.000	17000
						0.000		 9000
						30.000	17000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
					     	 -30.0		1.0
                                                                                    -5.0 		0.9
                                                                                    0.0 		0.0
					        5.0			0.9
					       30.0		              1.0  
					)
					Granularity ( 0.05 )
				)				
			)	
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 2
				Variable_Trigger ( BrakeCyl_Inc_Past   2  StartLoopRelease ( 1   File ( "x_spalky3.wav" -1 ) SelectionMethod ( SequentialSelection )))
                                Variable_Trigger ( BrakeCyl_Dec_Past   2  ReleaseLoopRelease ())
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
					       -100.0		0.0
					     	 -5.0		      0.0
                                     -3.0 		0.2
					       -0.3	       	0.8
					       -0.1       	0.0
                                      0.0       	0.000
					        0.1	      	0.0
					        0.3	      	0.8
					        3.0			0.2
					     	  5.0			0.0
					       100.0		0.0  
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )	
				Volume (0.5)
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_pisek.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.5)
				Triggers ( 2
                                       Discrete_Trigger ( 23 StartLoopRelease   ( 1     File ( "x_362.007_unipulz.wav" -1 )  SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 24 ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
                        )
			Stream (
				Skip( **** pantograf zadni **** )
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 2
					Discrete_Trigger ( 45   PlayOneShot ( 1 	File ( "x_163.110_zberac_h.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 46   PlayOneShot ( 1 	File ( "x_163.110_zberac_d.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
				Skip( **** pantograf predni **** )
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 2
					Discrete_Trigger ( 66   PlayOneShot ( 1 	File ( "x_163.110_zberac_h.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 67   PlayOneShot ( 1 	File ( "x_163.110_zberac_d.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
                               Skip (** sprahla - spojovani/rozpojovani **)
				Priority ( 6 )
				Triggers ( 5
					Discrete_Trigger ( 58 PlayOneShot ( 1	File ( "x_narazniky.wav" -1 )		SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 61 PlayOneShot ( 1	File ( "x_rozpajanie.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 61 EnableTrigger ( 6 ) )
					Variable_Trigger ( Speed_inc_past 0.1	PlayOneShot ( 1	File ( "x_narazniky_oddelenie.wav" -1 )		SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 0.1	DisableTrigger ( 6 ) )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
		)
	)
)
