TS12 Doppler

From TrainzOnline
Revision as of 22:44, 14 April 2012 by Stovepipe (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TS12 Doppler Effects Configuration

Introduction

TS12 introduces Doppler sound effects for diesel (and maybe electric?) locomotives. This is the effect where a vehicle sounding a siren or horn approaches, passes, and recedes from an observer. The received frequency is higher (compared to the emitted frequency) during the approach, it is identical at the instant of passing by, and it is lower during the recession. See wikipedia for more information [1].

Configuration

To implement this effect some additional lines need to be added to the config.txt file of the locomotive sound asset, which has the KIND Enginesound. When searching in Content Manager use Category > Train Engine Sounds to display the sound assets available.

The additional tags required are

engine-sound-ramp-up-durations Length of wav file in seconds to 3 decimal place[start.wav,up 1 - 2.wav,up 2 - 3.wav,up 3 - 4.wav,up 4 - 5.wav,up 5 - 6.wav,up 6 - 7.wav,up 7 - 8.wav] engine-sound-ramp-down-durations Length of wav file in seconds to 3 decimal place[stop.wav,down 2 - 1.wav,down 3 - 2.wav,down 4 - 3.wav,down 5 - 4.wav,down 6 - 5.wav,down 7 - 6.wav,down 8 - 7.wav]

If there is no start.wav or stop.wav then enter 0 as the first number.

Examples

From the built-in TEM2-Enginesound,<kuid2:149682:1000002:1>

engine-sound-ramp-up-durations 14.706,7.086,4.241,4.861,3.017,2.245,2.278,5.119 engine-sound-ramp-down-durations 12.286,7.086,4.241,4.861,3.017,2.245,2.278,5.119

From the built in BR Class 37 enginesounds v2,<kuid:2512:53374> which has no start or stop .wav files.

engine-sound-ramp-up-durations 0,1.881,2.293,3.37,1.868,3.555,3.015,2.303 engine-sound-ramp-down-durations 0,1.881,2.293,3.37,1.868,3.555,3.015,2.352

Other

There is also a tag called :

engine-sound-ramp-duration 1

but I don't know what that does!

Personal tools