| Author |
Message |
1210_5910
Junior Train Controller
Joined: May 15, 2007 Last Visited: Nov 23, 2008 Location: Over the Hills & far away...
contact
|
post
|
|
Posted: Sun Apr 06, 2008 12:47 pm
|
Hi all
As some of you may know when you are playing with the orient express in MSTS, there is a piano sound in the bar car passenger view. I've figured out how to edit some of the values in the .sms files, however, could you add separate .mp3 tracks to the sound files of the coach? (this is someone who plays with music from itunes up full bore and the MSTS sounds down). Also I have noticed that the sounds are on a loop. Can you edit the values so that the tracks are not on a loop and will scroll through playing each track once?
Any response would be good
Cheers
K
|
|
 |
releismeoz
Locomotive Fireman
Joined: Mar 16, 2006 Last Visited: Nov 9, 2008 Location: Dubbo NSW Australia
contact
|
post
|
|
Posted: Sun Apr 06, 2008 2:37 pm
|
Hi 1210_5910,
There are 4 files used oe_pamb_piano2.wav,oe_pamb_piano2.wav,oe_pamb_full1.wav, oe_pamb_lite1.wav.The passenger view is programed in the oebarcar.wag file .
Inside (
PassengerCabinFile ( OEPassView.s )
PassengerCabinHeadPos ( -1.0149 2.35801 -5.47518 )
RotationLimit ( 30 80 0 )
StartDirection ( 0 0 0 )
Sound ("OEBarPas.sms" )
)
You could replace the wav files with your own just rename them as oe_pamb_piano2.wav ect.
You could replace the the OEBarPas.sms with another sms file I have a US passenger trainset which plays a bluegrass tune.If I copy the sms file from that train to the sound folder for the orient express and changed the program as below
Inside (
PassengerCabinFile ( OEPassView.s )
PassengerCabinHeadPos ( -1.0149 2.35801 -5.47518 )
RotationLimit ( 30 80 0 )
StartDirection ( 0 0 0 )
Sound ("TexasPas.sms" )
)
then I would hear the bluegrass in the orient express .
Iam not shore if you could us a mp3 file also not shore about modifying the sms file.
See if there is a tutoriol at http://steam4me.railpage.org.au/trainsim/
Regards Geoff
|
|
 |
releismeoz
Locomotive Fireman
Joined: Mar 16, 2006 Last Visited: Nov 9, 2008 Location: Dubbo NSW Australia
contact
|
post
|
|
Posted: Sun Apr 06, 2008 2:53 pm
|
Correction
I should have said"If I copy the sms file and wav file".
Also I have a track called "The Adelaide Train " wich I would like to use on an Aussie train at some stage.So I will have to have a play with it.
Geoff
|
|
 |
allanl
Train Controller
Joined: Oct 28, 2004 Last Visited: Nov 9, 2008 Location: Adelaide
contact
|
post
|
|
Posted: Sun Apr 06, 2008 5:54 pm
|
Hi
Well said Geoff. MP3 will not work - only .wav will work when prepared via the directions in the tutorial. Start with a small file first and master the requirements (e.g. a dog barking) before launching into a large file.
Cheers
allanl
|
|
 |
releismeoz
Locomotive Fireman
Joined: Mar 16, 2006 Last Visited: Nov 9, 2008 Location: Dubbo NSW Australia
contact
|
post
|
|
Posted: Sun Apr 06, 2008 11:13 pm
|
Thanks allanl,
I have got my "Adelaide Train" track installed.The file is 6.7mb and the song plays for 2.30 mins.It then plays again after a short pause,the only thing wrong is there is a distortion.
I downloaded an audio editing program called "Wavosaur" from http://www.wavosaur.com/ wich is free and only a small file as I had to resample the wave file as per the Tutorial on Steam4me.I will have to play around Wavosaur some more to see if I can fix the distortion.
Regards Geoff
|
|
 |
allanl
Train Controller
Joined: Oct 28, 2004 Last Visited: Nov 9, 2008 Location: Adelaide
contact
|
post
|
|
Posted: Mon Apr 07, 2008 8:42 am
|
Hi Geoff,
I think that distortion results from getting something wrong in prepping the .wav file - stereo/mono or something. I vaguely remember that .cab sounds are mono whereas .eng sounds are stereo and wrong way round gives distortion. I will hunt out the info today. It is all in the Steam4Me tutorial.
Cheers
Allan
|
|
 |
superheatedsteam
Chief Train Controller
Joined: May 19, 2004 Last Visited: Nov 23, 2008 Location: Perth, WA
contact
|
post
|
|
Posted: Mon Apr 07, 2008 1:25 pm
|
If you find the original sound file used in the passenger car and right click it then left click properties then left click the summary tab you will see what the settings for the WAV file are.
When I check the properties for the ‘oe_pamb_piano1.wav’ file I see the following information:
Bit Rate = 352 kbps
Audio sample size = 16 bit
Channels = 2 (Stereo)
Audio sample rate = 11 kHz
Audio Format = PCM
When you create a replacement WAV file then you need to ensure that the new WAV file has the same parameters as the one you are replacing. When saving the file most sound editing programs allow you to change these parameters.
Some files in MSTS are Stereo and some are Mono. If I remember correctly some may use different sample rates. In any case always ensure you replace like with like and you should not have any problems.
|
|
 |
releismeoz
Locomotive Fireman
Joined: Mar 16, 2006 Last Visited: Nov 9, 2008 Location: Dubbo NSW Australia
contact
|
post
|
|
Posted: Mon Apr 07, 2008 3:40 pm
|
Thanks Superheatedsteam,
I am using Vista and Properties only has general,security and details tabs.It only gives you the Type,Bit Rate,Time and File size.
However I downloaded Goldwave and resampled my wave file as per the tutorial on Steam4me.Goldwave now shows the following information on my file.
Time = 2mins 39 secs
Bit Rate = 352 kbps
Audio sample size = signed 16 bit
Channels = 2 (Stereo)
Audio sample rate = 11 kHz or 11025 Hz
Audio Format = Wave PCM
wich is the same for ‘oe_pamb_piano1.wav’ file except for the time.
Now my song plays OK and the slight distortion I am now getting is probably from the original file as I ripped it from an LP.
Cheers Geoff
|
|
 |
1210_5910
Junior Train Controller
Joined: May 15, 2007 Last Visited: Nov 23, 2008 Location: Over the Hills & far away...
contact
|
post
|
|
Posted: Tue Apr 08, 2008 10:27 am
|
Thanks to all of you for your input:D
Although there is another question that i have - is there anyway you can manipulate the sms file so that it doesnt just play the same loop over & over again?
I trialed an idea which was to build a .wav file with about 5/6 tunes in it (with applause in between tracks to create an illusion that the coach was full); this went for approx. 20 minutes and was about 164mb in size. However when i went to use the file, train sim loaded but froze when i went into the coach! Well I decided I would post my questions here after pulling that "stunt", but still it was kind of funny!
I should have known about the kbs, although I didnt know it made a difference.
Any answers to the above question would be good....
Thanks again all
K
|
|
 |
releismeoz
Locomotive Fireman
Joined: Mar 16, 2006 Last Visited: Nov 9, 2008 Location: Dubbo NSW Australia
contact
|
post
|
|
Posted: Tue Apr 08, 2008 2:39 pm
|
Hi 1210_5910,
You will be glad to know as I am that I have installed a wave file that contains 5 songs and plays for 20 mins then starts again.
It is 51.6 mb and I have tested it in several scenios and it does not seem to effect frame rates any more then normal.
It has the same attributes as shown in my previous reply.The original file size was 206 mb before being resampled.
I have several passenger views installed on my test trainset and with MSTS BIN by pressing the 5 key then F9
and by high lighting another carriage with a passenger view using your mouse then press 5 it will change to that passenger view.
All carriages with passenger views are "lit up" when F9 is pressed.
I want to see if each view can have different sound tracks.
If not then I will create an install file or several to install different sound files from the desktop .The install file to select a different sound file will have to be run before running Train Simulator .
The limitation as to the file size I have still to find out.
1210_5910
Thanks for starting this thread as Passenger View Sounds are the final element in my current project.
Regards Geoff
|
|
 |
1210_5910
Junior Train Controller
Joined: May 15, 2007 Last Visited: Nov 23, 2008 Location: Over the Hills & far away...
contact
|
post
|
|
Posted: Thu Apr 10, 2008 5:46 pm
|
Geoff you are welcome. To Every one else thanks for your input
I will try and rebuild the .wav file so that it works - i'll let you know the outcome.
Thanks again
K
|
|
 |
|
|