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


Tr_SMS (
	Skip ( ** Sound per navetta pilota con E656 577 in spinta. Copyright by Carlo Santucci ** )

	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			PassengerCam	()				Distance    	(500)		)
		Deactivation (	CabCam			()			Distance    	(100)		)
		Volume(1.0)
		Streams ( 16
				Skip (**** Stream 0 Rotolamento + orologio da 0 a 25 Km/h *************************)

			
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.01	StartLoop ( 1
										File ( "x_Pilota_1Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  6.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  6.0	StartLoop ( 1
										File ( "x_Pilota_1Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  0.01	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 7
						 -6.0		0.00
					       -5.5		1.0
					       -1.5		0.6
						 0.0		0.0
					       1.5		0.6
					       5.5		1.0
						 6.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)

				Skip (**** Stream 1 Rotolamento con scambi + orologio da 25 a 40 Km/h ******************)	
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  5.5	StartLoop ( 1
										File ( "x_Pilota_30Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  12.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  12.0	StartLoop ( 1
										File ( "x_Pilota_30Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  5.5	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -12.0		0.00
					       -11.5		1.0
					       -6.0		1.0
						 -5.5		0.00
						 0.0		0.0
						 5.5		0.0
					       6.0		1.0
					       11.5		1.0
						 12.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)
				Skip (**** Stream 2 Rotolamento + orologio da 40 a 55 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  10.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_40_fil.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  18.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  18.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_40_fil.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  10.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -18.0		0.00
					       -14.5		1.0
					       -12.0		1.0
						 -10.0		0.00
						 0.0		0.0
						 10.0		0.0
					       12.0		1.0
					       14.5		1.0
						 18.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)

				Skip (**** Stream 3 Rotolamento + orologio da 50 a 75 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  14.5	StartLoop ( 1
										File ( "x_Pilota_Whoosh_60.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  23.5	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  23.5	StartLoop ( 1
										File ( "x_Pilota_Whoosh_60.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  14.5	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -23.5		0.00
					       -19.0		1.0
					       -18.0		1.0
						 -14.5		0.00
						 0.0		0.0
						 14.5		0.0
					       18.0		1.0
					       19.0		1.0
						 23.5		0.00
					)
					Granularity ( 0.01 )
				)			
			)
	
				Skip (**** Stream 4 Rotolamento + orologio da 68 a 105 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  19.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_90_1_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  31.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  31.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_90_1_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  19.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -31.0		0.00
					       -27.0		1.0
					       -23.5		1.0
						 -19.0		0.00
						 0.0		0.0
						 19.0		0.0
					       23.5		1.0
					       27.0		1.0
						 31.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)	
	
				Skip (**** Stream 5 Rotolamento da 97 a 125 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
			Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  27.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_110_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  37.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  37.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_110_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  27.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -37.0		0.00
					       -33.0		1.0
					       -31.0		1.0
						 -27.0		0.00
						 0.0		0.0
						 27.0		0.0
					       31.0		1.0
					       33.0		1.0
						 37.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)	

				Skip (**** Stream 6 Rotolamento da 119 Km/h in su ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  33.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_140_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  33.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 7
						 -40.0		1.0
					       -37.0		1.0
						 -33.0		0.00
						 0.0		0.0
						 33.0		0.0
					       37.0		1.0
					       40.0		1.0
					)
					Granularity ( 0.01 )
				)			
			)	
	

			Skip (**** 7 stridio freno 1***************************************)

			Stream (
				Skip ( **** Brake Squeal **** )				
				Priority ( 6 )			
				Triggers ( 23
					Initial_Trigger ( DisableTrigger ( 6 ))
					Discrete_Trigger (  14  DisableTrigger ( 7 ))
					Discrete_Trigger (  14  DisableTrigger ( 9 ))
					Discrete_Trigger (  14  SetStreamVolume ( 1.0 ))
					Discrete_Trigger (  14 EnableTrigger ( 6 ))
					Variable_Trigger (  Speed_Dec_Past 4.5 StartLoopRelease ( 1	File ( "x_frenata_1.wav" -1 )
								SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	SetStreamVolume ( 0.0 ) )
					Variable_Trigger ( Speed_Dec_Past 0.02	SetStreamVolume ( 0.0 )	)
					Discrete_Trigger (  54	SetStreamVolume  ( 0.0 ) )
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 7 ))				
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 9 ))
					Variable_Trigger ( Speed_Inc_Past 0.5  SetStreamVolume ( 0.0 )  )				
					Variable_Trigger (  Speed_Dec_Past 0.02 ReleaseLoopReleaseWithJump ( ) )
					Discrete_Trigger (  54	ReleaseLoopReleaseWithJump ( ) )
					Discrete_Trigger ( 14 DisableTrigger ( 15 ) )
					Discrete_Trigger ( 54 DisableTrigger ( 6 ) )
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 15 ))				

					Skip ( *** Trigger 18 - siamo già sotto i 4.5 m/s *** )
					Initial_Trigger ( EnableTrigger ( 20 ))
					Variable_Trigger ( Speed_Dec_Past 4.5 EnableTrigger ( 20 ))
					Discrete_Trigger (  14 StartLoopRelease ( 1	File ( "x_frenata_1.wav" -1 )
								SelectionMethod ( SequentialSelection ) ) )				
					Variable_Trigger ( Speed_Inc_Past 4.5 DisableTrigger ( 20 ))
					Variable_Trigger (  Speed_Dec_Past 0.02 ReleaseLoopReleaseWithJump ( ) )
					Discrete_Trigger (  54	ReleaseLoopReleaseWithJump ( ) )


				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						  -3.0		22000
						   -1.0		22800
						   0.0		27000
						1.0			22800
						   3.0		22000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						  -50.0		0.0
						  -3.1		0.0
						  -3.0		0.67
						  -1.0		0.8
						  -0.05		1.0
						   0.0		0.0
						   0.05		1.0
						   1.0		0.8
						   3.0		0.67
						   3.1		0.0
						 50.0			0.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** 9 This stream starts and stops GS with , and . commands **** )
				Priority ( 6 )
				Volume ( 0.1 )
				Triggers ( 19
					Initial_Trigger ( DisableTrigger ( 8 ) )
					Initial_Trigger ( DisableTrigger ( 12 ) )
					Initial_Trigger ( DisableTrigger ( 14 ) )
					Initial_Trigger ( DisableTrigger ( 10 ) )
					Initial_Trigger ( DisableTrigger ( 5 ) )

					Discrete_Trigger ( 45 EnableTrigger ( 8 ) )
					Discrete_Trigger ( 45 EnableTrigger ( 10 ) )
					Discrete_Trigger ( 20 StartLoopRelease ( 1	
							File ( "x_E656_IR_GS.wav" -1 )
							SelectionMethod (SequentialSelection)))
					Discrete_Trigger ( 20 DisableTrigger ( 8 ) )
					Variable_Trigger ( Speed_Inc_Past 0.01 EnableTrigger ( 12 ) )
					Variable_Trigger ( Speed_Inc_Past 0.01 EnableTrigger ( 14 ) )
					Discrete_Trigger ( 20 ReleaseLoopReleaseWithJump ()	)
					Discrete_Trigger ( 20 DisableTrigger ( 12 ) )
					Discrete_Trigger ( 20 EnableTrigger ( 8 ) )
					Discrete_Trigger ( 20 DisableTrigger ( 14 ) )
					Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ()	)
					Discrete_Trigger ( 46 DisableTrigger ( 8  ) )
					Discrete_Trigger ( 46 DisableTrigger ( 10 ) )
					Discrete_Trigger ( 46 DisableTrigger ( 9 ) )

							)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -100.0		11025
						   0.0		11025
						   100.0		11025
						)
					Granularity ( 100 )
				)

					)

			Stream (
			Volume ( 1.0 )
				Skip (Stream10 **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 19
					Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump ( ) )
					Discrete_Trigger ( 8 SetStreamVolume ( 1.0 ) )
					Initial_Trigger ( DisableTrigger ( 16 ) )
					Initial_Trigger ( DisableTrigger ( 18  ) )
					Initial_Trigger ( DisableTrigger ( 19 ) )
		
					Variable_Trigger ( Speed_Inc_Past 20.0 DisableTrigger ( 17 ) )			
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 18 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 DisableTrigger ( 18 ) )			
					Variable_Trigger ( Speed_Dec_Past 20.0 EnableTrigger ( 17 ) )
					Variable_Trigger ( Speed_Inc_Past 30.0 DisableTrigger ( 18 ) )			
					Variable_Trigger ( Speed_Inc_Past 30.0 EnableTrigger ( 19 ) )
					Variable_Trigger ( Speed_Dec_Past 30.0 DisableTrigger ( 19 ) )			
					Variable_Trigger ( Speed_Dec_Past 30.0 EnableTrigger ( 18 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 16 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 DisableTrigger ( 16 ) )
					Skip ( *** Trigger 16 *** )
					Discrete_Trigger ( 9 SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_Pilota_Tromba_fil.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 8	PlayOneShot ( 1	File ( "x_Pilota_Tromba_lunga_2_fil.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_Pilota_Tromba_lunga_fil_loop.wav" -1 )	SelectionMethod ( RandomSelection )	)	)

			)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -60.0		22050
						   0.0		22050
						   60.0		22050
						)
					Granularity ( 100 )
				)
			)
			Stream (
				Skip ( **** 11 This stream allows the whistle to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "x_Ficentro_chpitch.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Volume (0.7)
				Skip ( **** 13 This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 5
					Initial_Trigger (  DisableTrigger ( 5 ) )
					Discrete_Trigger ( 45 EnableTrigger ( 5 ) )
					Discrete_Trigger ( 54 SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 14 SetStreamVolume ( 0.7 ) )
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  14	
						PlayOneShot ( 1	
							File ( "x_Pilota_Sfiato_freno_2.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
								)
								)
				) 
						FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -60.0		22050
						   0.0		22050
						   60.0		22050
						)
					Granularity ( 100 )
				)
	
			)
			Stream (
				Volume (0.7)
				Skip ( **** 13 This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 12
					Initial_Trigger (  DisableTrigger ( 9 ) )
					Initial_Trigger (  DisableTrigger ( 10 ) )
					Discrete_Trigger ( 45 EnableTrigger ( 9 ) )
					Discrete_Trigger ( 45 EnableTrigger ( 10 ) )				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  14  DisableTrigger ( 9 ))
					Discrete_Trigger ( 45 SetStreamVolume ( 0.7 ))
					Discrete_Trigger ( 14 SetStreamVolume ( 0.0 ))
					Discrete_Trigger ( 54 SetStreamVolume ( 0.7 ))
					Skip ( **** Brake Release	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 1	
							File ( "x_sfreno_ricarica.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
								) 
								)
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 9 ))	
					Discrete_Trigger (  45	
						PlayOneShot ( 1	
							File ( "x_Sfreno_ricarica.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
								) 
								)
					Discrete_Trigger ( 45 DisableTrigger ( 11 ) )
			
				) 
						FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -60.0		44100
						   0.0		44100
						   60.0		44100
						)
					Granularity ( 100 )
				)
	
			)
			  Skip ( *** 13 Sgancia-aggancia*** )


			Stream (
				Priority ( 6 )
				Volume ( 0.4 )
				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 (**** Stream 14 Flange bump ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 39
					Initial_Trigger ( DisableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 3 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_90_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_90_fil.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 28.0	DisableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 28.0	EnableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 DisableTrigger ( 3 ) )				
						Initial_Trigger ( DisableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Inc_Past 28.0 EnableTrigger ( 9 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_110_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_110_1_fil.wav" -1 )
									File ( "x_Switchfast.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 35.0	DisableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Dec_Past 35.0	EnableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Dec_Past 28.0 DisableTrigger ( 9 ) )				
						Initial_Trigger ( DisableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Inc_Past 12.0 EnableTrigger ( 15 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_45_1.wav" -1 ) 
									File ( "x_Pilota_Flange_45_2.wav" -1 ) 
									File ( "x_Pilota_Flange_45_3.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 15.5	DisableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Dec_Past 15.5	EnableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Dec_Past 12.0 DisableTrigger ( 15 ) )				
							Initial_Trigger ( DisableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Inc_Past 15.5 EnableTrigger ( 21 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_75_1.wav" -1 ) 
									File ( "x_Pilota_Flange_75_2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 20.0	DisableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0	EnableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Dec_Past 15.5 DisableTrigger ( 21 ) )				
		Initial_Trigger ( DisableTrigger ( 27 ) )
					Variable_Trigger ( Speed_Inc_Past 35.0 EnableTrigger ( 27 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 6	File ( "x_Pilota_Flange_140_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_3_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )  
									File ( "x_Switchveryfast.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 35.0 DisableTrigger ( 27 ) )

					Variable_Trigger ( Speed_Inc_Past 20.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_90_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_90_fil.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 28.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_110_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_110_1_fil.wav" -1 )
									File ( "x_Switchfast.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 12.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_45_1.wav" -1 ) 
									File ( "x_Pilota_Flange_45_2.wav" -1 ) 
									File ( "x_Pilota_Flange_45_3.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 16.5 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 1	File ( "x_Pilota_Flange_75_3.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 35.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 6	File ( "x_Pilota_Flange_140_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_3_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )  
									File ( "x_Switchveryfast.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
						Initial_Trigger ( DisableTrigger ( 39 ))
					Variable_Trigger ( Speed_Inc_Past  0.1 EnableTrigger ( 39 ))
					Variable_Trigger ( Speed_Inc_Past  5.5	DisableTrigger ( 39 ) )
					Variable_Trigger ( Speed_Dec_Past  5.5	EnableTrigger ( 39 ) )
					Variable_Trigger ( Speed_Dec_Past  0.1 DisableTrigger ( 39 ))				
					Dist_Travelled_Trigger ( Dist_Min_Max ( 2.5 2.5 )  Volume_Min_Max ( 1.0 1.0 ) PlayOneShot ( 16
							File ( "x_Botta1.wav" -1 )
							File ( "x_Botta2.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Botta3.wav" -1 )
							File ( "x_Botta4.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
										SelectionMethod ( SequentialSelection ) ) )
				
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 17
						 -60.0		1.0
						-20.0			1.0
						-19.9			0.4
						-12.0			0.4
						-11.9			1.0
						-5.5			1.0
						-5.4			0.4						
						 -1.0		0.4
						 0.0		0.0
					       1.0		0.4
						5.4		0.4
						5.5		1.0
						11.9		1.0
						12.0		0.4
						19.9		0.4
						20.0		1.0
					       60.0		1.0
					)
					Granularity ( 0.01 )
				)			
			)	
			Stream (
				Volume ( 0.5 )
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  15.0	StartLoop ( 1
										File ( "x_uk_bogiecoach07.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  15.0	ReleaseLoopRelease () )	
			)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 4
						 0.0		0.0
						15.0		0.1
						18.0		0.4
					      40.0		1.0
					)
					Granularity ( 0.01 )
				)			
				FrequencyCurve ( 
					SpeedControlled
					CurvePoints ( 5
					     -50.0		13000
						-0.1		11025
						 0.0		 9000
						 0.1		11025
						50.0		13000
					)
					Granularity ( 25 )
				)
			)

	


))
	Skip( **** ******************************************* **** )
	Skip( **** SL 0 - Treni AI  **** )
	Skip( **** ******************************************* **** )

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	CabCam() PassengerCam	() Distance    	(500)	)
		Deactivation (				Distance    	(500)	)
		Streams ( 11

	Stream (
Priority ( 7 )
Triggers ( 1
Variable_Trigger ( Distance_Dec_Past 70 PlayOneShot ( 3
File ("x_trcentro_loud_long.wav" -1 )
File ("x_silence_0-10.wav" -1 )
File ("x_ficentro_chpitch.wav" -1 )
SelectionMethod ( RandomSelection ) ) )
)
VolumeCurve(
SpeedControlled
CurvePoints ( 5
-100.0 1.0
-2.0 1.0

0 0.0
2.0 1.0
100.0 1.0
)
Granularity ( 0.1 )
)
)
			Stream (
				Skip ( **** Brake Squeal **** )				
				Priority ( 6 )			
				Triggers ( 17
					Initial_Trigger ( DisableTrigger ( 5 ))
					Variable_Trigger ( Speed_Inc_Past 0.5 EnableTrigger ( 5 ) )
					Discrete_Trigger (  14  DisableTrigger ( 6 ))
					Discrete_Trigger (  14  DisableTrigger ( 8 ))
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "x_frenata_1.wav" -1 )
								SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 0.02	ReleaseLoopRelease ()	)
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 15 ))				
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 16 ))
					Discrete_Trigger (  14  DisableTrigger ( 6 ))
					Discrete_Trigger (  14  DisableTrigger ( 8 ))
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 15 ))				
					Discrete_Trigger (  14  Delay_Min_Max ( 1.0 1.0 ) EnableTrigger ( 16 ))
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past 0.5  ReleaseLoopRelease ()  )				

				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						  -3.0		22000
						   -1.0		22800
						   0.0		24000
						1.0			22800
						   3.0		22000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
						  -50.0		0.0
						  -3.1		0.0
						  -3.0		0.67
						  -1.0		0.8
						  -0.05		1.0
						   0.0		0.0
						   0.05		1.0
						   1.0		0.8
						   3.0		0.67
						   3.1		0.0
						 50.0			0.0
					)
					Granularity ( 0.05 )
				)				
			)
				Skip (**** Stream 0 Rotolamento + orologio da 0 a 25 Km/h *************************)

			
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.01	StartLoop ( 1
										File ( "x_Pilota_1Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  6.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  6.0	StartLoop ( 1
										File ( "x_Pilota_1Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  0.01	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 7
						 -6.0		0.00
					       -5.5		1.0
					       -1.5		0.6
						 0.0		0.0
					       1.5		0.6
					       5.5		1.0
						 6.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)

				Skip (**** Stream 1 Rotolamento con scambi + orologio da 25 a 40 Km/h ******************)	
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  5.5	StartLoop ( 1
										File ( "x_Pilota_30Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  12.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  12.0	StartLoop ( 1
										File ( "x_Pilota_30Kmh.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  5.5	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -12.0		0.00
					       -11.5		1.0
					       -6.0		1.0
						 -5.5		0.00
						 0.0		0.0
						 5.5		0.0
					       6.0		1.0
					       11.5		1.0
						 12.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)
				Skip (**** Stream 2 Rotolamento + orologio da 40 a 55 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  10.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_40_fil.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  18.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  18.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_40_fil.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  10.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -18.0		0.00
					       -14.5		1.0
					       -12.0		1.0
						 -10.0		0.00
						 0.0		0.0
						 10.0		0.0
					       12.0		1.0
					       14.5		1.0
						 18.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)

				Skip (**** Stream 3 Rotolamento + orologio da 50 a 75 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  14.5	StartLoop ( 1
										File ( "x_Pilota_Whoosh_60.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  23.5	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  23.5	StartLoop ( 1
										File ( "x_Pilota_Whoosh_60.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  14.5	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -23.5		0.00
					       -19.0		1.0
					       -18.0		1.0
						 -14.5		0.00
						 0.0		0.0
						 14.5		0.0
					       18.0		1.0
					       19.0		1.0
						 23.5		0.00
					)
					Granularity ( 0.01 )
				)			
			)
	
				Skip (**** Stream 4 Rotolamento + orologio da 68 a 105 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  19.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_90_1_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  31.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  31.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_90_1_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  19.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -31.0		0.00
					       -27.0		1.0
					       -23.5		1.0
						 -19.0		0.00
						 0.0		0.0
						 19.0		0.0
					       23.5		1.0
					       27.0		1.0
						 31.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)	
	
				Skip (**** Stream 5 Rotolamento da 97 a 125 Km/h ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
			Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  27.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_110_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  37.0	ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  37.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_110_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )

					Variable_Trigger ( Speed_Dec_Past  27.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 9
						 -37.0		0.00
					       -33.0		1.0
					       -31.0		1.0
						 -27.0		0.00
						 0.0		0.0
						 27.0		0.0
					       31.0		1.0
					       33.0		1.0
						 37.0		0.00
					)
					Granularity ( 0.01 )
				)			
			)	

				Skip (**** Stream 6 Rotolamento da 119 Km/h in su ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  33.0	StartLoop ( 1
										File ( "x_Pilota_Whoosh_140_ext.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  33.0	ReleaseLoopRelease () )					
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 7
						 -40.0		1.0
					       -37.0		1.0
						 -33.0		0.00
						 0.0		0.0
						 33.0		0.0
					       37.0		1.0
					       40.0		1.0
					)
					Granularity ( 0.01 )
				)			
			)	
				Skip (**** Stream 14 Flange bump ******************)		
Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 39
					Initial_Trigger ( DisableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Inc_Past 20.0 EnableTrigger ( 3 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_90_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_90_fil.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 28.0	DisableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 28.0	EnableTrigger ( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0 DisableTrigger ( 3 ) )				
						Initial_Trigger ( DisableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Inc_Past 28.0 EnableTrigger ( 9 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_110_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_110_1_fil.wav" -1 )
									File ( "x_Switchfast.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 35.0	DisableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Dec_Past 35.0	EnableTrigger ( 9 ) )
					Variable_Trigger ( Speed_Dec_Past 28.0 DisableTrigger ( 9 ) )				
						Initial_Trigger ( DisableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Inc_Past 12.0 EnableTrigger ( 15 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_45_1.wav" -1 ) 
									File ( "x_Pilota_Flange_45_2.wav" -1 ) 
									File ( "x_Pilota_Flange_45_3.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 15.5	DisableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Dec_Past 15.5	EnableTrigger ( 15 ) )
					Variable_Trigger ( Speed_Dec_Past 12.0 DisableTrigger ( 15 ) )				
							Initial_Trigger ( DisableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Inc_Past 15.5 EnableTrigger ( 21 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_65_1.wav" -1 ) 
									File ( "x_Pilota_Flange_65_2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 20.0	DisableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Dec_Past 20.0	EnableTrigger ( 21 ) )
					Variable_Trigger ( Speed_Dec_Past 15.5 DisableTrigger ( 21 ) )				
		Initial_Trigger ( DisableTrigger ( 27 ) )
					Variable_Trigger ( Speed_Inc_Past 35.0 EnableTrigger ( 27 ))
					Dist_Travelled_Trigger ( Dist_Min_Max ( 180.0 350.0 )  Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 6	File ( "x_Pilota_Flange_140_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_3_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )  
									File ( "x_Switchveryfast.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 35.0 DisableTrigger ( 27 ) )

					Variable_Trigger ( Speed_Inc_Past 20.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 2	File ( "x_Pilota_Flange_75_1.wav" -1 ) 
									File ( "x_Pilota_Flange_75_2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 28.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_110_fil.wav" -1 ) 
									File ( "x_Pilota_Flange_110_1_fil.wav" -1 )
									File ( "x_Switchfast.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 12.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 3	File ( "x_Pilota_Flange_45_1.wav" -1 ) 
									File ( "x_Pilota_Flange_45_2.wav" -1 ) 
									File ( "x_Pilota_Flange_45_3.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 16.5 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 1	File ( "x_Pilota_Flange_65_1.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 35.0 Volume_Min_Max ( 0.7 1.0 )
						PlayOneShot ( 5	File ( "x_Pilota_Flange_140_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )
									File ( "x_Pilota_Flange_140_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_3_fil.wav" -1 )  
									File ( "x_Pilota_Flange_140_5_fil.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
						Initial_Trigger ( DisableTrigger ( 39 ))
					Variable_Trigger ( Speed_Inc_Past  0.1 EnableTrigger ( 39 ))
					Variable_Trigger ( Speed_Inc_Past  5.5	DisableTrigger ( 39 ) )
					Variable_Trigger ( Speed_Dec_Past  5.5	EnableTrigger ( 39 ) )
					Variable_Trigger ( Speed_Dec_Past  0.1 DisableTrigger ( 39 ))				
					Dist_Travelled_Trigger ( Dist_Min_Max ( 2.5 2.5 )  Volume_Min_Max ( 1.0 1.0 ) PlayOneShot ( 16
							File ( "x_Botta1.wav" -1 )
							File ( "x_Botta2.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Botta3.wav" -1 )
							File ( "x_Botta4.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
							File ( "x_Silence_0-01.wav" -1 )
										SelectionMethod ( SequentialSelection ) ) )
				
				)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 17
						 -60.0		1.0
						-20.0			1.0
						-19.9			0.4
						-12.0			0.4
						-11.9			1.0
						-5.5			1.0
						-5.4			0.4						
						 -1.0		0.4
						 0.0		0.0
					       1.0		0.4
						5.4		0.4
						5.5		1.0
						11.9		1.0
						12.0		0.4
						19.9		0.4
						20.0		1.0
					       60.0		1.0
					)
					Granularity ( 0.01 )
				)			
			)	
			Stream (
				Volume ( 0.5 )
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  15.0	StartLoop ( 1
										File ( "x_uk_bogiecoach07.wav" -1 )
										SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  15.0	ReleaseLoopRelease () )	
			)
				VolumeCurve ( 
					SpeedControlled
					CurvePoints ( 4
						 0.0		0.0
						15.0		0.1
						18.0		0.4
					      40.0		1.0
					)
					Granularity ( 0.01 )
				)			
				FrequencyCurve ( 
					SpeedControlled
					CurvePoints ( 5
					     -50.0		13000
						-0.1		11025
						 0.0		 9000
						 0.1		11025
						50.0		13000
					)
					Granularity ( 25 )
				)
			)
		)
	)
)







)
