TS12 Doppler

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(TS12 Doppler Effects Configuration)
(TS12 Doppler Effects Configuration)
Line 11: Line 11:
  
 
The additional tags required are  
 
The additional tags required are  
<nowiki>
+
 
 
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-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]</nowiki>
+
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.  
 
If there is no start.wav or stop.wav then enter 0 as the first number.  
Line 21: Line 21:
 
From the built-in TEM2-Enginesound,<kuid2:149682:1000002:1>
 
From the built-in TEM2-Enginesound,<kuid2:149682:1000002:1>
  
<nowiki>engine-sound-ramp-up-durations          14.706,7.086,4.241,4.861,3.017,2.245,2.278,5.119
+
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</nowiki>
+
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.
 
From the built in BR Class 37 enginesounds v2,<kuid:2512:53374> which has no start or stop .wav files.
  
<nowiki>engine-sound-ramp-up-durations          0,1.881,2.293,3.37,1.868,3.555,3.015,2.303
+
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</nowiki>
+
engine-sound-ramp-down-durations        0,1.881,2.293,3.37,1.868,3.555,3.015,2.352
  
 
'''Other'''
 
'''Other'''
Line 36: Line 36:
  
 
but I don't know what that does!
 
but I don't know what that does!
 +
 +
--[[User:stovepipe|stovepipe]] 12:46, 14 April 2012 (UTC)

Revision as of 22:46, 14 April 2012

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!

--stovepipe 12:46, 14 April 2012 (UTC)

Personal tools