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

Tr_SMS (

	Skip ( **  E10Eng  Sound für ThoPil von Johann Riffel  ** )
	Skip ( Version ThoPil 2007 für BinPatch: Sound für weiteren Pantographen einschl. Lüfter )
	Skip ( Juli 2008 Sound für Hauptschalter ergänzt, gekoppelt an Strom ein/aus, Reihenfolge )
	Skip ( März 2010 PassengerCam aktiviert, nützlich für Inside )
	Skip ( Version für E 41 mit Pfeife, kurz auf B )
	Skip ( Version für GR-SOUND / AGro 9/'12 * )
	Skip ( Version 03.13 JR )

	ScalabiltyGroup( 5
		Activation 	(  ExternalCam 	()	PassengerCam	()	Distance ( 1000 )  )
		Deactivation 	(  CabCam	()			        Distance ( 1000 )  )

		Streams ( 12
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 14	DisableTrigger   ( 3 ) )
					Discrete_Trigger ( 14	DisableTrigger   ( 4 ) )
					Variable_Trigger ( Variable1_Inc_Past	1   StartLoopRelease   ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	ReleaseLoopReleaseWithJump () )
					Discrete_Trigger ( 23	StartLoopRelease  ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 24	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						 -50		20000
						   0		11025
						  50		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 -20		1.0
						   0		0.6
						  20		1.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger (  Variable1_Inc_Past	1   StartLoopRelease   ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	1   ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0		11100
						 100 	        20100
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0		0.5
						  20		0.8
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger (  Speed_Inc_Past  3	StartLoopRelease   ( 1 File ( "E10Luefter.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Speed_Dec_Past  3	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-50.0		15000
						  0.0		11025
						 50.0		15000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 8
					Initial_Trigger  (			DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Inc_Past  3   DisableTrigger ( 6 ) )
					Variable_Trigger (  Speed_Inc_Past  3   EnableTrigger  ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   EnableTrigger  ( 6 ) )
					Discrete_Trigger (   8	PlayOneShot 	 ( 1 File ( "E10Horn1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (   8	StartLoopRelease ( 1 File ( "E10Horn.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (   9	ReleaseLoopReleaseWithJump () )
				)
			)
                        Stream (
                                Priority ( 6 )
                                Triggers ( 1
                                        Discrete_Trigger ( 10   PlayOneShot ( 1 File ( "E10Horn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                )
                        )
			Stream (
				Priority ( 6 )
				Triggers ( 8
					Discrete_Trigger ( 14	PlayOneShot ( 2	File ( "ZugBremse4.wav" -1 )
                                                                                File ( "ZugBremse2.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 23	PlayOneShot ( 1	File ( "Hauptschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 24	PlayOneShot ( 1	File ( "Hauptschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "StromEin.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "StromAus.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 2	File ( "ZugBremse3.wav" -1 )  
                                                                                File ( "ZugBremse1.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 66	PlayOneShot ( 1	File ( "StromEin.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 67	PlayOneShot ( 1	File ( "StromAus.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 2
					Discrete_Trigger (  4	StartLoopRelease ( 1 File ( "Sand.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopReleaseWithJump () )	
				)
			)	
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 	0.01  StartLoopRelease ( 1 File ( "E10StandAuto.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 	0.01  ReleaseLoopReleaseWithJump  () )
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		12000
						  1.0		22000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 8
					Initial_Trigger  (     DisableTrigger   ( 3 ) )
					Initial_Trigger  (     DisableTrigger   ( 8 ) )
					Discrete_Trigger ( 14  PlayOneShot ( 1 File ( "BremsQ.wav"-1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14  DisableTrigger   ( 3 ) )
					Variable_Trigger (     Speed_Inc_Past	0.1 	EnableTrigger   ( 3 ) )
					Variable_Trigger (     Speed_Inc_Past	0.1 	EnableTrigger   ( 8 ) )
					Variable_Trigger (     Speed_Dec_Past	0.1 	DisableTrigger  ( 8 ) )
					Discrete_Trigger ( 54  EnableTrigger  	( 3 ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-50.0		20000
						  0.0		11025
						 50.0		20000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 2					
					Discrete_Trigger ( 58 	PlayOneShot ( 1 File ( "x_couple_chain1.wav" -1 )   SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 61 	PlayOneShot ( 1 File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 56
					Variable_Trigger (  Variable1_Inc_Past	 1   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	 4   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	 8   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	12   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	15   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	19   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	22   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	26   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	30   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	33   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	37   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	40   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	44   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	47   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	51   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	55   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	58   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	62   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	65   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	69   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	72   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	76   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	80   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	83   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	87   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	90   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	94   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Inc_Past	97   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger (  Variable1_Dec_Past	97   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	94   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	90   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	87   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	83   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	80   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	76   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	72   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	69   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	65   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	62   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	58   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	55   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	51   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	47   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	44   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	40   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	37   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	33   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	30   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	26   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	22   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	19   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	15   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	12   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	 8   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	 4   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	 1   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 16
					Variable_Trigger (  Variable3_Inc_Past	0.02   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.14   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.27   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.39   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.52   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.64   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.77   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Inc_Past	0.89   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Variable_Trigger (  Variable3_Dec_Past	0.89   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.77   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.64   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.52   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.39   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.27   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.14   PlayOneShot ( 1 File ( "E41Schaltwerk1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable3_Dec_Past	0.02   PlayOneShot ( 1 File ( "E41Schaltwerk2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)

	ScalabiltyGroup( 3
		Activation 	(  ExternalCam 	()	PassengerCam	()	Distance ( 1000 )  )
		Deactivation 	(  CabCam	()			        Distance ( 1000 )  )
		Streams ( 5
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger  ( 23	StartLoopRelease  ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 24	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						 -50		20000
						   0		11025
						  50		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 -20		1.0
						   0		0.6
						  20		1.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger (  Variable1_Inc_Past	1   StartLoopRelease   ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Variable1_Dec_Past	1   ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0		11100
						 100 		20100
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable1Controlled
					CurvePoints ( 2
						   0		0.7
						  20		1.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger (  Speed_Inc_Past  3	StartLoopRelease   ( 1 File ( "E10Luefter.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Speed_Dec_Past  3	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-50.0		15000
						  0.0		11025
						 50.0		15000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 8
					Initial_Trigger  (			DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Inc_Past  3   DisableTrigger ( 6 ) )
					Variable_Trigger (  Speed_Inc_Past  3   EnableTrigger  ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   EnableTrigger  ( 6 ) )
					Discrete_Trigger (   8  PlayOneShot 	 ( 1 File ( "E10Horn1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (   8	StartLoopRelease ( 1 File ( "E10Horn.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (   9	ReleaseLoopReleaseWithJump () )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 8
					Discrete_Trigger  ( 14	PlayOneShot ( 2	File ( "ZugBremse4.wav" -1 )  
                                                                                File ( "ZugBremse2.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 23	PlayOneShot ( 1	File ( "Hauptschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 45	PlayOneShot ( 1	File ( "StromEin.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 66	PlayOneShot ( 1	File ( "StromEin.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 24	PlayOneShot ( 1	File ( "Hauptschalter.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 46	PlayOneShot ( 1	File ( "StromAus.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 67	PlayOneShot ( 1	File ( "StromAus.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 54	PlayOneShot ( 2	File ( "ZugBremse3.wav" -1 ) 	
                                                                                File ( "ZugBremse1.wav" -1 ) 	SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)

	ScalabiltyGroup( 1
		Activation 	(  ExternalCam 	()	PassengerCam	()	Distance ( 1000 )  )
		Deactivation 	(  CabCam	()			        Distance ( 1000 )  )
		Streams ( 3
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger  ( 23	StartLoopRelease  ( 1 File ( "E10StandAuto.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger  ( 24	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						 -50		20000
						   0		11025
						  50		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
					         -20		1.0
						   0		0.6
						  20		1.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger (  Speed_Inc_Past  3	StartLoopRelease   ( 1 File ( "E10Luefter.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger (  Speed_Dec_Past  3	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-50.0		15000
						  0.0		11025
						 50.0		15000
					)
					Granularity ( 25 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 8
					Initial_Trigger  (		        DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Inc_Past  3   DisableTrigger ( 6 ) )
					Variable_Trigger (  Speed_Inc_Past  3   EnableTrigger  ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   DisableTrigger ( 7 ) )
					Variable_Trigger (  Speed_Dec_Past  3   EnableTrigger  ( 6 ) )
					Discrete_Trigger (  8	PlayOneShot 	 ( 1 File ( "E10Horn1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  8	StartLoopRelease ( 1 File ( "E10Horn.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  9	ReleaseLoopReleaseWithJump () )
				)
			)
		)
	)

	ScalabiltyGroup( 0
		Activation 	(  ExternalCam 	()	PassengerCam	()	Distance ( 1000 )  )
		Deactivation 	(  CabCam	()			        Distance ( 1000 )  )
		Streams ( 2
			Stream (
				Priority ( 6 )
				Triggers ( 1
					Initial_Trigger  ( StartLoop ( 1 File ( "E10Stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-44.0		20000
						  0.0		11025
						 44.0		20000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 -20		1.0
						   0		0.6
						  20		1.0
					)
					Granularity ( 0.05 )
				)	
			)
			Stream (
				Priority ( 5 )
				Triggers ( 7
					Variable_Trigger ( Speed_Inc_Past   0.1  PlayOneShot   ( 1 File ( "E10Horn.wav" -1 )   	     SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   0.1  PlayOneShot   ( 1 File ( "E41Schaltwerk1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   1.0  PlayOneShot   ( 1 File ( "E41Schaltwerk2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   2.0  PlayOneShot   ( 1 File ( "E41Schaltwerk1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  10.0  PlayOneShot   ( 1 File ( "E41Schaltwerk2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   5.0  PlayOneShot   ( 1 File ( "E10Horn.wav" -1 )   	     SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   4.0  PlayOneShot   ( 1 File ( "KompSchrauben.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)