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

Tr_SMS (
	Skip ( ** DB BR 146.1 - cab-Sounds - Hibu 2009/01 - Hyglo 2012/08 ** )
	Skip ( ** Funktionen : Türenschliessen/Zugbeeinflussung mit B ** )
        ScalabiltyGroup ( 5
        Activation 	(     	CabCam       	 	()						)
	Deactivation 	(  	ExternalCam 		()		PassengerCam		()	)
	Stereo ( )
	Volume ( 0.6 )
	Streams ( 19
		Stream (
			Skip ( ************************************************************** Aggregate ********************************************************************** )
			Priority ( 6 )
            			Volume ( 0.45 )
			Triggers ( 3
			Discrete_Trigger ( 23 PlayOneShot ( 1 File ( "c_Hauptschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 23 StartLoopRelease ( 1 File ( "c_146_Betrieb.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 24 ReleaseLoopReleaseWithJump()        )
			)
		)

		Stream (
			Skip ( ************************************************************ Zwischenkreis ******************************************************************** )
			Priority ( 5 )
			Triggers ( 4
			Variable_Trigger ( Variable2_Inc_Past 1.0  StartLoopRelease ( 1 File ( "c_Rattern.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable2_Dec_Past 1.0  ReleaseLoopRelease ( ) )
			Variable_Trigger ( Variable3_Inc_Past 0.05 StartLoopRelease ( 1 File ( "c_Rattern.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable3_Dec_Past 0.05 ReleaseLoopRelease ( ) )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 3
                           		0.0    	0.90
                           		4.5    	0.60
                           	       18.0    	0.00
	           			)
	 			Granularity ( 0.05 )
			)
		)

		Stream (
			Skip ( ************************************************************ Umrichter An/Aus ****************************************************************** )
			Priority ( 5 )
			Triggers ( 4
			Variable_Trigger ( Variable2_Inc_Past 1.0  PlayOneShot ( 1 File ( "c_Umrichter_Einsatz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable2_Dec_Past 1.0  PlayOneShot ( 1 File ( "c_Umrichter_Aussetz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable3_Inc_Past 0.05 PlayOneShot ( 1 File ( "c_Umrichter_Einsatz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable3_Dec_Past 0.05 PlayOneShot ( 1 File ( "c_Umrichter_Aussetz.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
	             		       -16.0	 7170
	               		        -6.0 	11025
	               		         0.0  	11025
	               		         6.0  	11025
	              		        16.0	 7170
	              		)
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 5
                           		0.00    0.00
                           		4.99    0.00
                           		5.00    0.40
	          		       15.00    0.30
	           		       16.00    0.00
	           			)
	 			Granularity ( 0.05 )
			)
		)

		Stream (
			Skip ( ************************************************************ Umrichter geringe Geschw.************************************************************** )
			Priority ( 6 )
			Triggers ( 12
			Variable_Trigger ( Variable2_Inc_Past 1.0  SetStreamVolume ( 1.0 ) )
			Variable_Trigger ( Variable2_Dec_Past 1.0  SetStreamVolume ( 0.0 ) )
			Variable_Trigger ( Variable3_Inc_Past 0.05 SetStreamVolume ( 1.0 ) )
			Variable_Trigger ( Variable3_Dec_Past 0.05 SetStreamVolume ( 0.0 ) )
			Variable_Trigger ( Speed_Inc_Past  0.01 StartLoop ( 1 File ( "c_Umrichter_Anfahr2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Inc_Past  4.99 ReleaseLoopRelease ( )	)
			Variable_Trigger ( Speed_Inc_Past  5.00 StartLoopRelease ( 1 File ( "c_Umrichter_Speed2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Inc_Past  20.0 ReleaseLoopRelease ( )	)
			Variable_Trigger ( Speed_Dec_Past  20.0 StartLoopRelease ( 1 File ( "c_Umrichter_Speed2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past  5.00 ReleaseLoopRelease ( )	)
			Variable_Trigger ( Speed_Dec_Past  4.99 StartLoop ( 1 File ( "c_Umrichter_Anfahr2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past  0.01 ReleaseLoopRelease ()	)
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
	             		-16.0	 7170
	               		 -6.0  	11025
	               		  0.0  	11025
	               		  6.0  	11025
	              		 16.0	 7170
	              		)
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 6
                           		 0.0    0.00
                           		 0.1    0.05
                           		 1.0    0.30
	           			 5.0    0.30
	          			15.0    0.20
	           			16.0    0.00
	           			)
	 			Granularity ( 0.05 )
			)
		)

		Stream (
			Skip ( ************************************************************ Umrichter tiefe Frequ.************************************************************** )
			Priority ( 6 )
			Triggers ( 8
			Variable_Trigger ( Variable2_Inc_Past 1.0  SetStreamVolume ( 1.0 ) )
			Variable_Trigger ( Variable2_Dec_Past 1.0  SetStreamVolume ( 0.0 ) )
			Variable_Trigger ( Variable3_Inc_Past 0.05 SetStreamVolume ( 1.0 ) )
			Variable_Trigger ( Variable3_Dec_Past 0.05 SetStreamVolume ( 0.0 ) )
			Variable_Trigger ( Speed_Inc_Past  5.00 StartLoopRelease ( 1 File ( "c_Umrichter_Speed.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Inc_Past  20.0 ReleaseLoopRelease ( )	)
			Variable_Trigger ( Speed_Dec_Past  20.0 StartLoopRelease ( 1 File ( "c_Umrichter_Speed.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past  5.00 ReleaseLoopRelease ( )	)
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
	             		-16.0	 7170
	               		 -6.0  	11025
	               		  0.0  	11025
	               		  6.0  	11025
	              		 16.0	 7170
	              		)
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 4
                           		 0.0    0.00
	           			 5.0    0.00
	          			15.0    0.50
	           			16.0    0.00
	           			)
	 			Granularity ( 0.05 )
			)
		)

		Stream (
			Skip ( **************************************************************** Unterton 186Hz ****************************************************************** )
			Priority ( 4 )
			        Volume ( 0.0 )
			Triggers ( 14
			Variable_Trigger ( Speed_Inc_Past 15 StartLoop ( 1 File ( "c_146_Fahrmotor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past 15 ReleaseLoopRelease ( ) )
			Variable_Trigger ( Variable2_Inc_Past  10.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Inc_Past  25.0 SetStreamVolume ( 0.6 ) )
			Variable_Trigger ( Variable2_Inc_Past  50.0 SetStreamVolume ( 0.8 ) )
			Variable_Trigger ( Variable2_Dec_Past  50.0 SetStreamVolume ( 0.6 ) )
			Variable_Trigger ( Variable2_Dec_Past  25.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Dec_Past  10.0 SetStreamVolume ( 0.0 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.10 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.25 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.50 SetStreamVolume ( 0.7 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.50 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.25 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.10 SetStreamVolume ( 0.0 ) )
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 3
	             			-50.0	42896
	              		          0.0       0
	             			 50.0	42896
	              		)
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 5
	            		 	 0   	0.00
	           		 	15	0.00
	           		 	16	0.60
	           		 	30	0.40
	           		 	50	0.20
                      			)
				Granularity ( 0.01 )
			)
		)

		Stream (
			Skip ( ************************************************************ Antrieb 186Hz ****************************************************************** )
			Priority ( 6 )
			        Volume ( 0.1 )
			Triggers ( 20
			Variable_Trigger ( Speed_Inc_Past  0.02 StartLoop ( 1 File ( "c_146_Fahrmotor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Inc_Past  25.0 ReleaseLoopRelease ( ) )
			Variable_Trigger ( Speed_Dec_Past  25.0 StartLoop ( 1 File ( "c_146_Fahrmotor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past  0.02 ReleaseLoopRelease ( ) )
			Variable_Trigger ( Variable2_Inc_Past   1.0 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable2_Inc_Past  10.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Inc_Past  25.0 SetStreamVolume ( 0.6 ) )
			Variable_Trigger ( Variable2_Inc_Past  40.0 SetStreamVolume ( 0.8 ) )
			Variable_Trigger ( Variable2_Dec_Past  40.0 SetStreamVolume ( 0.6 ) )
			Variable_Trigger ( Variable2_Dec_Past  25.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Dec_Past  10.0 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable2_Dec_Past   1.0 SetStreamVolume ( 0.2 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.05 SetStreamVolume ( 0.2 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.10 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.25 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.40 SetStreamVolume ( 0.7 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.40 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.25 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.10 SetStreamVolume ( 0.2 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.05 SetStreamVolume ( 0.1 ) )  
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 3
	             			-50.0	77409
	              		          0.0       0
	              		         50.0	77409
	             			 )
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 5
	            		  	 0.0  	0.0
	           	 	  	 3.0	0.4
	           		 	10.0	0.5
	           		 	15.0	0.4
	           			25.0	0.0
	           			)
				Granularity ( 0.01 )
			)
		)

		Stream (
			Skip ( ************************************************************ Antrieb 743Hz ****************************************************************** )
			Priority ( 6 )
			        Volume ( 0.2 )
			Triggers ( 18
			Variable_Trigger ( Speed_Inc_Past 10 StartLoop ( 1 File ( "c_146_Speed.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past 10 ReleaseLoopRelease ( ) )
			Variable_Trigger ( Variable2_Inc_Past   1.0 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable2_Inc_Past  10.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Inc_Past  25.0 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable2_Inc_Past  50.0 SetStreamVolume ( 0.7 ) )
			Variable_Trigger ( Variable2_Dec_Past  50.0 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable2_Dec_Past  25.0 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable2_Dec_Past  10.0 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable2_Dec_Past   1.0 SetStreamVolume ( 0.2 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.05 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.20 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.35 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Inc_Past  0.50 SetStreamVolume ( 0.7 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.50 SetStreamVolume ( 0.5 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.35 SetStreamVolume ( 0.4 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.20 SetStreamVolume ( 0.3 ) )
			Variable_Trigger ( Variable3_Dec_Past  0.05 SetStreamVolume ( 0.2 ) ) 
			)
			FrequencyCurve(
				SpeedControlled
				CurvePoints ( 3
	             			-50.0	19352
	              		          0.0       0
	             			 50.0	19352
	              		)
				Granularity ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 6
	            		 	 0   	0.00
	           		 	10	0.00
	           		 	15	0.40
	           		 	20	0.60
	           		 	35	0.40
	           		 	50	0.30
                      			)
				Granularity ( 0.01 )
			)
		)

		Stream (
			Skip ( ********************************************************************* Rollgeräusch ************************************************************* )
            			Priority ( 6 )
            			Triggers ( 2
			Variable_Trigger ( Speed_Inc_Past 0.01 StartLoop ( 1 File ( "c_146_Rollen.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Speed_Dec_Past 0.01 ReleaseLoopRelease ()  )
			)
			FrequencyCurve (
				SpeedControlled
				CurvePoints ( 5
	             			-50.0    15000
	             			-30.0    11025
	              		          0.0     5000
	              		         30.0    11025
	             			 50.0    15000
	              		)
				Granularity  ( 25 )
			)
			VolumeCurve (
				SpeedControlled
				CurvePoints ( 5
	            			0.0    	0.00
	            			1.5    	0.15
	            			5.0    	0.50
	            		       20.0    	0.80
	          		       50.0    	0.90
	           			)
				Granularity ( 0.05 )
			)
		)

                         	Stream (
			Skip ( *********************************************************** Drehgestell-Schoratzen ************************************************************* )
		            	Priority ( 4 )
			Triggers ( 1
			Dist_Travelled_Trigger ( Dist_Min_Max ( 20 60 ) Volume_Min_Max ( 0.2 0.5 ) PlayOneShot ( 5 File ( "c_Schoratz1.wav" -1 )
										File ( "c_Schoratz2.wav" -1 )
										File ( "c_Schoratz3.wav" -1 )
										File ( "c_Schoratz4.wav" -1 )
										File ( "c_Schoratz5.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
			)
			VolumeCurve(
				SpeedControlled
				CurvePoints ( 5
				        0.0	0.00
				        3.0	0.00
				        3.1	0.50
				       10.0	0.80
				       40.0	0.80
				)
				Granularity ( 0.01 )
			)
		)

		Stream (
			Priority ( 5 )
            			Volume ( 0.27 )
			Triggers ( 2
			Discrete_Trigger ( 4 StartLoopRelease ( 1 File ( "c_Sand.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 5 ReleaseLoopRelease () )
			)
		)

		Stream (
			Priority ( 5 )
            			Volume ( 0.70 )
			Triggers ( 7
			Initial_Trigger  ( DisableTrigger ( 7 ) )
			Variable_Trigger ( Speed_Inc_Past 0.05 DisableTrigger ( 6 ) )
			Variable_Trigger ( Speed_Inc_Past 0.05 EnableTrigger ( 7 ) )
			Variable_Trigger ( Speed_Dec_Past 0.05 DisableTrigger ( 7 ) )
			Variable_Trigger ( Speed_Dec_Past 0.05 EnableTrigger ( 6 ) )
            		Discrete_Trigger ( 10 PlayOneShot ( 1 File ( "c_Schliessvorgang.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 10 PlayOneShot ( 1 File ( "c_Zugbeeinfl.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			)
		)

		Stream (
			Priority ( 6 )
            			Volume ( 0.60 )
			Triggers ( 1
			Discrete_Trigger ( 8 PlayOneShot ( 1 File ( "c_146_Hupe.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			)
		)

		Stream (
			Priority ( 5 )
			Volume( 0.20 )
			Triggers ( 2
			Discrete_Trigger ( 12 StartLoopRelease ( 1 File ( "c_146_Kompressor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 13 ReleaseLoopRelease ( ) )
			)
		)

		Stream (
			Priority ( 6 )
            			Volume ( 0.55 )
			Triggers ( 2
			Discrete_Trigger ( 14 PlayOneShot ( 1 File ( "c_Bremse_anlegen.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 18 PlayOneShot ( 1 File ( "c_Lokbremse.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
            			)
		)

		Stream (
			Priority ( 6 )
            			Volume ( 0.55 )
			Triggers ( 3
			Discrete_Trigger ( 14 DisableTrigger ( 3 ) )
			Discrete_Trigger ( 54 EnableTrigger ( 3 ) )
			Discrete_Trigger ( 54 PlayOneShot ( 1 File ( "c_Bremse_loesen.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
            			)
		)

		Stream (
			Priority ( 6 )
            			Volume ( 0.7 )
			Triggers ( 12
			Variable_Trigger ( Variable1_Inc_Past 1.0 PlayOneShot ( 1 File ( "c_Fahrschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Dec_Past 1.0 PlayOneShot ( 1 File ( "c_FS-Anschlag.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger (  4  PlayOneShot ( 1 File ( "c_Schalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger (  5  PlayOneShot ( 1 File ( "c_Schalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 15  PlayOneShot ( 1 File ( "c_Richtung.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 15  PlayOneShot ( 1 File ( "c_Zugbeeinfl.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 20  PlayOneShot ( 1 File ( "c_Bremsraste.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 24  PlayOneShot ( 1 File ( "c_Hauptschalter_aus.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 37  PlayOneShot ( 1 File ( "c_Lichtschalter.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 47  PlayOneShot ( 1 File ( "c_Pschalter.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 48  StartLoopRelease ( 1 File ( "c_Sifa_Fussschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 48  ReleaseLoopRelease ()   )
			)
		)

		Stream (
			Priority ( 5 )
			Triggers ( 2
			Variable_Trigger ( Speed_Dec_Past 1.0 PlayOneShot ( 1 File ( "c_146_Tuerfreigabe.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Random_Trigger ( Delay_Min_Max ( 300 600 ) Volume_Min_Max ( 0.60 0.70 ) PlayOneShot ( 8 File ( "c_Funk1.wav" -1 )
			 					File ( "c_Funk2.wav" -1 )
			 					File ( "c_Funk3.wav" -1 )
			 					File ( "c_Funk4.wav" -1 )
			 					File ( "c_Funk5.wav" -1 )
			 					File ( "c_Funk6.wav" -1 )
			 					File ( "c_Funk7.wav" -1 )
								File ( "c_Stoerung.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
			)
		)

		Stream(
			Priority ( 6 )
			Triggers ( 4
			Discrete_Trigger ( 56 SetStreamVolume ( 0.8 ) )
			Discrete_Trigger ( 56 StartLoopRelease ( 1 File ( "c_Sifa.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Discrete_Trigger ( 57 SetStreamVolume ( 0.0 ) )
			Discrete_Trigger ( 57 ReleaseLoopRelease () )
			)
		)
          	)
      )
)