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

Tr_SMS (
Skip(
	V63 sorozatu mozdony kulso hangok - SMS script V1.0
	Hangfelvetelek + SMS scripting: JImre (jimre@para.chem.elte.hu)

	Ismert problemak, hianyossagok:
	- Gyenge minosegu a TC motorok hangmintaja.
	- A szellozo csak a menetszabalyzo kontrollerrel aktivizalhato.
	- A szellozo hangja nem mukodik idonkent kovetkezetesen
	- A kulso nezetben nincs villamos fekellenallas szellozo hang.
	- Az "aramszedo hangok" es a kulso nezetben a kep nincs szinkronban

	Nem javithato hibak/hianyossagok:
	- Az MSTS hibaja miatt villamos fekuzem lehuzott aramszedo mellett is lehetseges.
	- Mivel az MSTS az aramszedo kapcsolo kezelese utan rogton engedelyezi a menetuzemet, ezert
          a vontatas a bekapcsolasi hangok lejatszasa elott/kozben mar lehetseges.
	- Az MSTS hibaja miatt a kulso nezetben nincs legsurito hang
	- Az MSTS hibaja miatt a kulso nezetben nincs iranyvalto hang
	- Az MSTS hibaja miatt a kulso nezetben nincs kiegeszito fek hang
	- Az MSTS jelenlegi verziojaban nincs a gyorsfekezeshez kulon hangminta.
	- Az MSTS hibaja miatt a mozdony fekoldo pedalja is az atmeno fek oldasi hangjaval megegyezo
          hangot valt ki.
	- Valoszinuleg az MSTS hibaja miatt szetesik a hang esemenyek szinkronja a kulso es a belso nezetek kozott.
	- Az SL1 es SL3 hangmintak nem elethuek, a modell hasznalatahoz az SL5 beallitas javasolt:
              Options -> Sound -> Quantity of sounds -> High
)



	Skip ( ** SL 5 hangok - 1. Vontatomotor szellozo hangja                        ** )
	Skip ( **             - 2. Tirisztorszellozo + fomegszakito + aramszedo hangok ** )
	Skip ( ** Quantity of - 3. Menetuzem motorhangja                               ** )
	Skip ( **  sounds:    - 4. Fekuzem motorhangja                                 ** )
	Skip ( **   HIGH      - 5. Simito-fojtotekercs hangja                          ** )
	Skip ( **             - 6. Fekek levegos hangjai                               ** )
	Skip ( **             - 7. Homokolo		                               ** )
	Skip ( **             - 8. Kurt			                               ** )
	Skip ( **             - 9. Sip                                                 ** )
	Skip ( **             - 10. Kocsi kapcsolasi hangok                            ** )
	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			Distance ( 1000 )
		)
		Deactivation (
			CabCam ()
			PassengerCam ()
			Distance ( 1000 )
		)
		Volume( 1.0 )
		Streams ( 15
			Skip ( V/1. Szellozo hangja )
			Stream (
				Volume( 0.4 )
				Priority ( 6 )
				Triggers ( 3
				Discrete_Trigger ( 23 PlayOneShot ( 1 File ( "msts_bdv_k_szellozo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 23 StartLoopRelease ( 1 File ( "msts_bdv_k_szellozo2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )				
				Discrete_Trigger ( 24 ReleaseLoopRelease() )					
				)
			)

			Stream (
				Priority ( 6 )
				Volume ( 1.0 )			
				Triggers ( 2
					Discrete_Trigger ( 105	PlayOneShot ( 1	File ( "..\\..\\common.snd\\vozy\\843.023_x_dvere_O.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 106	PlayOneShot ( 1	File ( "vonat_ajto_becsuk.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
			)

			Skip ( V/2. Tirisztorszellozo + fomegszakito + aramszedo vezerles hangja )
			Stream (
				Priority ( 6 )
				Triggers ( 4
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "MSTS_K_V63_aramszedo_fel.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 151	PlayOneShot ( 1	File ( "MSTS_K_V63_fomegszakito_be.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )	)
					Discrete_Trigger ( 152	PlayOneShot ( 1	File ( "MSTS_K_V63_fomegszakito_ki.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "MSTS_K_V63_aramszedo_le.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)

			Skip ( V/3. Menetuzem motorhangja )
			Skip ( Variable1 - Menetszabalyzo kar kivezerlese 0...100 )
			Skip ( Variable2 - Motoraram a maximalis motoraram %-aban 0...100 )
			Stream (
				Priority ( 4 )
				Triggers ( 2
					Variable_Trigger ( Speed_inc_past 0.1 Startloop   ( 1 File ( "MSTS_K_V63_motorhang.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 0.1 ReleaseLoopReleaseWithJump () )	
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.0		8500
						 40.0		15000
					)
					Granularity ( 0.05 )
				)				
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.0		0.0
						 100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			Skip ( V/4. Fekuzem motorhangja ) 
			Stream (
				Priority ( 4 )
				Triggers ( 4
					Discrete_Trigger ( 45	SetStreamVolume ( 1.0 ) )
					Variable_Trigger ( Speed_inc_past 4.0 Startloop   ( 1 File ( "MSTS_K_V63_motorhang.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 4.0 ReleaseLoopReleaseWithJump () )	
					Discrete_Trigger ( 46	SetStreamVolume ( 0.0 ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.0		8500
						 40.0		15000
					)
					Granularity ( 0.05 )
				)				
				VolumeCurve(
					Variable3Controlled
					CurvePoints ( 2
						 0.0		0.0
						 1.0		1.5
					)
					Granularity ( 0.05 )
				)				
			)


			Skip ( V/5. Simito-fojtotekercs hangja )
			Stream (
				Priority ( 4 )
				Triggers ( 2
					Variable_Trigger ( Speed_inc_past 0.2 Startloop   ( 1 File ( "MSTS_K_V63_fojtotekercs.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 0.2 ReleaseLoopReleaseWithJump () )	
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.0		0.0
						 100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			Skip ( V/6. Fekek levegos hangjai )
			Skip ( Kulso nezetben csak a 14 es 54-es triggereket adja be )
			Stream (
				Priority ( 7 )
				Triggers ( 6
					Discrete_Trigger ( 14	PlayOneShot ( 1 File ( "MSTS_K_V63_atmeno_fek_fekez.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14	DisableTrigger ( 1 ) ) Skip ( Fekezesi hang )
					Discrete_Trigger ( 14	EnableTrigger ( 4 ) ) Skip ( Oldasi hang )
					Discrete_Trigger ( 54	PlayOneShot ( 1 File ( "MSTS_K_V63_atmeno_fek_old.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	DisableTrigger ( 4 ) ) Skip ( Oldasi hang )
					Discrete_Trigger ( 54	EnableTrigger ( 1 ) ) Skip ( Fekezesi hang )
				)
			)

			Skip ( V/7. Homokolo hangja )
			Stream (
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "MSTS_K_V63_homokolo.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopReleaseWithJump () )	
				)
			)

			Skip ( V/8. Kurt lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "msts_bdv_k_kurt.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Skip ( V/9. Sip lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "MSTS_K_V63_sip.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Stream (
				Priority ( 6 )
             		Volume ( 0.55 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.1	StartLoop ( 1	File ( "..\\..\\common.snd\\vozy\\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 )
				)				
			)
			Stream (
				Priority ( 6 )
                      Volume( 0.5 )
				Triggers ( 2
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "..\\..\\common.snd\\vozy\\vozy_x_brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "..\\..\\common.snd\\vozy\\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.6 )
				Triggers ( 4

Variable_Trigger ( BrakeCyl_Inc_Past 2 PlayOneShot ( 1 File ( "..\\..\\common.snd\\vozy\\843_x_kotouce_n.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "..\\..\\common.snd\\vozy\\843_x_kotouce.wav" -1 ) SelectionMethod ( SequentialSelection )))
Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "..\\..\\common.snd\\vozy\\843_x_kotouce_d.wav" -1 ) SelectionMethod ( SequentialSelection )))

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
					       -35.000		23000
                                   -9.0     	22050
					         0.0		21900
					         9.0     	22050
					        35.000		23000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 13
                                               -20.0             0.0
                                               -10.0             0.1
                                               -8.0 			0.2
                                               -5.0	      	0.6
                                               -2.0       		1.0
                                               -0.1			1.0
                                                0.0       		0.0
                                                0.1             	1.0
                                                2.0             	1.0
                                                5.0             	0.6
                                                8.0             	0.2
                                               10.0             	0.1
                                               20.0             	0.0

					        
					)
					Granularity ( 0.01 )
				)				
			)

			Skip ( V/10. Kocsi kapcsolasi hangok )
			Stream (
				Priority ( 6 )
				Volume ( 0.5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.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) ) ) 
				)
			)
		)
	)

	Skip ( ** SL 3 hangok - 1. Vontatomotor szellozo hangja                        ** )
	Skip ( **             - 2. Aramszedo hangja                                    ** )
	Skip ( ** Quantity of - 3. Menetuzem motorhangja                               ** )
	Skip ( ** sounds:     - 4. Fekek levegos hangjai                               ** )
	Skip ( **   MEDIUM    - 5. Homokolo		                               ** )
	Skip ( **             - 6. Kurt			                               ** )
	Skip ( **             - 7. Sip                                                 ** )
	ScalabiltyGroup( 3
		Activation (
			ExternalCam ()
			Distance (1000)
		)
		Deactivation (
			CabCam ()
			PassengerCam ()
			Distance (1000)
		)
		Streams ( 7
			Skip ( III/1. Vontatomotor szellozo hangja )
			Stream (
				Priority ( 6 )
				Triggers ( 21
					Skip ( Alaphelyzetben a szellozo leallitasi folyamat letiltva )
			Skip (	1 )	Initial_Trigger ( DisableTrigger( 16 ) )
			Skip (	2 )	Initial_Trigger ( DisableTrigger( 17 ) )
			Skip (	3 )	Initial_Trigger ( DisableTrigger( 18 ) )
					Skip ( Ha az aramszedo lemegy /46/, akkor a szellozes megall )
			Skip (	4 )	Discrete_Trigger ( 46	EnableTrigger ( 9 ) ) Skip ( Release )
			Skip (	5 )	Discrete_Trigger ( 46	DisableTrigger ( 10 ) )	Skip ( Szell hang )
			Skip (	6 )	Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					Skip ( Aramszedo felmegy, szellozo engedelyezve )
			Skip (	7 )	Discrete_Trigger ( 45	EnableTrigger ( 9 ) )  Skip ( Release )
			Skip (	8 )	Discrete_Trigger ( 45	EnableTrigger ( 10 ) )  Skip ( Szell hang )
					Skip ( Kontroller kivezerlese utan indithato a szellozo )
			Skip (	9 )	Variable_Trigger ( Variable2_inc_past 1 ReleaseLoopRelease () )
			Skip (	10 )	Variable_Trigger ( Variable2_inc_past 1 StartLoopRelease ( 1 File ( "msts_bdv_k_szellozo.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Skip (	11 )	Variable_Trigger ( Variable2_inc_past 1 DisableTrigger ( 9 ) ) Skip ( Release )
			Skip (	12 )	Variable_Trigger ( Variable2_Inc_Past 1 DisableTrigger ( 10 ) ) Skip ( Szell hang )
					Skip ( Ha mozog a gep, akkor a szellozo leallitasi folyamat letiltva )
			Skip (	13 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 16 ) ) Skip ( 30s utan szellozo leallitas )
			Skip (	14 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 17 ) ) Skip ( 30s utan release engedelyezes )
			Skip (	15 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 18 ) ) Skip ( 30s utan szellozo hang engedelyezes )

					Skip ( Megallas utan 30s-mal kikapcsolja a szellozot )
			Skip (	16 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 1.0 1.0 )
						ReleaseLoopRelease () Skip ( Szellozo leallitas )
					)
			Skip (	17 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 1.0 1.0 )
						EnableTrigger( 9 ) Skip ( Release engedelyezes )
					)
			Skip (	18 )	Random_Trigger(
						Delay_Min_Max( 30  31 )
						Volume_Min_Max( 1.0 1.0 )
						EnableTrigger( 10 ) Skip ( Szellozo hang ujra engedelyezes )
					)
			Skip (	19 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 16 ) ) Skip ( 30s Leallitas engedelyezes )
			Skip (	20 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 17 ) ) Skip ( 30s Release engedelyezes )
			Skip (	21 )	Variable_Trigger ( Speed_Dec_Past 0.01 EnableTrigger( 18 ) ) Skip ( 30s Szellozo hang ujra engedelyezes )
				)
			)

			Skip ( III/2. Aramszedo hangja )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "MSTS_K_V63_aramszedo_fel.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "MSTS_K_V63_aramszedo_le.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)

			Skip ( III/3. Menetuzem motorhangja )
			Stream (
				Priority ( 4 )
				Triggers ( 2
					Variable_Trigger ( Speed_inc_past 0.1 Startloop   ( 1 File ( "MSTS_K_V63_motorhang.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 0.1 ReleaseLoopReleaseWithJump () )	
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.0		8500
						 40.0		15000
					)
					Granularity ( 0.05 )
				)				
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.0		0.0
						 100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			Skip ( III/4. Fekek levegos hangjai )
			Stream (
				Priority ( 7 )
				Triggers ( 2
					Discrete_Trigger ( 14	PlayOneShot ( 1 File ( "MSTS_K_V63_atmeno_fek_fekez.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1 File ( "MSTS_K_V63_atmeno_fek_old.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

			Skip ( III/5. Kurt lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "MSTS_BDV_K_kurt.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Skip ( III/6. sip lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "MSTS_K_V63_sip.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)
			
			Skip ( III/7. Homokolo hangja )
			Stream (
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "MSTS_K_V63_homokolo.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopReleaseWithJump () )	
				)
			)
		)
	)

	Skip ( ** SL 1 hangok - 1. Menetuzem motorhangja   ** )
	Skip ( ** Quantity of - 2. Kurt                    ** )
	Skip ( ** sounds:     - 3. Sip                     ** )
	Skip ( **   LOW                                    ** )
	ScalabiltyGroup( 1
		Activation (
			ExternalCam ()
			Distance (1000)
		)
		Deactivation (
			CabCam ()
			PassengerCam ()
			Distance (1000)
		)
		Streams ( 3
			Skip ( I/1. Menetuzem motorhangja )
			Stream (
				Priority ( 4 )
				Triggers ( 2
					Variable_Trigger ( Speed_inc_past 0.1 Startloop   ( 1 File ( "MSTS_K_V63_motorhang.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 0.1 ReleaseLoopReleaseWithJump () )	
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 2
						 0.0		8500
						 40.0		15000
					)
					Granularity ( 0.05 )
				)				
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.0		0.0
						 100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			Skip ( I/2. Kurt lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "msts_bdv_k_kurt.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Skip ( I/3. Sip lejatszasa )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "MSTS_K_V63_sip.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)
		)
	)
	
	Skip( **** ******************************************* **** )
	Skip( **** Copy of Generic Electric SMS Used for SL 0  **** )
	Skip( **** ******************************************* **** )

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	Distance    	(500)	)
		Deactivation (CabCam	()			PassengerCam	()	Distance    	(500)	)
		Streams ( 1
			Stream (
				Priority ( 4 )
				Triggers ( 6
					Variable_Trigger ( Speed_Inc_Past   1.0 StartLoop   ( 1 File ( "a_e_comp1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 StartLoop   ( 1 File ( "a_e_comp2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  49.0 StartLoop   ( 1 File ( "a_e_comp1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  49.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past   1.0 ReleaseLoopRelease () )					
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
					 	  0.0		0.0
						 10.0		1.0
						100.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)
		)
	)
)