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

Tr_SMS (
	ScalabiltyGroup( 5
		Activation ( ExternalCam ()	Distance  	(200)	)
		Deactivation ( CabCam ()	PassengerCam ()	Distance (300) )
		Volume(1.0)
		Streams ( 14
                Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.20 ) )
      				Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 2.400 SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Speed_Inc_Past 2.800 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 3.600 SetStreamVolume ( 0.70 ) )
					Variable_Trigger ( Speed_Inc_Past 4.000 SetStreamVolume ( 0.80 ) )

					Variable_Trigger ( Speed_Dec_Past 4.000 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Dec_Past 3.600 SetStreamVolume ( 0.70 ) )
					Variable_Trigger ( Speed_Dec_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.800 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 2.400 SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Variable2_Inc_Past 0.10 StartLoop   ( 1 File ( "x_trakcni_motory1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-120.000	85025
						-22.000	18025
						0.000		2825
						22.000	18025
						120.000	85025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                     0.000		0.00
					       20.0			0.6
					     	 60.0			0.8
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)  
Stream (
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "x_jizda.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.1	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-40.000	22025
						0.000		4000
						40.000	22025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -40.0       	1.0  
					       -30.0 		1.0
					       -2.0	      	0.2  
                                     0.000		0.0
					       2.0			0.2
					       30.0	      	1.0  
					       40.0	      	1.0
					)
					Granularity ( 0.05 )
				)				
			)
Stream (
				Priority ( 6 )
                        Volume(0.6)
				Triggers ( 2
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )

					Variable_Trigger ( Speed_Inc_Past 17.1 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Speed_Inc_Past 18.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                             
						
                              

                             
	
				)
                         
				
				
			)
 Stream (
				Priority ( 6 )
                        Volume(1.0)
				Triggers ( 66
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 1.0 PlayOneShot   ( 1 File ( "x_odbocka1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                             	
                              Variable_Trigger ( Variable2_Inc_Past 3.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 6.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 9.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
                              Variable_Trigger ( Variable2_Inc_Past 12.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 15.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
										
	                        Variable_Trigger ( Variable2_Inc_Past 18.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 21.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
				      Variable_Trigger ( Variable2_Inc_Past 24.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 27.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Inc_Past 30.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 33.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
										
                              Variable_Trigger ( Variable2_Inc_Past 36.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
				      Variable_Trigger ( Variable2_Inc_Past 39.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 42.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Inc_Past 45.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
                              Variable_Trigger ( Variable2_Inc_Past 48.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
                              Variable_Trigger ( Variable2_Inc_Past 51.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

			            Variable_Trigger ( Variable2_Dec_Past 54.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 60.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 63.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
                              Variable_Trigger ( Variable2_Inc_Past 66.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 69.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
										
	                        Variable_Trigger ( Variable2_Inc_Past 72.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 75.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
				      Variable_Trigger ( Variable2_Inc_Past 78.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 81.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Inc_Past 84.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 87.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
										
                              Variable_Trigger ( Variable2_Inc_Past 90.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
				      Variable_Trigger ( Variable2_Inc_Past 93.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Inc_Past 96.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Inc_Past 99.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
					
                              Variable_Trigger ( Variable2_Dec_Past 96.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
                              Variable_Trigger ( Variable2_Dec_Past 93.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 90.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 87.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
			
                              Variable_Trigger ( Variable2_Dec_Past 84.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
										
	                        Variable_Trigger ( Variable2_Dec_Past 81.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 78.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
				      Variable_Trigger ( Variable2_Dec_Past 75.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 72.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 69.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 66.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
								
                              Variable_Trigger ( Variable2_Dec_Past 63.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
				      Variable_Trigger ( Variable2_Dec_Past 60.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 57.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 54.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 51.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
				Variable_Trigger ( Variable2_Dec_Past 48.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 45.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 42.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
				Variable_Trigger ( Variable2_Dec_Past 39.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 36.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 33.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
								
                              Variable_Trigger ( Variable2_Dec_Past 30.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
				      Variable_Trigger ( Variable2_Dec_Past 27.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 24.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 21.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 18.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
				Variable_Trigger ( Variable2_Dec_Past 15.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
						
					Variable_Trigger ( Variable2_Dec_Past 12.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 9.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				
					Variable_Trigger ( Variable2_Dec_Past 6.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
                              Variable_Trigger ( Variable2_Dec_Past 3.0 PlayOneShot   ( 1 File ( "x_odbocka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				


                              Variable_Trigger ( Variable2_Dec_Past 2.0 PlayOneShot   ( 1 File ( "x_odbocka1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
			

                             
	
				)
                         
				
				
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 6 )
                        Volume (0.8)
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 1	
							File ( "odbrzd.wav" -1 )	
	 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 1	
							File ( "x_vzduch.wav" -1 )
                              
	

						) 
					)
                              
				)
			)
			Stream (
			  Skip ( **** Kompresor	**** )
			  Skip ( **** Rozbehne se po odbrzdeni pri stani nebo po odbrzdeni a naslednem zastaveni 	**** )
			  Skip ( **** Rozbeh po odbrzdeni za jizdy neni umoznen, protoze napr. po 5 odbrzdenich 	**** )
      		  Skip ( **** tesne po sobe by pak bezel 5krat, coz neni zrovna idealni **** )
				Priority ( 6 )
				Volume (0.3)
				Triggers ( 30

			  Skip ( Spusteni odbrzdenim nebo odbrzdenim a naslednym zastavenim )

					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "x_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54  	PlayOneShot ( 1 File ( "x_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 PlayOneShot ( 1 File ( "x_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

			  Skip ( Znemozneni vicenasobneho spousteni [to by potom bezel jeste nekolikrat pri jizde] )

					Discrete_Trigger ( 53  	DisableTrigger( 1 ) )
					Discrete_Trigger ( 54  	DisableTrigger( 2 ) )

					Discrete_Trigger ( 53  	DisableTrigger( 3 ) )
					Discrete_Trigger ( 54  	DisableTrigger( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 DisableTrigger( 3 ) )

			  Skip ( Povoleni/znemozneni spusteni pri zastaveni/po rozjeti [aby pri kazdem odbrzdeni za jizdy nebezel]	)

					Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger( 2 ) )

					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 1 ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 2 ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 3 ) )

			  Skip ( Povoleni spusteni po odbrzdeni a naslednem zastaveni [navazuje na predchozi trigger] )

					Discrete_Trigger ( 53  	EnableTrigger( 3 ) )
					Discrete_Trigger ( 54  	EnableTrigger( 3 ) )

			  Skip ( Povoleni/znemozneni spusteni pri zvednuti/spusteni sberace )

					Discrete_Trigger ( 45  	EnableTrigger( 1 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 2 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 3 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 9 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 10 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 14 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 15 ) )

					Discrete_Trigger ( 46  	DisableTrigger( 1 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 2 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 3 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 9 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 10 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 14 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 15 ) )

					Discrete_Trigger ( 14   DisableTrigger( 3 ) )
				)
			)	
Stream (
	Priority ( 7 )
	Triggers ( 1
	Variable_Trigger ( Speed_Dec_Past  2.50 PlayOneShot ( 1 File ( "x_stop.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            )
	VolumeCurve(
            SpeedControlled
            CurvePoints ( 4
                          0.00    0.00
                          0.84    0.80
                          1.67    0.60
                          2.50    0.40
                          )
            Granularity  ( 0.05 )
            )
)
			Stream (
				Skip ( **** Tifon High **** )
				Priority ( 6 )
				Triggers ( 4
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_hukacka.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_pistala.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.4)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.05 PlayOneShot   ( 1 File ( "x_vrzanie.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.8)			
				Triggers ( 4
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "x_brzdeni2_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "x_brzdy.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "x_brzdy.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 StartLoop ( 1 File ( "x_brzdeni2_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				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 )
				Skip ( **** Pantograph Coupling **** )
				Triggers ( 7
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "x_zberac_h.wav" -1 )		SelectionMethod ( SequentialSelection ) ) ) 
					Discrete_Trigger ( 46 PlayOneShot ( 1 	File ( "x_zberac_d.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					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 ) )
				)
			)
			Stream (
				Skip ( **** Air **** )
				Priority ( 6 )
				Triggers ( 4
					Discrete_Trigger ( 14
						PlayOneShot ( 2
							File ( "tsrSound_chs7-x_airb_auto3.wav" -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Discrete_Trigger ( 54
						ReleaseLoopReleaseWithJump (  )
					)
					Discrete_Trigger ( 53
						PlayOneShot ( 2
							File ( "tsrSound_chs7-x_airb_auto1.wav" -1 )
							File ( ".tsrSound_chs7-x_airb_auto2.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
					Discrete_Trigger ( 54
						PlayOneShot ( 2
							File ( "tsrSound_chs7-x_airb_auto1.wav" -1 )
							File ( "tsrSound_chs7-x_airb_auto2.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)
			Stream(
				Skip ( **** Ventilator On **** )
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers( 6
					Discrete_Trigger ( 6 playoneshot ( 1 File ( "x_hv_zap.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 6 StartLoopRelease ( 1 File ( "x_trafo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 7 ReleaseLoopReleaseWithJump () )
					Discrete_Trigger ( 6 SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 7 SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 7 PlayOneShot ( 1 File ( "x_hv_vyp.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				)
			)
Stream (
				Priority ( 6 )
				Volume(0.8)			
				Triggers ( 2
                              Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "x_ventilator.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump  ( 1	File ( "x_242_ventilator.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )					
				)				
			)
		)
	)
)
