CCG/PFX: Horn Sounds

From TrainzOnline
< CCG
Jump to: navigation, search

Horn Sounds

Horn sounds are covered on Page 39, however it may be found difficult to get a good horn or whistle sound that can be looped. The sound files are:

- horn.wav:'Railyard' hornsound (non-looping.)
- horn_loop.wav:The looping hornsound used in 'Driver'.
- horn_start.wav:The starting sound played before the looping hornsound above.
- idle 1.wav:Generally used for the bell sound (bell keystroke = b.)

It is possible to put a very short (i.e. <0.5s) clip in as the horn_start.wav and the whole whistle/horn sound clip in as the horn_loop.wav. This allows the horn sound to still be latching (i.e. only sounds for as long as the H key is pressed), but the clip will be repeated after it is finished.

A period of silence (for 2 seconds or so) can be inserted after the end of the clip so as to stop it repeating straight away.

Horn Sound File Format

The file format for horn .wav sound files should be mono.

A 22050 (22 kHz) bit rate is sufficient. While Trainz can handle a 44 kHz bit rate file, it does not improve the sound quality in the game and doubles the size of the sound file.

Refer also to Kind HornSound for additional explanation on the use of sound files for locomotives.


Return to CCG Index

Content Creator's Guide

Personal tools