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

Tr_SMS (

	Skip ( **  DEJV, JACEK: Zvuky pro elektrické lokomotivy řady 180 - 183, verze 2.0 ** ) 
	Skip ( *** upraveno pro OR 181008 2020-03-22-b57  *** ) 
	
	ScalabiltyGroup ( 5 
		Activation ( ExternalCam ( ) PassengerCam ( ) Distance ( 450 ) ) 
		Deactivation ( CabCam ( ) Distance ( 450 ) ) 
		Volume ( 1.0 ) Streams ( 16 
 
	Skip ( *** pantografy *** ) 
	Stream ( Priority ( 6 ) Volume ( 0.8 ) Triggers ( 4 
			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 ( 66 PlayOneShot ( 1 File ( "x_zberac_h.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
			Discrete_Trigger ( 67 PlayOneShot ( 1 File ( "x_zberac_d.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )  
			) ) 
 
	Skip ( **** Kompresor **** ) 
	Stream ( Priority ( 6 ) Volume ( 0.4 ) Triggers ( 2	
		Discrete_Trigger ( 12 StartLoopRelease ( 1 File ( "x_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
		Discrete_Trigger ( 13 ReleaseLoopReleaseWithJump ( ) ) 
		) ) 

    Skip ( **** Ventilatory **** ) 		
	Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 2 
		Variable_Trigger ( Variable2_Inc_Past 1.0 StartLoopRelease ( 1 File ( "x_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
		Variable_Trigger ( Variable2_Dec_Past 0.01 ReleaseLoopReleaseWithJump ( 1 File ( "x_ventilator.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
		) )
 
			Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 48 
					Variable_Trigger ( Variable1_Inc_Past 3.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 4.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 6.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 8.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 10.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 12.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 13.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 14.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 15.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 16.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 17.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 18.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 19.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 20.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 21.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 22.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 23.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 24.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 25.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 26.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 27.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 28.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 28.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 28.8 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 29.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 30.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 31.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 32.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 34.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 36.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 38.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 40.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 43.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 46.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 49.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 51.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 51.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 53.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 55.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 57.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 59.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 62.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 66.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 70.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 74.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 84.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 94.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Inc_Past 99.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				)				
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				) ) 
 
			Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 48 
					Variable_Trigger ( Variable1_Dec_Past 3.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 4.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 6.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 8.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 10.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 12.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 13.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 14.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 15.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 16.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 17.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 18.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 19.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 20.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 21.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 22.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 23.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 24.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 25.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 26.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 27.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 28.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 28.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 28.8 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 29.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 30.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 31.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 32.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 34.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 36.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 38.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 40.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 43.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 46.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 49.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 51.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 51.6 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 53.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 55.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 57.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 59.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 62.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 66.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 70.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 74.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 84.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 94.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
					Variable_Trigger ( Variable1_Dec_Past 99.4 PlayOneShot ( 1 File ( "x_stykace2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				)				
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0.0		 22050
						   1.0		 22050
					)
					Granularity ( 100 )
				) ) 
 
		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 ( "x_trakcne_motory.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.0  0.0 
					 25.0  0.5 
					 60.0  0.8 
					100.0  1.0 
					)
					Granularity ( 0.05 ) 
							) 
				) 
 
		Stream ( Priority ( 6 ) Triggers ( 5 
				Initial_Trigger  ( StartLoop   							( 1 File ( "x_klapot.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Variable_Trigger ( Variable2_Inc_Past  0.025 ReleaseLoopRelease ( ) )
				Variable_Trigger ( Variable2_Inc_Past  0.010 StartLoop  ( 1 File ( "x_klapot.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Variable_Trigger ( Variable2_Dec_Past  0.010 ReleaseLoopRelease ( ) ) 
				Variable_Trigger ( Variable2_Dec_Past  0.025 StartLoop  ( 1 File ( "x_klapot.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				) 
				FrequencyCurve ( SpeedControlled CurvePoints ( 3 
					-80	50000 
					0.0	3000 
					80  50000 
					) 
					Granularity ( 100 )	
								) 
				VolumeCurve ( SpeedControlled CurvePoints ( 5 
					 -25.0		0.0
					 -15.0		1.0
					 0.000		0.0
					 15			1.0
					 25			0.0
					) 
					Granularity ( 0.05 ) 
							) 
				) 
 
		Skip ( **** Tifon High **** ) 
		Stream ( Priority ( 6 ) Triggers ( 2 
				Discrete_Trigger ( 8  playoneshot ( 1 File ( "x_hukacka_silna.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 10 playoneshot ( 1 File ( "x_hukacka_slaba.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				) ) 
 
		Stream ( Priority ( 6 ) Volume ( 0.8 ) Triggers ( 3 
			Skip ( **** Tbrake 	**** )
			Skip ( **** Apply 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_brzda_vlakova_polohy.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Skip ( **** Tbrake 	**** )
			Skip ( **** Release {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "x_vzduch.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54  	PlayOneShot ( 1 File ( "x_vzduch.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				) )	
 
		Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 4 
				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "x_ticho.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_ticho.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve ( SpeedControlled CurvePoints ( 11 
				-100.0	0.0 
				-6.0	0.0 
                -3.0 	0.2 
				-0.3	0.8 
				-0.1    0.0 
                0.0     0.0 
				0.1	    0.0 
				0.3	    0.8 
				3.0		0.2 
				6.0		0.0 
				100.0	0.0  
				) 
				Granularity ( 0.05 )
				) ) 
 
		Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 8 
				Discrete_Trigger ( 14 ReleaseLoopRelease ( 1 File ( "x_ticho.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Discrete_Trigger ( 14 PlayOneShot        ( 1 File ( "x_brzdenie_zaciatok.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Discrete_Trigger ( 14 DisableTrigger     ( 2 ) ) 
				Discrete_Trigger ( 14 StartLoop          ( 1 File ( "x_brzdenie.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Discrete_Trigger ( 54 ReleaseLoopRelease ( 1 File ( "x_brzdenie.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				Discrete_Trigger ( 54 PlayOneShot        ( 1 File ( "x_brzdenie_koniec.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 54 EnableTrigger      ( 2 ) ) 
				Discrete_Trigger ( 54 StartLoop          ( 1 File ( "x_ticho.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.8 ) Triggers ( 1 
				Variable_Trigger ( Speed_Inc_Past 0.05 PlayOneShot ( 1 File ( "x_vrzanie.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
				) ) 
 
		Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 1 
				Variable_Trigger ( Speed_dec_Past 0.5 PlayOneShot   ( 1 File ( "x_stop.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				) ) 
 
		Stream ( Priority ( 5 ) Triggers ( 6 
			Discrete_Trigger ( 58 PlayOneShot ( 1 File ( "x_narazniky.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			Discrete_Trigger ( 59 PlayOneShot ( 1 File ( "x_narazniky.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			Discrete_Trigger ( 60 PlayOneShot ( 1 File ( "x_narazniky.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			Discrete_Trigger ( 61 PlayOneShot ( 1 File ( "x_rozpajanie.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			Discrete_Trigger ( 62 PlayOneShot ( 1 File ( "x_rozpajanie.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			Discrete_Trigger ( 63 PlayOneShot ( 1 File ( "x_rozpajanie.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
			) ) 
 
		Stream ( Priority ( 6 ) Volume ( 1.0 ) Triggers ( 4 
			Variable_Trigger ( Speed_Inc_Past 0.1 StartLoop ( 1	File ( "x_jazda.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.0  0.0  
			  2.0  0.1  
			 30.0  1.0  
			 40.0  1.0  
			) 
			Granularity ( 0.05 ) 
			) ) 
 
		Stream ( Priority ( 6 ) Volume ( 0.4 ) Triggers ( 2 
			Discrete_Trigger ( 4 StartLoopRelease ( 1 File ( "x_piesok.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) 
			Discrete_Trigger ( 5 ReleaseLoopRelease ( ) ) 
			) ) 
		) 
	) 
 
 
 
	ScalabiltyGroup( 0
		Activation (
			ExternalCam ()
			PassengerCam	()
		      CabCam	()
			Distance    	(100)
		)
		Volume(1.0)
		Streams ( 6
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 2.250 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 4.500 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Inc_Past 6.750 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 11.25 SetStreamVolume ( 0.40 ) )
      				Variable_Trigger ( Speed_Inc_Past 13.50 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 15.75 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 18.00 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 20.25 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 22.50 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 24.75 SetStreamVolume ( 0.60 ) )

					Variable_Trigger ( Speed_Dec_Past 2.250 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 4.500 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 6.750 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 11.25 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 13.50 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 15.75 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 18.00 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 20.25 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 22.50 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Dec_Past 24.75 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Speed_Inc_Past 0.30 StartLoop   ( 1 File ( "x_trakcne_motory.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.30 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-140.000	83000
						0.000		2825
						140.000	83000
					)
					Granularity ( 100 )
				)
			)
			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.6)
				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 ( 6 )
				Volume (1.0)			
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.05 PlayOneShot ( 1 File ( "x_hukacka_silna.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Skip ( **** narazniky **** )
				Triggers ( 3
					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 ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(1.0)	
				Triggers ( 1
					Variable_Trigger ( Distance_Dec_Past 100 PlayOneShot ( 1 File ( "x_hukacka_slaba.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        )
        VolumeCurve (
          DistanceControlled
				CurvePoints ( 2
					0.0 1.0
					100.0 1.0
				)
				Granularity ( 0.05)
				)
				FrequencyCurve (
					DistanceControlled
					CurvePoints ( 2
					0.0 11025
					700.0 11025
				)
				Granularity ( 1000 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume (1.0)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.05 PlayOneShot   ( 1 File ( "x_vrzanie.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "x_jazda.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 )
				)				
			)
		)
	)
)


