SIMISA@@@@@@@@@@JINX0x1t______
Tr_SMS (

                Skip ( *** Sonido interior para coches remolque de talgo - Melquiadex Agosto 2005 *** )

		ScalabiltyGroup( 5
		Activation (			PassengerCam	()   Distance    	( 50 )		)
		Deactivation (		CabCam		()	ExternalCam ()			Distance    	( 50 )		)
		Stereo ()
		Streams ( 11
			Stream (
				Priority ( 9 )
           			            Volume ( 0.6 )
				Triggers ( 1
				Variable_Trigger ( Speed_Inc_Past  5.0	PlayOneShot ( 1
					File ( "tg-bienvenida.wav" -1 )
					SelectionMethod ( SequentialSelection ) ) )
 		                )
				)
			Stream (
				Priority ( 9 )
 		                      Volume ( 0.7 )
				Triggers ( 1
				Variable_Trigger ( Speed_Dec_Past 8.0
						PlayOneShot ( 3
							file( "tg-vigo.wav" -1 )
							file( "tg-albacete.wav" -1 )
							file( "tg-despedida.wav" -1 )
						SelectionMethod ( SequentialSelection )
						)
					)
				)
			)

			Stream (
				Priority ( 7 )
                                      		Volume ( 0.1 )
				Triggers ( 3
					Variable_Trigger ( Speed_Dec_Past  5.0	StartLoopRelease ( 1 File ( "frenos_talgo.wav" -1 )
												SelectionMethod ( SequentialSelection )))
					Variable_Trigger ( Speed_Dec_Past  2.0	ReleaseLoopReleasewithjump ( ) )
					Variable_Trigger ( Speed_Inc_Past  5.1	ReleaseLoopReleasewithjump ( ) )
				)
					VolumeCurve(  SpeedControlled  CurvePoints ( 5  
											5.00	 0.0    
											4.50	 0.4  
											1.00	 0.1 
											0.50	 0.05  
											0.01	 0.0 
                                                                             )
                                                                  Granularity  ( 0.05 ) )
			)
			Stream (
				Priority ( 7 )
				Triggers ( 1
					Dist_Travelled_Trigger ( Dist_Min_Max ( 1500 1500 )  Volume_Min_Max ( 0.2 0.3 )
						PlayOneShot   ( 1 File ( "Talgo_puerta.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					)
				)



			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.5 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past    0.01  StartLoop ( 1 File ( "marcha_talgo1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past    8.00  ReleaseLoopRelease ()      )
					Variable_Trigger ( Speed_Dec_Past    8.00  StartLoop ( 1 File ( "marcha_talgo1.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past    0.01  ReleaseLoopRelease ()      )
					 )
	
					VolumeCurve(
      			          SpeedControlled
      			          CurvePoints ( 6
        					                  0.00    0.0
        					                  1.00    0.2
        					                  2.00    0.5
        					                  6.00    0.5
        					                  7.00    0.2
         					                  8.00    0.0
           	                  )
         			      Granularity  ( 0.01 )
      		         )
				)
			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.5 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past    6.0  StartLoop ( 1 File ( "marcha_talgo2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   16.0  ReleaseLoopRelease ()      )
					Variable_Trigger ( Speed_Dec_Past   16.0  StartLoop ( 1 File ( "marcha_talgo2.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past    6.0  ReleaseLoopRelease ()      )
					 )
	
					VolumeCurve(
      			          SpeedControlled
      			          CurvePoints ( 6
        		                                  6.00    0.0
                          				    7.00    0.2
                         				    8.00    0.5
                       					   14.00    0.5
                     				         15.00    0.2
                      					   16.00    0.0

           	                  )
         			      Granularity  ( 0.01 )
      		         )
				)
			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.5 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past   14.0  StartLoop ( 1 File ( "marcha_talgo3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   24.0  ReleaseLoopRelease ()      )
					Variable_Trigger ( Speed_Dec_Past   24.0  StartLoop ( 1 File ( "marcha_talgo3.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   14.0  ReleaseLoopRelease ()      )
					 )
	
					VolumeCurve(
      			          SpeedControlled
      			          CurvePoints ( 6
        		                                 14.00    0.0
                          				   15.00    0.2
                         				   16.00    0.5
                       					   22.00    0.5
                     				         23.00    0.2
                      					   24.00    0.0

           	                  )
         			      Granularity  ( 0.01 )
      		         )
				)
			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.5 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past   22.0  StartLoop ( 1 File ( "marcha_talgo4.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   32.0  ReleaseLoopRelease ()      )
					Variable_Trigger ( Speed_Dec_Past   32.0  StartLoop ( 1 File ( "marcha_talgo4.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   22.0  ReleaseLoopRelease ()      )
					 )
	
					VolumeCurve(
      			          SpeedControlled
      			          CurvePoints ( 6
        		                                 22.00    0.0
                          				   23.00    0.2
                         				   24.00    0.5
                       					   30.00    0.5
                     				         31.00    0.2
                      					   32.00    0.0

           	                  )
         			      Granularity  ( 0.01 )
      		         )
				)
			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.5 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past   30.0  StartLoop ( 1 File ( "marcha_talgo5.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past   40.0  ReleaseLoopRelease ()      )
					Variable_Trigger ( Speed_Dec_Past   40.0  StartLoop ( 1 File ( "marcha_talgo5.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past   30.0  ReleaseLoopRelease ()      )
					 )
	
					VolumeCurve(
      			          SpeedControlled
      			          CurvePoints ( 6
        		                                 30.00    0.0
                          				   31.00    0.2
                         				   32.00    0.5
                       					   38.00    0.5
                     				         39.00    0.2
                      					   40.00    0.0

           	                  )
         			      Granularity  ( 0.01 )
      		         )
				)

			Stream (
               		Priority ( 7 )
                                      		Volume ( 0.6 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past 38.00  StartLoop ( 1 File ( "marcha_talgo6.wav" -1 )  SelectionMethod ( SequentialSelection )))
					Variable_Trigger ( Speed_Dec_Past 38.00 ReleaseLoopRelease ()	)
					)
	
					VolumeCurve(
						SpeedControlled
						CurvePoints ( 4
									38.00   0.0
									39.00   0.2
									40.00   0.5
								      60.00   0.5
					)
         			      Granularity  ( 0.01 )
      		         )
				)
Stream (
	Priority ( 9 )
	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) ) )
				)
    		       )
			   )
	                      )
	         )
            )
)