Improving your MSTS sounds
Posted: Sat Oct 12, 2002 9:28 pm
Since discovering the Sound Test Interface some of the 'innerds' of the Sound Management System (sms) have been exposed, and we users can benefit.
Did you know that regardless of your sound card (£5 or £100) the same resource setup is used? The main implication of this is that by default the sim uses 40 3D and 20 2D streams/voices/buffers (whatever the correct terminology is) ie the ability to play independant sound simultaneously. (Note: If your sound card suppords hardware accelaration then these buffers are used in preference over software ones).
That means max 60 simultaneous sound for all. Seems alot? Well maybe for the default sounds but if you are using any of the loco/coach/wagon sounds I have been involved in developing then not. Player loco takes up 11, each coach 3, (10 coach train = 41), an AI loco 3, wagons in a passing train 2 each (20 wagon traffic = 43). Add to these background, environment, and track sounds, 60 ain't enough and sounds have to be dropped.
Well you can have more! If your sound set up is at High and performs ok then try the following. Go to the Global folder and make a backup copy of soundcfg.dat. Open the original one for editing (unicode stuff applies). Look for this line near the bottom
SoundSystem ( 5, 40, 20, 31457280 )
The 40 sets the 3D buffers, the 20 sets the 2D buffers. Leave the 20 as it is as the cabview sounds all require 2D buffers. Increase the 40. I have been using 200 for a good few weeks without any problems and no noticeable loss in performance. My line is
SoundSystem ( 5, 200, 20, 31457280 )
I don't know how many simultaneous sounds my sound card can play but it is more than 60 for sure. Maybe it's less than 200, but I can't tell.
Give it a go. Of course your PC spec will be different to mine so I can't guarantee anything, but I do only have a 1.33 Athlon, 512 Mb RAM and a £10 5.1 CMedia chip based sound card. If things go funny go back to the default settings.
Stuart
Did you know that regardless of your sound card (£5 or £100) the same resource setup is used? The main implication of this is that by default the sim uses 40 3D and 20 2D streams/voices/buffers (whatever the correct terminology is) ie the ability to play independant sound simultaneously. (Note: If your sound card suppords hardware accelaration then these buffers are used in preference over software ones).
That means max 60 simultaneous sound for all. Seems alot? Well maybe for the default sounds but if you are using any of the loco/coach/wagon sounds I have been involved in developing then not. Player loco takes up 11, each coach 3, (10 coach train = 41), an AI loco 3, wagons in a passing train 2 each (20 wagon traffic = 43). Add to these background, environment, and track sounds, 60 ain't enough and sounds have to be dropped.
Well you can have more! If your sound set up is at High and performs ok then try the following. Go to the Global folder and make a backup copy of soundcfg.dat. Open the original one for editing (unicode stuff applies). Look for this line near the bottom
SoundSystem ( 5, 40, 20, 31457280 )
The 40 sets the 3D buffers, the 20 sets the 2D buffers. Leave the 20 as it is as the cabview sounds all require 2D buffers. Increase the 40. I have been using 200 for a good few weeks without any problems and no noticeable loss in performance. My line is
SoundSystem ( 5, 200, 20, 31457280 )
I don't know how many simultaneous sounds my sound card can play but it is more than 60 for sure. Maybe it's less than 200, but I can't tell.
Give it a go. Of course your PC spec will be different to mine so I can't guarantee anything, but I do only have a 1.33 Athlon, 512 Mb RAM and a £10 5.1 CMedia chip based sound card. If things go funny go back to the default settings.
Stuart