Digital Rails

HomeContentETCP_GG20B.zip

File: TRAINS/TRAINSET/CP_GG20B/SOUND/CP_GG20B170xeng.sms

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

Tr_SMS (
	Skip ( ** CP_GG20B170x Sound - wespe 2006  ** )

	ScalabiltyGroup( 5
		Activation (	ExternalCam ()	PassengerCam	()	Distance    (1000)	)
		Deactivation (			Distance    (1000)	)
		Streams ( 15
			Stream (
				Priority ( 6 )
                                                                Volume ( 0.8 )
				Triggers ( 5
					Skip( **** The engine/current related sounds - Stream 1 {Xfade}         **** )
					Initial_Trigger  ( StartLoopRelease  ( 1 File ( "CP_GG20B170x_Fahrt0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.02 ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Inc_Past 0.300 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.100 ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Dec_Past 0.02 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 10
						0.000		11025
						0.125		11025
						0.250		12200
						0.260		  9725
						0.375		10425
						0.500		11025
						0.625		11725
						0.750		12425
						0.875		13125
						1.000	                13825
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 10
						 0.000		0.9
						 0.135		0.9
						 0.235		0.0
						 0.325		0.0
						 0.490		0.9
						 0.500		0.9
						 0.635		0.9
						 0.750		0.6
						 0.875		0.375
						 1.000		0.3
					)
					Granularity ( 0.05 )
				)				
			)
                                                Stream (
				Priority ( 6 )
                                                                Volume ( 0.8 )
				Triggers ( 2
					Skip( **** The engine/current related sounds - Stream 1 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 0.300 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt2a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 10
						0.000		11025
						0.125		11025
						0.250		12200
						0.260		  9725
						0.375		10425
						0.500		11025
						0.625		11725
						0.750		12425
						0.875		13125
						1.000	                13825
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 10
						 0.000		0.9
						 0.135		0.9
						 0.235		0.0
						 0.325		0.0
						 0.490		0.9
						 0.500		0.9
						 0.635		0.9
						 0.750		0.6
						 0.875		0.375
						 1.000		0.3
					)
					Granularity ( 0.05 )
				)				
			)
                                                Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.01   StartLoopRelease ( 1 File (  "CP_GG20B170x_Fahrt3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable1_Inc_Past  0.01	DisableTrigger ( 1 ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						0.0		11025
						5.0		13025
						10.0		17025
						17.0		20025
						25.0		23025
						
					)
					Granularity ( 100 )
				)
                                                                VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
						 0.000		1.0
						 0.005		1.0
						 0.010            1.0
						 0.020            1.0
						 1.000		1.0
				)
				Granularity ( 0.10 )
		                                	)
		                )
                                                Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.01   StartLoopRelease ( 1 File (  "CP_GG20B170x_Fahrt3a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable1_Inc_Past  0.01	DisableTrigger ( 1 ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						0.0		11025
						5.0		13025
						10.0		17025
						17.0		20025
						25.0		23025
						
					)
					Granularity ( 100 )
				)
                                                                VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
						 0.000		1.0
						 0.005		1.0
						 0.010            1.0
						 0.020            1.0
						 1.000		1.0
				)
				Granularity ( 0.10 )
		                                	)
		                )
			Stream (
				Priority ( 6 )
                                                                Volume ( 0.8 )
				Triggers ( 6
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 0.100 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.500  ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Inc_Past 0.550 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Dec_Past 0.500  StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.0100  ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 10
						0.000		8625
						0.125		8625
						0.250		9825
						0.375		11000
						0.500		12200
						0.501		8025
						0.625		9025
						0.750		10025
						0.875		11025
						1.000		12025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 8
						 0.000		0.0
						 0.100		0.0
						 0.235		0.9
						 0.370		0.9
						 0.505		0.0
						 0.605		0.45
						 0.775		0.75
						 1.000		0.9
					)
					Granularity ( 0.05 )
				)				
			)
                                                Stream (
				Priority ( 6 )
                                                                Volume ( 0.8 )
				Triggers ( 6
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 0.100 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt1a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.500  ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Inc_Past 0.550 	StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt3a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )

					Variable_Trigger ( Variable2_Dec_Past 0.500  StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt1a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.100  ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 10
						0.000		8625
						0.125		8625
						0.250		9825
						0.375		11000
						0.500		12200
						0.501		8025
						0.625		9025
						0.750		10025
						0.875		11025
						1.000		12025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 8
						 0.000		0.0
						 0.100		0.0
						 0.235		0.9
						 0.370		0.9
						 0.505		0.0
						 0.605		0.45
						 0.775		0.75
						 1.000		0.9
					)
					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 ( "CP_GG20B170x_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 ( "CP_GG20B170x_Bell.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					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 ( "../../dash9/sound/x_d9_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 6 )
				Triggers ( 1				
					Variable_Trigger (  Speed_Dec_Past 0.01 PlayOneShot ( 1 File ( "CP_GG20B170x_Compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
						
				)
			)
                                                Stream (
				Skip ( **** Brake Squeal **** )				
				Priority ( 6 )
                                                                Volume ( 3.0 )			
				Triggers ( 7				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "CP_GG20B170x_Brake.wav" -1 )
					SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )	
					Variable_Trigger ( Speed_Dec_Past 0.2	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 17.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						  -7.0		11000
						   0.0		12000
						   7.0		11000
						)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						  -5.0		0.0
						  -3.5		1.0
						   0.0		0.0
						   3.5		1.0
						   5.0		0.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the Train Brake & Independant Brakes to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 5
					Skip ( **** NOTE: Need to check if correct waves used for apply/release  	**** )
					Skip ( ****       Assumes 3 = Release, 1 & 2 = Apply  	                  **** )
				  
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "../../dash9/sound/x_d9_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "../../dash9/sound/x_d9_airb_auto1.wav" -1 ) File ( "../../dash9/sound/x_d9_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "../../dash9/sound/x_d9_airb_auto1.wav" -1 ) File ( "../../dash9/sound/x_d9_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../dash9/sound/x_d9_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../dash9/sound/x_d9_airb_ind1.wav" -1 ) File ( "CP_GG20B170x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
			Stream (
				Skip( **** Dynamic brakes **** )
				Skip( **** NOTE: Taken from Dash9 for modification.**** )
				Priority ( 6 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "CP_GG20B170x_dynb_dyn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		12025
						  1.0		17800
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
                Skip( **** ******************************************* **** )
	Skip( **** Copy of Generic Diesel SMS Used for SL 0    **** )
	Skip( **** ******************************************* **** )

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	Distance    	(500)	)
		Deactivation (	Distance    	(500)	)
		Streams ( 1
			Stream (
				Priority ( 4 )
				Triggers ( 6
					Variable_Trigger ( Speed_Inc_Past   1.0 StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  49.0 StartLoop   ( 1 File ( "CP_GG20B170x_Fahrt3.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 )
				)				
			)
		)
	)
)

Valid XHTML 1.0 Strict