Digital Rails

HomeContentLoco_TFM1428_SD40-2.zip

File: Loco_TFM 1428_SD40-2/Sound/sd402eng.sms

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


Tr_SMS (
	Skip ( ** New Sounds for SD40 SD40-2 GP40 GP40-2 ** )
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(15000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)

		Streams ( 13
			Stream (
				Priority ( 6 )
				Triggers ( 2
                              Skip( **** Engine-Sound **** )
					Initial_Trigger  (  StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 9
						0.00        11025
						0.125       10400
						0.25        14000
						0.375       17000
						0.50        20000
						0.625       21000
						0.75        1000
						0.875       1000
                                    1.00        1000
					)
					Granularity ( 100 )
				)
                        VolumeCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        0.8
                                    0.125       0.8
                                    0.25        0.8
                                    0.375       0.4
                                    0.50        0.1
                                    0.625       0.0
                                    0.75        0.0
                                    0.875       0.0
                                    1.00        0.0
                              )
                              Granularity ( 0.01 )
                        )		
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Skip( **** Engine-Sound **** )
                              Initial_Trigger  ( StartLoop   ( 1 File ( "x_SD40engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 9
						0.00        6500
						0.125       6500
						0.25        8000
						0.375       9000
						0.50        10000
						0.625       11000
						0.75        12000
						0.875       13000
						1.00        13000
					)
					Granularity ( 100 )
				)
                        VolumeCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        0.1
                                    0.125       0.1
                                    0.25        0.4
                                    0.375       1.0
                                    0.50        1.0
                                    0.625       0.2
                                    0.75        0.0
                                    0.875       0.0
                                    1.00        0.0
                              )
                              Granularity ( 0.01 )
                        )				
			)
                  Stream (
                        Priority ( 6 )
                        Triggers ( 2
                              Skip( **** Engine-Sound **** )
                              Initial_Trigger  ( StartLoop   ( 1 File ( "x_SD40engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

                        )
                        FrequencyCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        5000
                                    0.125       5000
                                    0.25        6000
                                    0.375       8000
                                    0.50        9000
                                    0.625       10000
                                    0.75        11000
                                    0.875       12000
                                    1.00        13000
                              )
                              Granularity ( 100 )
                        )
                        VolumeCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        0.0
                                    0.125       0.0
                                    0.25        0.0
                                    0.375       0.0
                                    0.50        0.0
                                    0.625       0.0
                                    0.75        0.2
                                    0.875       0.6
                                    1.00        0.4
                              )
                              Granularity ( 0.01 )
                        )
                  )
                  Stream (
                        Priority ( 6 )
                        Triggers ( 2
                              Skip( **** Engine-Sound **** )
                              Initial_Trigger  ( StartLoop   ( 1 File ( "x_SD40engine6B.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

                        )
                        FrequencyCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        1000
                                    0.125       1000
                                    0.25        1000
                                    0.325       9000
                                    0.50        9000
                                    0.625       10000
                                    0.75        11000
                                    0.875       12000
                                    1.00        13000
                              )
                              Granularity ( 50 )
                        )
                        VolumeCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        0.0
                                    0.125       0.0
                                    0.25        0.0
                                    0.325       0.0
                                    0.50        0.2
                                    0.625       1.0
                                    0.75        1.0
                                    0.875       0.2
                                    1.00        0.0
                              )
                              Granularity ( 0.01 )
                        )
                  )
                  Stream (
                        Priority ( 6 )
                        Triggers ( 2
                              Skip( **** Engine-Sound **** )
                              Initial_Trigger  ( StartLoop   ( 1 File ( "x_SD40engine8.wav" -1 )   SelectionMethod ( Sequentialselection ) ) )

                        )
                        FrequencyCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00        1000
                                    0.125       1000
                                    0.25        1000
                                    0.325       1000
                                    0.50        1000
                                    0.625       8300
                                    0.75        9300
                                    0.825       10200
                                    1.00        11200
                              )
                              Granularity ( 35 )
                        )
                        VolumeCurve(
                              Variable2Controlled
                              CurvePoints ( 9
                                    0.00          0.0
                                    0.125         0.0
                                    0.25          0.0
                                    0.325         0.0
                                    0.50          0.0
                                    0.625         0.0
                                    0.75          0.0
                                    0.825         0.3
                                    1.00          0.8
                              )
                              Granularity ( 0.01 )
                        )
                  )
                  Stream (
                        Priority ( 6 )
                        Triggers ( 2
                              Skip ( **** Traction-Motor **** )
                              Initial_Trigger  ( StartLoop   ( 1 File ( "x_SDtractionmotor.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

                        )
                        FrequencyCurve(
                              SpeedControlled
                              CurvePoints ( 9
                                    -40           12000
                                    0             0
                                    5             3000
                                    10            6000
                                    15            9000
                                    20            12000
                                    25            16000
                                    35            18000
                                    40            20000
                              )
                              Granularity ( 25 )
                        )
                        VolumeCurve(
                              SpeedControlled
                              CurvePoints ( 9
                                    -40           0.5
                                    0             0.0
                                    5             0.3
                                    10            0.5
                                    15            0.6
                                    20            0.7
                                    25            0.8
                                    35            0.8
                                    40            0.8
                              )
                              Granularity ( 0.01 )
                        )
                  )
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
                        Volume ( 0.9 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_SD40_horn1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Volume( 0.9 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "../../GP38/sound/x_gp_bell1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the sander to be played at the same time  	**** )				
				Priority ( 5 )
                        Volume ( 0.2  )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "../../GP38/sound/x_gp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** AirBlast **** )				
				Priority ( 6 )			
				Triggers ( 1
                              Random_Trigger ( Delay_Min_Max ( 36 60 )  Volume_Min_Max ( 0.5 0.5 )
                              PlayOneShot  ( 1 File ( "x_AirBlast.wav" -1 )   SelectionMethod ( RandomSelection ) ) )       
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake & Independant Brakes to be played at the same time  	**** )
				Priority ( 5 )
                        Volume ( 0.3 )
				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 ( "x_gp_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../GP38/sound/x_gp_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../GP38/sound/x_gp_airb_ind1.wav" -1 ) File ( "../../GP38/sound/x_gp_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Skip( **** Dynamic brakes **** )
				Priority ( 6 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "x_SD40_dynb_E.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		8025
						  1.0		14400
					)
					Granularity ( 100 )
				)
                        VolumeCurve(
                              Variable3Controlled
                              CurvePoints ( 2
                                      0.0        0.6
                                      1.0        0.9
                              )
                              Granularity ( 0.01 )
                        )
			)
			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 ( ** SL 3 sounds - Two looping audio stream, idle wave and 3 moving waves - pitch shifted & Xfaded by rpm               ** )
	Skip ( **             - One Horn audio stream				                                								                         ** )
	Skip ( **             - One Bell audio stream				                                								                         ** )
	Skip ( **             - One Sander audio stream				                                            	                         ** )
	Skip ( **             - One Compressor audio stream				                                        	                         ** )
	Skip ( **             - One TBrake & IBrake audio stream {as only one shots for apply and off - unkilely to be at same time} ** )
	Skip ( **             - One DBrake audio stream				                                            	                         ** )
	ScalabiltyGroup( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 8
			Stream (
				Priority ( 6 )
				Triggers ( 7
					Skip( **** The engine/current related sounds - Stream 1 {Xfade}         **** )
					Initial_Trigger  ( 							            StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.010 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 0.300 StartLoop   ( 1 File ( "x_SD40engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.700 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.700 StartLoop   ( 1 File ( "x_SD40engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.010 StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		11000
						0.300		11000
						0.700		12000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 0.004 StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.350 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Inc_Past 0.650 StartLoop   ( 1 File ( "x_SD40engine8.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.650 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.350 StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.004 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 6
						0.000		11000
						0.005		11000
						0.350		12000
						0.400		12000
						0.650		11000
						1.000		12000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_SD40_horn1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the bell to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "../../GP38/sound/x_gp_bell1.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 ( "../../GP38/sound/x_gp_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 ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "../../GP38/sound/x_gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			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 ( "x_gp_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../GP38/sound/x_gp_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../GP38/sound/x_gp_airb_ind1.wav" -1 ) File ( "../../GP38/sound/x_gp_airb_ind2.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 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "x_SD40_dynb_E.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		8025
						  1.0		14800
					)
					Granularity ( 100 )
				)
			)
		)
	)

	Skip ( ** SL 1 sounds - One looping audio stream, idle wave and moving - pitch shifted by rpm     ** )
	Skip ( **             - One Horn audio stream				                                              ** )
	ScalabiltyGroup( 1
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 2
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( 							           StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "x_Sd40engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "x_SD40-2_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		10000
						0.010		10000
						1.000		11000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_SD40_horn1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
		)
	)

	Skip( **** ******************************************* **** )
	Skip( **** Copy of Generic Diesel 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 ( "SD40engineAI.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 StartLoop   ( 1 File ( "SD40engineAI.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  49.0 StartLoop   ( 1 File ( "SD40engineAI.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  49.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past   1.0 ReleaseLoopRelease () )					
				)				
			)
		)
	)
)

Valid XHTML 1.0 Strict