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

Tr_SMS (

	Skip ( **  DEJV, JACEK: Zvuky pro elektrické jednotky řady 451, 452 - postrk, verze 1.0  ** )

	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()

			Distance  (500)
		)
		Deactivation (
      		CabCam ()
			PassengerCam ()
			Distance  (500)
		)
		Volume (1.0)
		Streams ( 5
			Stream (
				Skip( **** Serie + paralel rizene rychlosti do 45km/h **** )
				Priority ( 6 )
				Volume (0.4)
				Triggers ( 15
					Variable_Trigger ( Speed_Inc_Past  0.01 PlayOneShot   ( 1 File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  1.60 PlayOneShot   ( 2 File ( "451_kontroler_rozjezd_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  3.40 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.00 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.60 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5.15 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5.70 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  6.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Inc_Past  7.14 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  8.00 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  8.86 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  9.70 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 10.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 11.43 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 12.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )

				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 4
					      0.00		22050
					      0.50		22050
					      0.88		22050
					      1.00		22050
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.40 ) )
      				Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 2.400 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 2.800 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 3.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 4.000 SetStreamVolume ( 0.60 ) )

					Variable_Trigger ( Speed_Dec_Past 4.000 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 3.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.800 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.400 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Speed_Inc_Past 0.30 StartLoop   ( 1 File ( "x_trakcni_motory1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.30 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-150.000	83000
						0.000		2000
						150.000	83000
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.7 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 15.0	StartLoop ( 1	File ( "x_jizda5.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 15.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-60.000	17025
						-25.000	10525
						0.000		 4525
						25.000	10525
						60.000	17025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -80.0      	1.0  
					       -25.0		1.0
					       -14.0	      0.0  
                                     0.000		0.0
					       14.0			0.0
					       25.0	      	1.0  
					       80.0	      	1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.05 )
				Triggers ( 3
					Variable_Trigger ( Speed_Inc_Past  1.00	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past  2.80	StartLoop ( 1	File ( "x_brzdeni_final.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.01	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-40.000	10000
						-0.900	11000
						0.000		11300
						0.900	      11000
						40.000	10000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
					       -100.0		0.0
					     	 -3.0 		0.0
                                     -1.5 		1.0
					       -0.4	      	0.7
					       -0.05       	0.0
                                      0.0       	0.0
					        0.05      	0.0
					        0.4	      	0.7
					        1.5			1.0
					     	  3.0			0.0
					       100.0		0.0  
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.65 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "B_jizda_ex.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.1	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-55.000	14000
						-15.000	11500
						0.000		11000
						15.000	11500
						55.000	14000
					)
					Granularity ( 100 )
				)
				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 )
				)				
			)
		)
	)
	ScalabiltyGroup( 0
		Activation (
			ExternalCam ()
			PassengerCam	()
		      CabCam	()
			Distance    	(100)
		)
		Volume (1.0)
		Streams ( 5
			Stream (
				Skip( **** Serie + paralel rizene rychlosti do 45km/h **** )
				Priority ( 6 )
				Volume (0.4)
				Triggers ( 15
					Variable_Trigger ( Speed_Inc_Past  0.01 PlayOneShot   ( 1 File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  1.60 PlayOneShot   ( 2 File ( "451_kontroler_rozjezd_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  3.40 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.00 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  4.60 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5.15 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  5.70 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  6.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Inc_Past  7.14 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  8.00 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  8.86 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  9.70 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 10.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 11.43 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 12.30 PlayOneShot   ( 2 File ( "451_kontroler1_ex.wav" -1 )   File ( "451_kontroler2_ex.wav" -1 )   SelectionMethod ( RandomSelection ) ) )

				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 4
					      0.00		22050
					      0.50		22050
					      0.88		22050
					      1.00		22050
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.40 ) )
      				Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 2.400 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 2.800 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 3.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 4.000 SetStreamVolume ( 0.60 ) )

					Variable_Trigger ( Speed_Dec_Past 4.000 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 3.600 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 3.200 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.800 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.400 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Speed_Inc_Past 0.30 StartLoop   ( 1 File ( "x_trakcni_motory1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.30 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-150.000	83000
						0.000		2000
						150.000	83000
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.7 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 15.0	StartLoop ( 1	File ( "x_jizda5.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 15.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-60.000	17025
						-25.000	10525
						0.000		 4525
						25.000	10525
						60.000	17025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -80.0      	1.0  
					       -25.0		1.0
					       -14.0	      0.0  
                                     0.000		0.0
					       14.0			0.0
					       25.0	      	1.0  
					       80.0	      	1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.05 )
				Triggers ( 3
					Variable_Trigger ( Speed_Inc_Past  1.00	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past  2.80	StartLoop ( 1	File ( "x_brzdeni_final.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.01	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-40.000	10000
						-0.900	11000
						0.000		11300
						0.900	      11000
						40.000	10000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
					       -100.0		0.0
					     	 -3.0 		0.0
                                     -1.5 		1.0
					       -0.4	      	0.7
					       -0.05       	0.0
                                      0.0       	0.0
					        0.05      	0.0
					        0.4	      	0.7
					        1.5			1.0
					     	  3.0			0.0
					       100.0		0.0  
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume ( 0.65 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "B_jizda_ex.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.1	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-55.000	14000
						-15.000	11500
						0.000		11000
						15.000	11500
						55.000	14000
					)
					Granularity ( 100 )
				)
				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 )
				)				
			)
		)
	)
)



