PDA

View Full Version : Sound Sources



OTTODAD
02-12-2003, 07:51 PM
Put a Sound Sources Pillar next to the track in my TEST Route, the "Looping Bell Sound".

Can hear it loud and clear in the Route Editor but not when the train is passing it's location, neither from inside the cab nor outside in the 2 View.

What I am looking for is a way to make the Train passing a certain location trigger a Sound.

Not much on the subject in Mike Vones Guide either. Any ideas ?

O t t o

Mark_Blum
02-12-2003, 08:19 PM
Ottodad

Look in or ask in the sound forum if you haven't already. I think I've seen something. I recall someone talking about putting brake or wheel noise in a curve, to be triggered by a passing train. I asked once about triggering a horn loop on an AI train - thinking if we could make the gates come down, surely we could blow the horn - but the folks in the sound forum said it couldn't be done. Had some serious intereest from them, though - and a few of them tried various things - unsuccessfully :-(

Good luck!

Mark
A Southern Railway Fan

Fred_Huntley
02-12-2003, 10:14 PM
FWIW, I made a Sound Source of a UP detector, reporting the axle count and no defects of a passing train. I really made it just to see if it would work. The trick was to get it to report only once. I don't know if it will help, but below is the .sms file. You could replace the "detector4.wav" statement with your "looping_bell.wav" and see if it works.

[font color=blue]SIMISA@@@@@@@@@@JINX0x1t______

Tr_SMS (

ScalabiltyGroup( 3
Activation (
CabCam ( )
Distance ( 1000 )
)
Deactivation (
ExternalCam ( )
PassengerCam( )
Distance ( 1000 )
)
Volume ( 1.0 )
Stereo ( )
Streams ( 1
Stream (
Priority ( 2 )
Triggers ( 2
Variable_Trigger ( Distance_Dec_Past 10 PlayOneShot ( 1 File
( "detect4.wav" -1 )
SelectionMethod ( RandomSelection ) ) )
Variable_Trigger ( Distance_Inc_Past 20 ReleaseLoopRelease ( ) ) )

VolumeCurve(
DistanceControlled
CurvePoints ( 3
0.0 1.0
500.0 1.0
1000.0 1.0
)
Granularity ( 0.01 )
) ) ) ) )[/font color=blue]



If you want to hear it outside the cab, move the EXTERNALCAM () and PASSENGERCAM () statements so they are under Activation. I figured that the detector would only be heard in the cab, so that's why it's this way.

If you want the bell to fade, change the right column of numbers under the VOLUMECURVE statements to something like:

[font color=blue]VolumeCurve(
DistanceControlled
CurvePoints ( 3
0.0 1.0
500.0 0.5
1000.0 0.0[/font color=blue]

This would make the sound half as loud at 500 meters, and completely off at 1000 meters.