SIMISA@@@@@@@@@@JINX0x1t______
        
Tr_SMS (
        Skip ( **  30.7.2008 upravil Robo   ** ) 
        Skip (** cerven 2018 - Igor Hnizdo - upravy pro ORTS **)

	ScalabiltyGroup( 5
		Activation (
			CabCam	()
			Distance   	(100)
		)
		Deactivation (
		      ExternalCam ()
			PassengerCam   ()
			Distance   	(100)
		)
		Stereo ()
                Volume ( 0.6 )
		Streams ( 34
                        Stream (
                               Skip (** jizda **)
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 0.010 StartLoop   ( 1 File ( "750_jizda.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.010 ReleaseLoopRelease () )					
				   )
                                   FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-35.0	        17800
						0.000		7320
						35.0	        17800
					)
					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 (
			       Skip (** trakcni motory **)
				Priority ( 6 )
				Volume(0.8)			
				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 ( "263_trakcne_motory.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-120.000	127000
						0.000		1825
                                                 120.000	127000
					)
					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(0.8)			
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "263_trakcne_motory.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-120.000	125025
						0.000		1825
                                                 120.000	125025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable3Controlled
					CurvePoints ( 2
                                     0.000		0.0
					       1.00 		1.0
					)
					Granularity ( 0.05 )
				)				
			)
                        Stream (
				Skip (** EDB Chlazeni **)
				Priority ( 6 )
				Volume( 1.0 )			
				Triggers ( 5
					Variable_Trigger ( Variable3_Inc_Past 3  StartLoopRelease   ( 1 File ( "163.110_ventilator.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 2.5  ReleaseLoopRelease  () )

					Discrete_Trigger ( 23	EnableTrigger( 1 ) )
					Discrete_Trigger ( 24	ReleaseLoopRelease ( 1 File ( "163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 24	DisableTrigger( 1 ) )

				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)	
			)
                        Stream (
				Skip (** EDB pulsni menice **)
				Priority ( 6 )
				Volume( 0.5 )			
				Triggers ( 12
                                        
				        Discrete_Trigger ( 46	EnableTrigger ( 9 ) )  
				        Discrete_Trigger ( 46	DisableTrigger ( 10 ) )  
				        Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					
				        Discrete_Trigger ( 45	EnableTrigger ( 9 ) ) 
				        Discrete_Trigger ( 45	EnableTrigger ( 10 ) )
					Variable_Trigger ( Variable3_Inc_Past 0.01 SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01 SetStreamVolume ( 0.0 ) ) 
                                        Variable_Trigger ( Speed_Dec_Past 2.0 SetStreamVolume ( 0.00 ) ) 
				        Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )
                                        Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "363_33Hz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable3Controlled
					CurvePoints ( 2
                                     0.000		0.5
					       1.00 		1.0
					)
					Granularity ( 0.05 )
				)				
			)
                        Stream (
                               Skip (** ventilatory trakcnich motoru **)
				Priority ( 7 )
				Triggers ( 10
                                        Initial_Trigger ( DisableTrigger ( 7 ) )
                                        Initial_Trigger ( DisableTrigger ( 10 ) )
                                        Discrete_Trigger ( 23	EnableTrigger ( 7 ) )
                                        Discrete_Trigger ( 23	EnableTrigger ( 10 ) )
                                        Discrete_Trigger ( 24	DisableTrigger ( 7 ) )
                                        Discrete_Trigger ( 24	DisableTrigger ( 10 ) )
			        	Variable_Trigger ( Speed_Inc_past 1 StartLoopRelease ( 1 File ( "163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			        	Discrete_Trigger ( 24	ReleaseLoopReleaseWithJump () )
			        	Variable_Trigger ( Variable1_Dec_Past 0.15 ReleaseLoopReleaseWithJump () )
			        	Variable_Trigger ( Variable1_Inc_past 0.10 StartLoopRelease ( 1 File ( "163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			        	Variable_Trigger ( Speed_Inc_past 1 StartLoopRelease ( 1 File ( "163.110_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
                        )
                        Stream (
                               Skip (** prepojovac **)
				Priority ( 6 )
				Volume (1.0)			
				Triggers ( 10
					Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot ( 1 File ( "163.110_prepojovacZ.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 PlayOneShot ( 1 File ( "163.110_prepojovacV.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
                        )
                        Stream (
                               Skip (** pulsni menice 33Hz **)
				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 ( "363_33hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Speed_Inc_Past 0.87 ReleaseLoopReleaseWithJump  ( 1	File ( "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 )
				)
                        )
			Stream (
			       Skip (** pulsni menice 100Hz **)
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 8
					Variable_Trigger ( Speed_Inc_Past 0.87 SetStreamVolume ( 1.0 ) )
					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 ( 1.0 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "363_33hz.wav" -1 ) ) )
					 Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "363_100hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Speed_Inc_Past 2.50 ReleaseLoopReleaseWithJump  ( 1	File ( "363_100hz.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				)
                        )
			Stream (
			       Skip (** pulsni menice 300Hz **)
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 7
					Variable_Trigger ( Speed_Inc_Past 2.50 SetStreamVolume ( 0.7 ) )
					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.7 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "363_nabehvykon2.wav" -1 ) ) )
					 Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "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 )
				)
                        )
			Stream (
			       Skip (** pulsni menice 100Hz **)
				Priority ( 6 )
				Volume ( 0 )
				Triggers ( 11
					Variable_Trigger ( Variable2_Inc_Past 0.01 DisableTrigger ( 7 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 SetStreamVolume ( 0.3 ) )
					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 ( 0.3 ) )
					Variable_Trigger ( Variable2_Dec_Past 30.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "363_nabehvykon.wav" -1 ) ) )					
					Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoop   ( 1 File ( "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 )
				)
                        )
			Stream (
			       Skip (** pulsni menice 300Hz **)
				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.7 ) )
					Variable_Trigger ( Variable2_Inc_Past 30.0 SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Variable2_inc_past 0.01 PlayOneShot ( 1 File ( "363_nabehvykon.wav" -1 ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "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 )
				)
                        )
			Stream (
			       Skip (** houkacka **)
				Priority ( 6 )
				Volume ( 1.0 )			
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "houkacka.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
			       Skip (** pistala **)
				Priority ( 6 )
				Volume ( 0.6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "363_pistala.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
			       Skip (** piskovani **)
				Priority ( 6 )
				Volume ( 0.3 )
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "pisek.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip (** Kompresor **)
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
                                        Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "163.110_kompresor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopReleaseWithJump ()	)
				)
			)
			
			Stream (
			       Skip (** spalky - brzdeni **)
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 4

					Variable_Trigger ( BrakeCyl_Inc_Past   2 PlayOneShot ( 1 File ( "spalky1_z.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                        Variable_Trigger ( BrakeCyl_Inc_Past   2 StartLoop ( 1 File ( "spalky1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				        Variable_Trigger ( BrakeCyl_Dec_Past   2 ReleaseLoopRelease () )
					Variable_Trigger ( BrakeCyl_Dec_Past   2 PlayOneShot ( 1 File ( "spalky1_k.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-80.000	15000
						-0.500	7000
						0.000		00000
						0.500	      7000
						80.000	15000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -100.0		0.8
					     	 -9.00	      0.8
					     	 -3.50		0.6
                                     0.000		0.00
					     	 3.50			0.6
					     	 9.00    		0.8
					       100.0		0.8 
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
			       Skip (** Brzdic DAKO BSE - syceni vzduchu ze strojovny **)
				Priority ( 6 )
				Volume ( 0.6 )
				Triggers ( 4
					Discrete_Trigger (  142 StartLoopRelease ( 1 File ( "163.110_BSEz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  143	ReleaseLoopReleaseWithJump () )
                                        Discrete_Trigger (  141 StartLoopRelease ( 1 File ( "163.110_BSEo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				        Discrete_Trigger (  143	ReleaseLoopReleaseWithJump ())

				)

                        )
                        Stream (
			       Skip (** Brzdic DAKO BSE - zvuk paky OBE-1 **)
				Priority ( 6 )
				Volume ( 0.6 )
				Triggers ( 1

                                         Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "163.110_OBE.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )

				)

                        )
                        Stream (
                         	Skip (** brzda - zvuky plneni/odvetrani valcu, ovladani BSE **)
				Priority ( 6 )
				Volume ( 0.3 )
				Triggers ( 4
        				Discrete_Trigger (  14 StartLoopRelease ( 1 File ( "brzda_prubezna_zabrzdeni1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  54 StartLoopRelease ( 1 File ( "brzda_prubezna_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())
                                )
			)
			Stream (
                         	Skip (** brzda - zvuky plneni/odvetrani valcu, ovladani BP **)
				Priority ( 6 )
				Volume ( 0.3 )
				Triggers ( 4
        				Discrete_Trigger (  21 StartLoopRelease ( 1 File ( "brzda_prubezna_zabrzdeni1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  140	ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  22 StartLoopRelease ( 1 File ( "brzda_prubezna_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  140	ReleaseLoopReleaseWithJump ())
                                )
			)
			Stream (
  		      	     Skip (** primocinna brzda - brzdic DAKO BP **)
				Priority ( 6 )
				Volume ( 0.7 )
				Triggers ( 2
					Discrete_Trigger (  21 PlayOneShot ( 1 File ( "163.110_BP1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  22 PlayOneShot ( 1 File ( "163.110_BP2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				)
			)
			Stream (
				Skip (** Spinani automatiky **)
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.10 PlayOneShot   ( 1 File ( "263_automatika_zap.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 PlayOneShot   ( 1 File ( "263_automatika_vyp.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
                        Stream (
                               Skip (** smerova paka **)
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 2
				         Discrete_Trigger (  103 PlayOneShot ( 1 File ( "163.110_smerA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				         Discrete_Trigger (  104 PlayOneShot ( 1 File ( "163.110_smerB.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				)
			)

                        Stream (
				Skip(** Sberac zadni **)
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Discrete_Trigger ( 45   PlayOneShot ( 1 	File ( "362.007_ZzberacH.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 46   PlayOneShot ( 1 	File ( "362.007_ZzberacD.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)

			)
			Stream (
				Skip(** sberac predni **)
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Discrete_Trigger ( 66   PlayOneShot ( 1 	File ( "362.007_PzberacH.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 67   PlayOneShot ( 1 	File ( "362.007_PzberacD.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)

			)
			Stream (
				Skip (** hlavni vypinac **)
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Discrete_Trigger ( 151   PlayOneShot ( 1 	File ( "263_hv_zap.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 150   PlayOneShot ( 1 	File ( "263_hv_vyp.wav" -1 ) SelectionMethod (SequentialSelection) ) )

				)

			)
			Stream (
				Skip (** trafo **)
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Discrete_Trigger ( 152   PlayOneShot ( 1 	File ( "363_trafo_start-OR.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 152   StartLoopRelease ( 1 	File ( "263_trafo.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 150 ReleaseLoopReleaseWithJump ()	)

				)
				VolumeCurve (
					Variable2Controlled
					CurvePoints ( 2
					       0.0    0.35
					       1.0    1.0
					)
					Granularity ( 0.05 )
				)

			)
			Stream (
			       Skip (** Unipuls **)
				Priority ( 6 )
				Volume ( 0.65 )
				Triggers ( 7	
                                        Discrete_Trigger ( 23 StartLoopRelease   ( 1     File ( "163.110_stary_unipulz.wav" -1 )  SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 24 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
			       Skip (** Indikace "porucha" pri vypnuti vykonu **)
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 1
					Discrete_Trigger ( 24 PlayOneShot   ( 1     File ( "363_porucha4.wav" -1 )  SelectionMethod (SequentialSelection) ) ) 
				)
			)

			Stream (
			       Skip (** ovladace sberacu a hlavniho vypinace **)
				Priority ( 6 )
				Volume( 0.75 )
				Triggers ( 8
				         Skip (** sberace **)
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "163.110_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 46 PlayOneShot ( 1 	File ( "163.110_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 66 PlayOneShot ( 1 	File ( "163.110_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 67 PlayOneShot ( 1 	File ( "163.110_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					 Skip (** hlavni vypinac **)
					Discrete_Trigger ( 153 PlayOneShot ( 1 	File ( "263_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 154 PlayOneShot ( 1 	File ( "263_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 155 PlayOneShot ( 1 	File ( "263_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 156 PlayOneShot ( 1 	File ( "263_prepinac.wav" -1 ) SelectionMethod (SequentialSelection) ) )

				)
			)
			Stream (
			       Skip (** spinace, tlacitka a prepinace **)
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 3
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "263_tlacitko.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "263_prepinac.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 161	PlayOneShot ( 1	File ( "263_prepinac.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			      )
			)
			Stream (
			       Skip (** KBS - zivak, zabezpecovac Mirel **)
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 5
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	PlayOneShot ( 1 File ( "LVZ_ticho.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "mirel.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)

			)


	    )
     )

)