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


Tr_SMS (

	Skip (** JACEK: Zvuky pro 2-napravove lehke vozy, napr. Baafx **)
	Skip (** verze Open Rails, aktualizace: 3. 2. 2018 **)
	Skip (** Igor Hnizdo: Uprava unor 2018 - novy zpusob ozvuceni syceni vzduchu pri zmene tlaku v potrubi **)
	Skip (** Igor Hnizdo: Uprava leden 2021 - prepracovano s novymi triggery dle otacek kol a pro smyk kol **)

	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			PassengerCam	()
			Distance    ( 500 )
		)
		Deactivation (
			CabCam			()
			Distance    	( 500 )
		)
		Volume ( 1.0 )
		Streams ( 12

			Stream (
			        Skip (** dvere **)
				Priority ( 6 )
				Volume ( 0.6 )			
				Triggers ( 2
					Discrete_Trigger ( 105	PlayOneShot ( 1	File ( "810.292-3_x_dvere_O.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 106	PlayOneShot ( 1	File ( "810.292-3_x_dvere_Z.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
			)
			Stream (
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "x_810_jizda_pomala.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past 15.0	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past 15.0	StartLoop ( 1	File ( "x_810_jizda_pomala.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.1	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-14.000	14000
						-7.000	11000
						0.000		 8000
						7.000	      11000
						14.000	14000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -9.0       	0.1  
					       -7.0 		1.0
					       -4.0 		1.0
					       -1.5	      	0.0  
                                     0.000		0.0
					       1.5			0.0
					       4.0  		1.0
					       7.0	      	1.0  
					       9.0	      	0.1  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  2.0	StartLoop ( 1	File ( "x_810_jizda_stredni.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past 20.0	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past 20.0	StartLoop ( 1	File ( "x_810_jizda_stredni.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  2.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-18.000	13000
						-9.500	11000
						0.000		 9000
						9.500  	11000
						18.000	13000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -14.0      	0.1  
					       -12.0		1.0
					       -9.0	      	1.0  
					       -7.0	      	0.1  
                                     0.000		0.0
					       7.0	      	0.1  
					       9.0			1.0
					       12.0	      	1.0  
					       14.0	      	0.1  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 1.0 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 10.0	StartLoop ( 1	File ( "x_810_jizda_rychla.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 10.0	StartLoop ( 1	File ( "x_810_jizda_rychla.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-30.000	16000
						-12.000	11000
						0.000		 9000
						12.000	11000
						30.000	16000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -40.0      	1.0  
					       -25.0      	1.0  
					       -14.0		1.0
					       -12.0	      0.1  
                                     0.000		0.0
					       12.0			0.1
					       14.0	      	1.0  
					       25.0	      	1.0
					       40.0      	      1.0  
					)
					Granularity ( 0.05 )
				)
                  )
                  
                     Stream (
			       Skip (** zvuk prokluzu/smyku **)
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
					Variable_Trigger ( SlipSpeed_Inc_Past 0.010 StartLoopRelease   ( 1 File ( "810_x_prokluz_IH.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( SlipSpeed_Dec_Past 0.005 ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SlipSpeedControlled
					CurvePoints ( 6
					      0.00		40000
					      0.200		45000
					      0.45		48000
					      0.60		52000
					      0.80		58000
					      1.00		60000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SlipSpeedControlled
					CurvePoints ( 4
						 0.000		0.00
						 0.100		0.80
						 0.400		0.88
						 1.000		1.00
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.5 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 0.1	StartLoop ( 1	File ( "x_810_jizda.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 0.1	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-30.000	14000
						-15.000	12000
						0.000		10000
						15.000	12000
						30.000	14000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -35.0      	0.1  
					       -20.0		0.4
					       -10.0	        0.9
					       -1.0	        1.0
                                                0.000		0.0
					        1.0	        1.0
					        10.0		0.9
					        20.0	      	0.4
					        35.0	      	0.1
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
                      Volume( 0.85 )
				Triggers ( 4
					Discrete_Trigger (  14 StartLoopRelease ( 1 File ( "../../common.snd/brzdice-vzduch/x_brzda_prubezna_zabrzdeni1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  139 ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  54 StartLoopRelease ( 1 File ( "../../common.snd/brzdice-vzduch/x_brzda_prubezna_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  139 ReleaseLoopReleaseWithJump ())
                                )
			)
			Stream (
				Priority ( 6 )
                      Volume( 0.62 )
				Triggers ( 2
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "810_x_BS2_zabrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "810_x_BS2_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                )
			)
			Stream (
				Priority ( 6 )
				Volume ( 0.4 )
				Triggers ( 4

Variable_Trigger ( BrakeCyl_Inc_Past 2 PlayOneShot ( 1 File ( "810_x_spalky_n.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "810_x_spalky.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "810_x_spalky_d.wav" -1 ) SelectionMethod ( SequentialSelection )))

				)
				FrequencyCurve(
					WheelSpeedControlled
					CurvePoints ( 3
						-55.000	25000
						  0.000	18000
						 55.000	25000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					WheelSpeedControlled
					CurvePoints ( 7
					      -100.0		1.0
					     	 -9.00		1.0
					     	 -1.50		0.8
                                   0.0			0.0
					     	  1.50		0.8
					     	  9.00    		1.0
					      100.0		1.0 
					)
					Granularity ( 0.05 )
				)				
			)
     			Stream (
				Priority ( 6 )
				Volume ( 0.2 )
				Triggers ( 4

Variable_Trigger ( BrakeCyl_Inc_Past 2 PlayOneShot ( 1 File ( "x_spalky_dobrzdeni_z.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "x_spalky_dobrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "x_spalky_dobrzdeni_k.wav" -1 ) SelectionMethod ( SequentialSelection )))

				)
				FrequencyCurve(
					WheelSpeedControlled
					CurvePoints ( 5
						-2.00		22350
						-1.00		22150
						0.000		22050
						1.000	        22150
						2.000		22350
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					WheelSpeedControlled
					CurvePoints ( 11
					       -100.0		0.0
					       -5.5 		0.0
                                  -1.5 		1.0
					       -0.6		1.0
					       -0.1       	0.0
                                   0.0       	0.0
					        0.1	   	0.0
					        0.6	     	1.0
					        1.5		1.0
      				        5.5		0.0
					       100.0		0.0  
					)
					Granularity ( 0.01 )
				)				
			)
    			Stream (
				Priority ( 6 )
				Volume( 0.9 )			
				Triggers ( 1
					Variable_Trigger ( WheelSpeed_Dec_Past 0.9 PlayOneShot ( 1	File ( "810_x_vrz_zdrzi.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				)
				VolumeCurve(
					WheelSpeedControlled
					CurvePoints ( 9
						-2.0		0.5
						-1.5		1.0
						-1.0		1.0
						-0.1		1.0
						 0.0		0.0
						 0.1		1.0
						 1.0		1.0
						 1.5		1.0
						 2.0		0.5
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
    			       Skip (** svesovani/rozvesovani **)
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "vozy_x_spojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "vozy_x_spojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "vozy_x_spojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "vozy_x_rozpojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "vozy_x_rozpojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "vozy_x_rozpojovani.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				)
			)
		)
	)
)