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


Tr_SMS (
       Skip (** Ozvuceni kabiny pro lokomotivy rady 749, sdruzeny regulator **)
       Skip (** varianta I - kratka houkacka **)
       Skip (** autor hlavnich bloku - Robo **)
       Skip (** autor bloku start/volnobeh/stop - Igor Hnizdo **)
       Skip (** autor zvuku vrzani sedacky - Jacek **)
       Skip (** !!!!Urceno pouze pro simulator OPenRails - ORTS!!!! **)
	ScalabiltyGroup( 5
		Activation (
      		CabCam ()
			Distance  (20)
		)
		Deactivation (
			PassengerCam ()
			ExternalCam ()
			Distance  (20)
		)
		Stereo ()
		Volume (1.0)
		Streams ( 17
			Stream (
			       Skip (** rychlomer **)
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 7
					Variable_Trigger ( Speed_Inc_Past  0.6	StartLoop ( 1	File ( "rychlomer_Hasler.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                        Variable_Trigger ( Speed_Dec_Past  0.6	ReleaseLoopRelease () )	
                                )        
				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 (
			       Skip (** trakcni motory **)
				Priority ( 6 )
				Volume( 0.5 )
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 1.250 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 2.500 SetStreamVolume ( 0.62 ) )
					Variable_Trigger ( Speed_Inc_Past 5.750 SetStreamVolume ( 0.64 ) )
					Variable_Trigger ( Speed_Inc_Past 9.250 SetStreamVolume ( 0.65 ) )
      			             	Variable_Trigger ( Speed_Inc_Past 13.50 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Inc_Past 15.75 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Inc_Past 18.00 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Inc_Past 20.25 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Inc_Past 22.50 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Inc_Past 24.75 SetStreamVolume ( 0.65 ) )

					Variable_Trigger ( Speed_Dec_Past 24.75 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 22.50 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 20.25 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 18.00 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 15.75 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 13.50 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 9.250 SetStreamVolume ( 0.65 ) )
					Variable_Trigger ( Speed_Dec_Past 5.750 SetStreamVolume ( 0.64 ) )
					Variable_Trigger ( Speed_Dec_Past 2.500 SetStreamVolume ( 0.62 ) )
					Variable_Trigger ( Speed_Dec_Past 1.250 SetStreamVolume ( 0.60 ) )

					Variable_Trigger ( Speed_Inc_Past 1.60 StartLoop   ( 1 File ( "TE005.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 1.60 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-120.000	140000
						0.000		1700
						120.000	        140000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 9
						 0.0			0.0
 						 0.03			0.55
						 0.05			0.58
						 0.18			0.65
						 0.32			0.75
                                                 0.46			0.85
                                                 0.62			0.90
                                                 0.83			0.95
						 1.000		        1.0
					)
					Granularity ( 0.05 )
				)				
			)
                        Stream (
                               Skip (** trakcni motory ve vybehu - bez vykonu **)
				Priority ( 6 )
                                Volume( 0.30 )
             		        Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 2.7	StartLoop ( 1	File ( "el_mot_vybeh.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 2.7	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-30.000	18025
						0.000	6000
						30.000	18025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 10
						 0.0			1.0
 						 0.05			0.3
						 0.10			0.2
						 0.15			0.1
						 0.25			0.3
                                                 0.45			0.2
                                                 0.60			0.0
                                                 0.75			0.0
                                                 0.90			0.0
						 1.000		        0.0
					)
					Granularity ( 0.05 )
				)				
			)
                         Stream (
                         	Skip (** jizda - klapot kol **)
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 0.010 StartLoop   ( 1 File ( "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 (** Motor - start,volnobeh, stop **)
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 7
					Initial_Trigger  ( StartLoop   ( 1 File ( "K6S310DR_0_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 24   ReleaseLoopRelease () )
					Discrete_Trigger ( 24   PlayOneShot ( 1 	File ( "749.247_K6S310DR_0_stop.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 107   StartLoopRelease ( 1 	File ( "749.247_K6S310DR_premazavanie.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 23   ReleaseLoopRelease () )
					Discrete_Trigger ( 23   PlayOneShot ( 1 	File ( "749.247_K6S310DR_0_start_IH.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 23   StartLoop   ( 1   File ( "K6S310DR_0_TPR.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )


				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 48000
						   1.0		 48000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.000		1.00
						 0.010		0.85
						 0.013		0.00
						 1.000		0.00
					)
					Granularity ( 0.05 )
				)				
			)
                        Stream (
                               Skip (** motor - vykon,jizda **)
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 46
					Variable_Trigger ( Variable2_Inc_Past 0.005 PlayOneShot        ( 1 File ( "K6S310DR_0-1_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.005 StartLoopRelease   ( 1 File ( "K6S310DR_1_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.060 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.060 PlayOneShot        ( 1 File ( "K6S310DR_1-2_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.060 StartLoopRelease   ( 1 File ( "K6S310DR_2_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.200 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.200 PlayOneShot        ( 1 File ( "K6S310DR_2-3_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.200 StartLoopRelease   ( 1 File ( "K6S310DR_3_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.360 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.360 PlayOneShot        ( 1 File ( "K6S310DR_3-4_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.360 StartLoopRelease   ( 1 File ( "K6S310DR_4_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.450 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.450 PlayOneShot        ( 1 File ( "K6S310DR_4-5_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.450 StartLoopRelease   ( 1 File ( "K6S310DR_5_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.550 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.550 PlayOneShot        ( 1 File ( "K6S310DR_5-6_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.550 StartLoopRelease   ( 1 File ( "K6S310DR_6_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.720 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.720 PlayOneShot        ( 1 File ( "K6S310DR_6-7_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.720 StartLoopRelease   ( 1 File ( "K6S310DR_7_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.910 ReleaseLoopRelease () )					

					Variable_Trigger ( Variable2_Inc_Past 0.910 PlayOneShot        ( 1 File ( "K6S310DR_7-8_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.910 StartLoopRelease   ( 1 File ( "749.247_K6S310DR_8.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )


					Variable_Trigger ( Variable2_Dec_Past 0.910 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.910 PlayOneShot        ( 1 File ( "K6S310DR_8-7_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.910 StartLoopRelease   ( 1 File ( "K6S310DR_7_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.720 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.720 PlayOneShot        ( 1 File ( "K6S310DR_7-6_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.720 StartLoopRelease   ( 1 File ( "K6S310DR_6_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.550 PlayOneShot        ( 1 File ( "K6S310DR_6-5_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.550 StartLoopRelease   ( 1 File ( "K6S310DR_5_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.450 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.450 PlayOneShot        ( 1 File ( "K6S310DR_5-4_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.450 StartLoopRelease   ( 1 File ( "K6S310DR_4_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.360 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.360 PlayOneShot        ( 1 File ( "K6S310DR_4-3_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.360 StartLoopRelease   ( 1 File ( "K6S310DR_3_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.200 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.200 PlayOneShot        ( 1 File ( "K6S310DR_3-2_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.200 StartLoopRelease   ( 1 File ( "K6S310DR_2_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.060 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.060 PlayOneShot        ( 1 File ( "K6S310DR_2-1_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.060 StartLoopRelease   ( 1 File ( "K6S310DR_1_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger ( Variable2_Dec_Past 0.005 ReleaseLoopRelease () )
                                        Variable_Trigger ( Variable2_Dec_Past 0.005 PlayOneShot        ( 1 File ( "K6S310DR_1-0_TPR.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		300.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
                       Stream (
                       	      Skip (** zvuky vykonoveho kontroleru a liniovych stykacu **)
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 18
				Variable_Trigger ( Variable1_Inc_Past 0.020 PlayOneShot   ( 1 File ( "751.205_kontroler1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.020 PlayOneShot   ( 1 File ( "751.205_LSz.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.080 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.220 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.340 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.470 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.610 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.800 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Inc_Past 0.990 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                
                                Variable_Trigger ( Variable1_Dec_Past 0.820 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.630 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.490 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.360 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.240 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.100 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.040 PlayOneShot   ( 1 File ( "751.205_kontroler2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.001 PlayOneShot   ( 1 File ( "751.205_kontroler3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                Variable_Trigger ( Variable1_Dec_Past 0.001 PlayOneShot   ( 1 File ( "751.205_LSv.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
		       )
                       Stream (
				Skip (** Kompresor **)				
				Priority ( 6 )
				Volume ( 0.6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "749.247_K2Lok1.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
			)
			Stream (
			       Skip (** houkacka **)
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "749.247_hukacka.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
			)
			Stream (
			       Skip (** houkacka - kratka **)
				Priority ( 6 )
				Volume(1.0)
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "749.247_hukacka_kratka.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
			)
			Stream (
			       Skip (** piskovani **)
				Priority ( 6 )
				Volume ( 0.3 )
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "742.512_pisek.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
			 )
                         Stream (
                         	Skip (** prubezna brzda - brzdic DAKO BS2 **)
				Priority ( 6 )
				Volume ( 0.6 )
				Triggers ( 4
        				Discrete_Trigger (  142 StartLoopRelease ( 1 File ( "751.205_DAKOBS2z.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  143	ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  141 StartLoopRelease ( 1 File ( "751.205_DAKOBS2o.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  143	ReleaseLoopReleaseWithJump ())
                                )
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
			)
                        Stream (
                               Skip (** zvuk brzdovych spalku **)
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 4
					Variable_Trigger ( BrakeCyl_Inc_Past   2  PlayOneShot ( 1 File ( "750_spalky_n.wav" -1 ) SelectionMethod ( SequentialSelection )))								
					Variable_Trigger ( BrakeCyl_Inc_Past   2  StartLoop ( 1   File ( "750_spalky.wav" -1 ) SelectionMethod ( SequentialSelection )))
                                    			Variable_Trigger ( BrakeCyl_Dec_Past   2  ReleaseLoopRelease ())      	 
					Variable_Trigger ( BrakeCyl_Dec_Past   2  PlayOneShot ( 1 File ( "750_spalky_d.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 (
			       Skip (** spalky - skripani pri dobrzdeni **)
				Priority ( 6 )
				Volume(0.5)			
				Triggers ( 2
				Variable_Trigger ( BrakeCyl_Inc_Past   2  StartLoop ( 1   File ( "749_vrzani.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 )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 16000
						   1.0		 16000
					)
					Granularity ( 100 )
				)				
			)
                       Stream (
                       	      Skip (** primocinna brzda - brzdic DAKO BP, revers, spinace a prepinace **)
				Priority ( 6 )
				Triggers ( 7
                       			Discrete_Trigger ( 21	PlayOneShot ( 1	File ( "751.205_BP1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 22	PlayOneShot ( 1	File ( "751.205_BP2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                        Discrete_Trigger ( 103	PlayOneShot ( 1	File ( "751.205_reverz1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                        Discrete_Trigger ( 104	PlayOneShot ( 1	File ( "751.205_reverz2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                        Discrete_Trigger ( 161	PlayOneShot ( 1	File ( "751.205_prepinac.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "751.205_prepinac.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "751.205_VZ.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )					
				 )
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 48000
						  50.0		 48000
					)
					Granularity ( 100 )
				)
			)
                        Stream (
				Skip (** vrzani sedacky **)
				Priority ( 6 )
				Triggers ( 2
				Initial_Trigger  ( PlayOneShot   ( 1 File ( "240_sedacka_03.wav" -1 )	
					SelectionMethod ( SequentialSelection ) ) )
				Dist_Travelled_Trigger ( Dist_Min_Max ( 120 400 )  Volume_Min_Max ( 0.7 1.0 ) PlayOneShot ( 13							File ( "240_sedacka_01.wav" -1 ) 
						File ( "240_sedacka_02.wav" -1 )  
						File ( "240_sedacka_03.wav" -1 )  
						File ( "240_sedacka_04.wav" -1 ) 
						File ( "240_sedacka_05.wav" -1 ) 
						File ( "240_sedacka_06.wav" -1 )  
						File ( "240_sedacka_07.wav" -1 )  
						File ( "240_sedacka_08.wav" -1 ) 
						File ( "240_sedacka_09.wav" -1 ) 
						File ( "240_sedacka_10.wav" -1 )  
						File ( "240_sedacka_11.wav" -1 )  
						File ( "240_sedacka_12.wav" -1 ) 
						File ( "240_sedacka_13.wav" -1 ) 
					SelectionMethod ( RandomSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						  0.0			0.0
						  0.1			0.0
						  4.0			0.0
						  5.0			1.0
						 10.0			1.0
						 40.0			1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream(
				Skip (** KBS - zivak **)
				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	PlayOneShot ( 1 File ( "750_LVZ_4s.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)
)