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

Tr_SMS (

	ScalabiltyGroup( 5
		Activation (
			CabCam	()
			Distance   	(100)
		)
		Deactivation (
		      ExternalCam ()
			PassengerCam	()
			Distance    (100)
		)
		Stereo ()
		Volume (0.4)
		Streams ( 19
			Stream (
				Priority ( 6 )
				Volume (0.35)
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 0.20 StartLoop   ( 1 File ( "rychlomer.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.20 ReleaseLoopRelease () )					
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.25)			
				Triggers ( 32
      				Variable_Trigger ( Variable2_Inc_Past 0.5 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Inc_Past 20.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Inc_Past 40.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Inc_Past 65.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

      				Variable_Trigger ( Variable2_Dec_Past 65.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Dec_Past 40.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Dec_Past 20.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Variable2_Dec_Past 0.5 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )


      				Variable_Trigger ( Speed_Inc_Past 0.1 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

      				Variable_Trigger ( Speed_Inc_Past 0.8 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 1.6 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 2.4 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 3.2 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 4.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

      				Variable_Trigger ( Speed_Inc_Past 4.8 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 5.6 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 6.4 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 7.2 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 8.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

      				Variable_Trigger ( Speed_Inc_Past 10.0 PlayOneShot  ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 12.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 14.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 16.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 18.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 20.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 22.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 24.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 26.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 28.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 30.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 32.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 34.0 PlayOneShot   ( 1 File ( "242_odb1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.45)
				Triggers ( 8
					Variable_Trigger ( Variable2_Inc_Past 0.10 PlayOneShot ( 1	File ( "kontroler.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 PlayOneShot ( 1	File ( "kontroler.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "smer.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "prepinac.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "prepinac.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.30)
				Triggers ( 3
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Apply 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 2 File ( "brzda_cvakani1.wav" -1 ) File ( "brzda_cvakani2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )

				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release {normal & emergency}	**** )
					Discrete_Trigger ( 53 	PlayOneShot ( 2 File ( "brzda_cvakani3.wav" -1 ) File ( "brzda_cvakani4.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "brzda_cvakani3.wav" -1 ) File ( "brzda_cvakani4.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Priority ( 6 )
				Volume (0.20)
				Triggers ( 6
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Apply 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "brzda_vlakova.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "brzda_odbrzd.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54  	PlayOneShot ( 1 File ( "brzda_odbrzd.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Skip ( **** NOTE: Need to check if correct waves used for apply/release  	**** )
					Skip ( ****       Assumes 3 = Release, 1 & 2 = Apply  	                  **** )

					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "brzda_pridavna.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "brzda_pridavna.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

      			  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 1 File ( "brzda_pridavna.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)	
      		Stream (
				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 ( "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
					       25.0			0.6
					     	 60.0			0.8
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(0.95)
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "houkacka.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.00)			
				Triggers ( 4
					Discrete_Trigger ( 10	SetStreamVolume ( 0.80 ) )
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "pistala.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	SetStreamVolume ( 0.00 ) 	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)
			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.4)
				Triggers ( 30

			  Skip ( Spusteni odbrzdenim nebo odbrzdenim a naslednym zastavenim )

					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "130_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54  	PlayOneShot ( 1 File ( "130_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 PlayOneShot ( 1 File ( "130_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 ( 6 )
				Volume(0.5)			
				Triggers ( 2
                              Variable_Trigger ( Variable2_Inc_Past 0.01 StartLoopRelease ( 1	File ( "242_ventilator.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump  ( 1	File ( "242_ventilator.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 6
						0.000		11025
						25.0		11025
						32.0		11925
						55.0		11925
						62.0		12625
						100.0		12625
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		1.0
						 45.0			1.0
						 100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume (0.25)
				Triggers ( 4
					Initial_Trigger  ( StartLoopRelease   ( 1 File ( "130_ventilator.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45   PlayOneShot ( 1 	File ( "sberac_n_strt.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 45   StartLoopRelease   ( 1   File ( "130_ventilator.wav" -1 )  SelectionMethod (SequentialSelection) ) )
      				Discrete_Trigger ( 46   ReleaseLoopReleaseWithJump  ( 1   File ( "130_ventilator" -1 )   SelectionMethod ( SequentialSelection) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 6
						0.000		11025
						25.0		11025
						32.0		11925
						55.0		11925
						62.0		12825
						100.0		12825
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.4)
				Triggers ( 5
					Initial_Trigger  ( StartLoop   ( 1 File ( "350_trafo2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45   PlayOneShot ( 1 	File ( "sberac_n_str.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
      				Discrete_Trigger ( 45   PlayOneShot   ( 1   File ( "350_trafo1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45   StartLoop   ( 1   File ( "350_trafo2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
 					Discrete_Trigger ( 46   ReleaseLoopRelease   ( 1 File ( "350_trafo2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.45)
				Triggers ( 1
					Discrete_Trigger ( 46   PlayOneShot ( 1 	File ( "sberac_d_str.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 ( "brzdy2_final.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "brzdy2_final.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 )
				Volume(0.65)			
				Triggers ( 8
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "x_brzdeni2_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "brzdeni2_z.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 DisableTrigger( 2 ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "brzdeni2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )


					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "brzdeni2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "brzdeni2_k.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger (  54 EnableTrigger( 2 ) )

					Discrete_Trigger (  54 StartLoop ( 1 File ( "x_brzdeni2_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-40.000	14000
						0.000		 8000
						40.000	14000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
					     	 -40.0		1.0
                                     -8.5 		0.9
                                      0.0 		0.0
					        8.5			0.9
					       40.0		      1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume (0.7)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.05 PlayOneShot   ( 1 File ( "vrzani_kol.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.8 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "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.1  
                                     0.000		0.0
					       2.0			0.1
					       30.0	      	1.0  
					       40.0	      	1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.3 )
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream(
				Skip ( **** Zivak	**** )
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "zivak.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopReleaseWithJump() ) 
				)				
			)
		)
	)
)
