Train-Sim.Com
MSTS Sound Design

? about ScalabilityGroup 0

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #522

Charter Member · 273 posts

I was messing with the USATrack0in.sms file to see if I could improve the onset of AI train sounds as heard from the cab during a meet or pass-by. This works:ScalabiltyGroup( 0
Activation ( Distance ( 400 ) TrackType ( 0 ) CabCam() PassengerCam())
Deactivation( Distance ( 400 ) TrackType ( 0 ) ExternalCam() )
Stereo ( )
Streams ( 2
Stream (
Priority ( 6 )
Volume ( 0.25 )
Triggers ( 4
Variable_Trigger ( Speed_Inc_Past 1.0 StartLoop ( 1 File ( "mp_rail_low8.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Speed_Inc_Past 40.0 ReleaseLoopRelease () )
Variable_Trigger ( Speed_Dec_Past 40.0 StartLoop ( 1 File ( "mp_rail_low8.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Speed_Dec_Past 1.0 ReleaseLoopRelease () )
)
VolumeCurve( SpeedControlled CurvePoints ( 4 0.0 0.0 15.0 1.0 35.0 1.0 40.0 0.0 ) Granularity ( 0.05 ) )
)
Stream (
Priority ( 6 )
Volume ( 0.35 )
Triggers ( 2
Variable_Trigger ( Speed_Inc_Past 35.0 StartLoop ( 1 File ( "mp_rail_high1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Speed_Dec_Past 35.0 ReleaseLoopRelease () )
)
VolumeCurve( SpeedControlled CurvePoints ( 4 0.0 0.0 35.0 0.0 40.0 0.6 100.0 0.6 ) Granularity ( 0.05 ) )
)
)
)
)Because of the incredibly high speeds Kuju chose for the crossover, you'll never hear the high speed stream, but the volume control worked.
So, I thought: can I "taper" the sounds with a volume curve controlled by distance (got the idea from the invisicar)?This did not work:ScalabiltyGroup( 0
Activation ( Distance ( 500 ) TrackType ( 0 ) CabCam() PassengerCam())
Deactivation( Distance ( 500 ) TrackType ( 0 ) ExternalCam() )
Stereo ( )
Streams ( 1
Stream (
Priority ( 6 )
Triggers ( 2
Variable_Trigger ( Distance_Dec_Past 400 StartLoop ( 1 File ( "mp_rail_low8.wav" -1 )
SelectionMethod ( SequentialSelection ) ) )Variable_Trigger ( Distance_Inc_Past 400 ReleaseLoopRelease () ) )
)
VolumeCurve (
DistanceControlled
CurvePoints ( 4
0.0 .25
100.0 .20
250.0 0.15
400.0 0.0
)
Granularity ( 0.05)
)
FrequencyCurve (
DistanceControlled
CurvePoints ( 2
0.0 11025
400.0 11025
)
Granularity ( 100 )
)
)
)
)
)
The sound plays at full volume. The starting and ending distance part worked, but the volume played at full for the whole pass-by.Do volume curves not work in ScalabilityGroup 0? Or do I have some syntax or something wrong? It appears that the Kuju volume curve is not honored either .... at the pass-by speed the volume should have been around .5 or less.krswen

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

RE: ? about ScalabilityGroup 0, awaken77, Nov-03-03, 03:28 AM, (1) RE: ? about ScalabilityGroup 0, chucksc, Nov-03-03, 11:29 AM, (2) RE: ? about ScalabilityGroup 0, wdq4587, Nov-03-03, 08:34 PM, (3) RE: ? about ScalabilityGroup 0, krswen, Nov-03-03, 09:16 PM, (4) RE: ? about ScalabilityGroup 0, scefhwil, Nov-04-03, 02:11 PM, (5) RE: ? about ScalabilityGroup 0, csantucci, Nov-08-03, 09:37 AM, (6)

Conferences | Topics | Previous Topic | Next Topic

Member since May-6-03 · 181 posts

RE: ? about ScalabilityGroup 0

Click to send message via ICQ

I met the same problem when added distance-controlled horns for my AI locomotives. It should be muted at distance 700 and loud at distance 100 but in reality it is equally loud at any distance
So I made 2 versions of .wav file, decreased volume for the distant horn in sound editor.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 4158 posts

RE: ? about ScalabilityGroup 0

Ken,I feel your pain! I've put this on the back burner for a while myself....
Got too frustrated with it.....
The only thing I've really been able to make work right in SL0 are the speed related triggers playing separate wave files and the constantly playing "stuff" like vents/blowers....Chuck Schneider
(Virtual) CEO
North American (Virtual) Locomotive Works? about ScalabilityGroup 0 – image 1

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Apr-5-03 · 198 posts

RE: ? about ScalabilityGroup 0

What's the track sound mean? Does every car have it's own instance of track sound? Or only the track nearest you have sound? And what's the distance mean? Distance from car to view point or track to view point??And does you actually verified "The starting and ending distance part worked"? I mean 400 is a long distance, may be you can set it to 1 and see does it still work?

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 273 posts

RE: ? about ScalabilityGroup 0

The way it works is that if I'm sitting in the cab and an AI train comes by on another track (does not have to be the one nearest me) when it's first locomotive is 400 meters away I begin to hear the track sound. It continues until the last car is receding 400 meters away from me still sitting in the cab of my locomotive.I experimented with various settings and 400 meters seemed to stop the sound while the train was still visible .... you could set it to a diferent distance if you prefer.krswen

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 250 posts

RE: ? about ScalabilityGroup 0

The issue is to do with the Stereo() command. When this is used then the Streams of the sms are allocated to 2D buffers, not 3D ones. Hence there are no 3D effects, which is why Distance triggers don't work, but Speed ones do. You can see this happen in the Sound Test Interface.Personally I don't use the Internal track regions for AI train sounds. Instead I have Activated CabView and PassengerView in SG0 of the external track regions.Stuart

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 30 posts

RE: ? about ScalabilityGroup 0

I fully agree with Stuart.
To be more exhaustive, You have the best results if You use SG0 only in ...eng.sms, ...ex.sms (track files) and the various external wagon sms (GenPassWagmodern.sms and so on) files, and if You activate there all Cam types (CabCam, PassengerCam and ExternalCam). This is near to the opposite to what MS has used within its original .sms files, and is one of the reasons of the poor sound quality of the original MSTS files.Carlo

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured January 7, 2004. About this archive.