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


Tr_SMS (

	Skip ( ** JACEK: Zvuky pro vozy řady Bpjo, vnitřní díly** )
	Skip (** verze Open Rails, aktualizace: 3. 2. 2018 **)
	Skip (** Igor Hnizdo: Uprava unor 2018 - novy zpusob ozvuceni syceni vzduchu pri zmene tlaku v potrubi **)

	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			PassengerCam	()
			Distance    ( 500 )
		)
		Deactivation (
			CabCam			()
			Distance    	( 500 )
		)
		Volume ( 1.0 )
		Streams ( 7
			Stream (
				Priority ( 6 )
				Volume ( 0.6 )			
				Triggers ( 2
					Discrete_Trigger ( 105	PlayOneShot ( 1	File ( "Bpjo_x_dvere_O.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 106	PlayOneShot ( 1	File ( "Bpjo_x_dvere_Z.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						   0.0		 22050
						  50.0		 22050
					)
					Granularity ( 100 )
				)
			)

			Stream (
				Priority ( 5 )
             		Volume ( 0.8 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past  0.1 	StartLoop ( 1 File ( "x_Bpjo_bc_jizda.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger	( Speed_Dec_Past 0.1	ReleaseLoopRelease () )
					)
				FrequencyCurve (
					SpeedControlled
					CurvePoints ( 3
						-40.0		20000
						  0.0		 8000
						 40.0		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -55.0       	1.0  
					       -7.0 		0.7
					       -2.0	      	0.4  
                                     0.000		0.0
					       2.0			0.4
					       7.0	      	0.7  
					       55.0	      	1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
                      Volume( 0.3 )
				Triggers ( 2
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "vozy_x_brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "vozy_x_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                )
				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 (
				Priority ( 6 )
				Volume ( 0.4 )
				Triggers ( 4

Variable_Trigger ( BrakeCyl_Inc_Past 2 PlayOneShot ( 1 File ( "x_brzdeni4_z.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "x_brzdeni4.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "x_brzdeni4_k.wav" -1 ) SelectionMethod ( SequentialSelection )))

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-55.000	25000
						  0.000	18000
						 55.000	25000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					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_brzdy_final_z.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "x_brzdy_final.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "x_brzdy_final_k.wav" -1 ) SelectionMethod ( SequentialSelection )))

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-2.00		22350
						-1.00		22150
						0.000		22050
						1.000	        22150
						2.000		22350
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					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.5 )			
				Triggers ( 1
					Variable_Trigger ( Speed_Dec_Past 0.8 PlayOneShot ( 1	File ( "x_spalky2_dobrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-2.00		11000
						-1.00		10500
						0.000		10000
						1.000	      10500
						2.000		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						-2.5		0.2
						-2.0		0.5
						-1.5		0.7
						-1.0		1.0
						-0.1		1.0
						 0.0		0.0
						 0.1		1.0
						 1.0		1.0
						 1.5		0.7
						 2.0		0.5
						 2.5		0.2

					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
)
