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

Tr_SMS (
	Skip ( ** SL 5 sounds - Two looping audio streams, multiple waves - pitch shifted & Xfaded by current ** )
	Skip ( **             - One Horn audio stream				                                                  ** )
	Skip ( **             - One Compressor audio stream				                                            ** )
	Skip ( **             - One TBrake audio stream				                                                ** )
	Skip ( **             - One DBrake audio stream				                                            	                         ** )
	Skip ( **             - One Coupling audio stream				                                              ** )
	Skip ( **             - One Control audio stream with individual Control sounds                       ** )
	Skip ( **             - One AWS alarm audio stream                                              ** )
	Skip ( **             - One Wipers audio stream                                              ** )
	ScalabiltyGroup( 5
		Activation (			CabCam			()			PassengerCam	()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			Distance    	(100)		)
		Stereo ()
		Volume(0.5)
		Streams ( 11
			Stream (
				Priority ( 6 )
				Triggers ( 11
					Skip( **** The engine/current related sounds - Stream 1 {Xfade}                    **** )
					Skip( **** Right... this cross fade differs from that of the dash 9, for example,  **** )
					Skip( **** since I was getting significant problems where the previous loop in a   **** )
					Skip( **** stram has not finished playing the silence streamed into it after the   **** )
					Skip( **** loop was finished before the next loop started.                         **** )
					Skip( **** To avoid this I start the next loop imediatly after I release the first.**** )
					Skip( **** {although this will not be heard as the volume curve is set to zero at  **** )
					Skip( **** this point.}.I also Increased the size of the volume 1.0 plateaus, to   **** )
					Skip( **** create a shorter crossfade, as the volume drop was noticable.           **** )
					Initial_Trigger  ( 							            StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 5.00 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 5.00 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 45.0 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 45.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 55.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 55.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 15.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 15.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 8
						0.000		12025
						15.0		12025
						45.0		13000
						50.0		13000
						50.1		12025
						55.0		12025
						85.0		13000
						100.0		13000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 12
						 0.000		1.0
						 3.00 		1.0
						 5.00	 		0.0
						 15.0	   		0.0
						 21.0			1.0
						 39.0			1.0
						 45.0			0.0
						 55.0			0.0
						 61.0			1.0
						 79.0			1.0
						 85.0			0.0
						 100.0		0.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip( **** Dynamic brakes **** )
				Skip( **** NOTE: First See comment for SL 3 Dynamic brake. 																									** )
				Skip( ****       I am going to continue using Method 2 outlined there for the moment, since I am not sure   ** )
				Skip( ****       if the waves we have will allow crossfading {due to the loop/release} - I may be able      ** )
				Skip( ****       to manage something using the play only one block feature { setting the number after       ** )
				Skip( ****       the filename to something other than	-1 }, But I will look at if I have more time.         ** )
				Priority ( 6 )
				Volume ( 1.8 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "..\\..\\dash9\\sound\\d9_dynb_dyn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		17800
						  1.0		17800
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 10
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 1.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 25.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Inc_Past 25.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 65.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Inc_Past 65.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 75.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 75.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 35.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 35.0 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 1.0 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 11
						0.00		12025
						1.00		12025
						25.0		13000
						30.0		13000
						30.1		12025
						35.0		12025
						65.0		13000
						70.0		13000
						70.1		12025
						75.0		12025
						100.0		13000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 12
						 0.000		0.0
						 1.0			0.0
						 2.0			1.0
						 18.0			1.0
						 25.0			0.0
						 35.0			0.0
						 42.0			1.0
						 58.0			1.0
						 65.0			0.0
						 75.0			0.0
						 82.0			1.0
						 100.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "SS1_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\gp38\\sound\\gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\HHP\\SOUND\\hhp_bell1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the Sander to be played at the same time  	**** )
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Volume ( 0.5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 13
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_reverserf.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_throttlef.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakef.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_vigilance.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_flightsf.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_pantot.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ebrake.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip ( **** Vigelence alarm  	**** )
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_deadman.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)


	Skip ( ** SL 3 sounds - One looping audio stream, idle wave and moving - pitch shifted by current ** )
	Skip ( **             - One Horn audio stream				                                              ** )
	Skip ( **             - One Compressor audio stream				                                        ** )
	Skip ( **             - One TBrake audio stream				                                            ** )
	Skip ( **             - One DBrake audio stream				                                            	                         ** )
	Skip ( **             - One Control audio stream with individual Control sounds                   ** )
	Skip ( **             - One Wipers audio stream                                              ** )
	ScalabiltyGroup( 3
		Activation (			CabCam			()			PassengerCam	()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			Distance    	(100)		)
		Stereo ()
		Streams ( 9
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( 							            StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.00		10000
						0.01		10000
						1.00		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		0.5
						 0.100		1.0
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "SS1_HORN.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\HHP\\SOUND\\hhp_bell1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)

			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\gp38\\sound\\gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Sander to be played at the same time  	**** )
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 2				
					Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  53	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
					Skip ( **** Brake Emergency Apply	**** )
					Discrete_Trigger (  54	
						PlayOneShot ( 3	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake1.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )	
							File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )	
							SelectionMethod ( RandomSelection ) 
						) 
					)
				)
			)
			Stream (
				Skip( **** Dynamic brakes **** )
				Skip( **** NOTE: There are two ways to play DBrakes **** )
				Skip( ****       1/ If we have multiple samples for differing work levels fade between with cross faded loops       **** )
				Skip( ****          This is the intention for SL5 - although I am uncertian if the samples we have will allow this. **** )
				Skip( ****       2/ Use a Single wave and frequency shift as more effort applied. I will use this lower memory      **** )
				Skip( ****          solution for SL3                                                                                **** )
				Priority ( 6 )
				Volume ( 1.8 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "..\\..\\dash9\\sound\\d9_dynb_dyn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		17800
						  1.0		17800
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 13
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_reverserf.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_throttlef.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakef.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_abrakeb.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_vigilance.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_flightsf.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_pantot.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ebrake.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake3.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_ibrake2.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream(
				Skip ( **** Vigelence alarm  	**** )
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_deadman.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)
	
	Skip ( ** SL 1 sounds - One looping audio stream, idle wave and moving - pitch shifted by current ** )
	Skip ( **             - One Horn audio stream				                                              ** )
	Skip ( **             - One Control audio stream with generic control sounds                      ** )
	ScalabiltyGroup( 1
		Activation (			CabCam			()			PassengerCam	()			Distance    	(100)		)
		Deactivation (		ExternalCam ()			Distance    	(100)		)
		Stereo ()
		Streams ( 4
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( 							            StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "..\\..\\HHP\\SOUND\\hhp_power_cruise0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.00		10000
						0.01		10000
						1.00		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		0.5
						 0.100		1.0
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "SS1_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	
													File ( "..\\..\\HHP\\SOUND\\hhp_bell1.wav" -1 )	
													SelectionMethod ( RandomSelection ) 
												)
								)

					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream plays all the controls samples  	**** )
				Skip ( **** NOTE: Missing AWS Alarm                     	**** )
				Priority ( 5 )
				Triggers ( 15
					Discrete_Trigger (  6	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  7	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 16	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_econtrol1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)
