Page 1 of 1

Sound Regions

Posted: Wed Aug 13, 2008 2:49 pm
by JasVick
Hi folks, not sure if this has been asked before but here goes:

I have a set of announcements of platform messages that I would like to add to certain stations so that when the train either starts from that platform or passes through it, it plays the sound out once and can be heard within the train as well as outside. I tride to follow the instructions that come with MSTS on sound regions but whenever I am at the station in question, I hear nothing. Is anyone able to give me a template SMS which I could use for this to work from and an idea of how to place the sound on the track so that it works correctly? I would also like to know how I have to have the sound properties set as well as I think they maybe set to the wrong frequencies?

Many thanks in anticipation for any repsones,

Regards

Jason.

Re: Sound Regions

Posted: Wed Aug 13, 2008 4:52 pm
by jbilton
Hi Jason
There are a lot of variables there.
I will suggest that if you already have a sound region that works in the route.
You copy the sms file and rename it.
Then edit the name of the wav file it plays to one of your wav files.
To add it to your route you need to edit the ssource.dat file, adding it to the list, and increasing the total by 1.
You can use Wordpad as an editor.

Cheers
Jon

Re: Sound Regions

Posted: Wed Aug 13, 2008 5:31 pm
by rlmathers
Hi Jason

You need to use a sound source, not a sound region. With a .sms and .wav file in the Sound folder of the route.

The following apply:

Audio format Wav PCM
Average data rate 44.10 kb/sec
Sample rate 11.25 kHz
Audio sample size 16 bit
Channels 2: Stereo

Example of a suitable .sms file:

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



Tr_SMS (

ScalabiltyGroup( 3
Activation (
CabCam ()
ExternalCam ()
Distance (100)
)
Deactivation (

Distance (100)
)
Volume ( 1.0)
Stereo ( )
Streams ( 1
Stream (
Priority ( 2 )
Triggers ( 2
Variable_Trigger ( Distance_Dec_Past 500
PlayOneShot ( 1
File ( "Plat_Annouce.wav" -1 )
SelectionMethod ( SequentialSelection )
)
)
Variable_Trigger ( Distance_Inc_Past 510
ReleaseLoopRelease ()
)
)
VolumeCurve(
DistanceControlled
CurvePoints ( 3
0.0 1.0
200.0 1.0
200.0 0.0
)
Granularity (0.01)
)
)
)
)
)

The sound needs to be identified within the ssource.dat file.

Eg. Sound ( Name ( "Platform Annouce" ) FileName ( "Plat_Announce.sms" ) )

before using the Route Editor to place the sound source.

Kindest regards
Ray

Re: Sound Regions

Posted: Thu Aug 14, 2008 10:02 am
by JasVick
You stupid boy Pike! :argue:

"To add it to your route you need to edit the ssource.dat file, adding it to the list, and increasing the total by 1."

Think I forgot to do above!!!!! :bad-words:

And thanks for the data Ray, will try that if above doesn't work but I got a feeling thats what I forgot now its mentioned...... :lol: