3 Part Horn Sounds

PEV

Active member
I am writing an application to test Trainz sounds and I would like to include 3 part horn sounds.. However, I find they are almost non-existent...

Does any one know of a 3 part sound on the DLS, that I can download for testing/development purposes..

Thanks in advance.
 
Not sure what you mean by 3 part, all the ones I've seen have a horn_start.wav, horn_loop.wav, and horn_end.wav, along with an idle1.wav and/or bell.wav - the "idle" in all the ones I looked at was actually the bell, possibly it's something else for the non US locos that don't have bells.
 
I am writing an application to test Trainz sounds and I would like to include 3 part horn sounds.. However, I find they are almost non-existent...

Does any one know of a 3 part sound on the DLS, that I can download for testing/development purposes..

Thanks in advance.

Well... I dont know of any on the DLS... But you might want to talk to a member that goes by the name of Mutanay77, I think he would probably be pretty happy to help you out!
 
I was mucking about with horn sounds the other day. I found that "horn_end", sadly, does nothing at all.

Horn_start.wav leads into horn_loop.wav which is looped as along as you have the horn on.

horn.wav is used in the Railyard only.

http://online.ts2009.com/mediaWiki/index.php5/KIND_Hornsound

Note that in the above wiki aritcle, the three part uses different names; in a subdirectory "horn", and appears to NOT be able to also have a bell sound (?!?)

Sad really, I remember back in MSTS that you used ONE wav with embeded markers that told the program where the beginning, looped, and end parts were. Hit the horn on and it would play the first segment, loop the middle segment, and when released play the end segment. Weird to think that old program had a more advanced horn sound then Trainz does today... :(
 
I don't know of any on the DLS either at the moment, but I have made a few of them; I like a little echo with certain whistles. I could probably put one of mine up on the DLS if you like.

I was mucking about with horn sounds the other day. I found that "horn_end", sadly, does nothing at all.

Horn_start.wav leads into horn_loop.wav which is looped as along as you have the horn on.

horn.wav is used in the Railyard only.

http://online.ts2009.com/mediaWiki/index.php5/KIND_Hornsound

Note that in the above wiki aritcle, the three part uses different names; in a subdirectory "horn", and appears to NOT be able to also have a bell sound (?!?)

Sad really, I remember back in MSTS that you used ONE wav with embeded markers that told the program where the beginning, looped, and end parts were. Hit the horn on and it would play the first segment, loop the middle segment, and when released play the end segment. Weird to think that old program had a more advanced horn sound then Trainz does today...
afrown.gif

horn_end does nothing at all when it's in a two-part hornsound, true. When it's designed as a three-part hornsound, everything works right - press "H" and it plays the first segment, loops the middle segment, and when you release "H" it plays the end segment. And you can have a bell. A working three-part hornsound's directory looks like this:

hornrootfolder
--horn [subfolder]
----idle 1.wav (loop)
----start.wav
----stop.wav
--config.txt
--idle 1.wav (bell)

Great example of one in action:
http://kltrainz.com/videos.html#
 
Last edited:
I was mucking about with horn sounds the other day. I found that "horn_end", sadly, does nothing at all.

Horn_start.wav leads into horn_loop.wav which is looped as along as you have the horn on.

horn.wav is used in the Railyard only.

http://online.ts2009.com/mediaWiki/index.php5/KIND_Hornsound

Note that in the above wiki aritcle, the three part uses different names; in a subdirectory "horn", and appears to NOT be able to also have a bell sound (?!?)

Sad really, I remember back in MSTS that you used ONE wav with embeded markers that told the program where the beginning, looped, and end parts were. Hit the horn on and it would play the first segment, loop the middle segment, and when released play the end segment. Weird to think that old program had a more advanced horn sound then Trainz does today... :(

More advanced? You have not heard any of mutanay77's new hornsounds yet then? MSTS system of doing it might sound fancy, but that does not always = awesomeness.... MSTS sounds are so dull and ridiculous... They dont even live up to RW standards.... And thats pretty low....
 
I was mucking about with horn sounds the other day. I found that "horn_end", sadly, does nothing at all.

Horn_start.wav leads into horn_loop.wav which is looped as along as you have the horn on.

The TRS methods for reproducing horn/whistle sounds aren't anywhere near as clean and precise as a digital sampling synthesizer would use, so you can't use the normal techniques of making short, precise start-sustain-end sound files. What would work perfectly on a digital sampler won't necessarily work (correctly) in Trainz.

The horn end (stop.wav) won't end up working right if it's too short in duration. The (too-short) stop.wav will actually play, but your ear probably won't detect it playing because of the sloppy way it gets mixed in with the sustained sound (idle 1.wav).

The same is true of horn start (start.wav). If it's too short you'll get a few milliseconds worth of silence in between the start.wav and the sustaining sound (idle 1.wav). Yuk!

If you like, download this CDP of my 3-part whistle sound. It should work correctly with start-sustain-end, etc. Edit it in Content Manager and browse into the "horn" found and have a look at the wavs. The files marked "copy", e.g., start - copy.wav, etc., are the "too short" versions of the working versions of the sound files. Swap out the sounds by renaming and you'll see what I mean about the too-short versions (* - copy) of the start.wav and stop.wav not working correctly.

Start.wav and stop.wav are probably suppose to be files of a given length of duration (perhaps around 1.5 seconds in length?), although nothing about length is mentioned in the documentation. Files around .7 seconds in duration are definitely "too short" to work correctly based on what I've tried.
 
Last edited:
I am writing an application to test Trainz sounds and I would like to include 3 part horn sounds.. However, I find they are almost non-existent...

Does any one know of a 3 part sound on the DLS, that I can download for testing/development purposes..

Thanks in advance.
Remember the 14xx horn I asked you to supply recordings from The Titfield Thunderbolt for? Well, it is 3 part, and is on the DLS. Feel free to download and check out how it works.
 
I will be very happy to help you with 3 part horns, but unfortunately mine are two part written as 3 part in the config. If you contact stevelerro from this forum, he makes wicked TRUE 3 part horns he can send you!
 
Yes, they certainly work, PEV, however, I am still trying to master them myself. Every 3 part horn I make seems to have a pause before the end of the toot.
 
More advanced? You have not heard any of mutanay77's new hornsounds yet then? MSTS system of doing it might sound fancy, but that does not always = awesomeness.... MSTS sounds are so dull and ridiculous... They dont even live up to RW standards.... And thats pretty low....

I wasn't referring to the sound file quality, I was referring to the system and it's use of start-middle-end.

That said I now see in other replies the use of the 3 part system, which I will be checking out later.

This somewhat dovetails into another post I made earlier - why oh why, if this more advanced system exists, did N3V not make all the horns in use in TS12 these superior 3 part hornsounds??

Anyway, dead horse that.

I think this "previewer" is a GRAND idea - one of the reasons I haven't heard these 3 part sounds is because of all the crap you have to do to just hear a hornsound discourages me from auditioning them.

That and the fact that the few I've checked out have sounded totally unacceptable to me. They sounded a crossing blast all by themselves (Nice for AI maybe, but not for me driving), sounded like they were recorded from 5 miles away, sounded like they were recorded from 5mm away, etc.
 
I'm still trying to figure out what we're talking about here. To me, this;

85531508.jpg


Is a "three part" horn, has a start, loop, and end wav. This;

Les%20S-3L.jpg


Is a three CHIME air horn, is that what we're talking about?
 
mutanay77, just visited your website and so many horn sounds. I use mostly NS, CSX and SP locos in most configerations: Dash 8, 9, SD40-2, SD70 but I have no idea which horn to use for any particular loco. Is there a chart, list or something of that sort that would help me choose the correct horn? Thanks for efforts and hard work.
 
A 3 part hornsound, must have the sound files for the horn placed in a subdirectory called "horn".

The lead-in sound should be named "start.wav". plays when the rope is first pulled
the loop should be named "idle 1.wav". plays continuously while the rope is held down
the lead-out sound should be named "stop.wav". plays when the rope is released

The bell sound is again called "idle 1.wav" and is located in the root folder.

The following config.txt tags define a 3 part horn sound:
Code:
kind		"hornsound"
two-part	0
three-part	1

Footnote: I've tested the application on Win7 and it works poorly, with gaps in the sound transitions (it's fine on my WinXP PC). Also I have been unable to get the pitch and speed changing to work with the existing method. As a result I will have to substantially change how it works.
 
Last edited:
Hmmm, okay, the ones I'm looking at have two-part 1, all the wav files in the root, no subfolders. Names are start loop and end for the horn, the ones that have an idle 1.wav that's actually the bell. I'll look and see if I can find one with that format.

wv-usa, that's a three CHIME horn, not a three PART horn. I think what PEV is looking for here is a Trainz hornsound asset that comes in three parts, not a 3 chime as opposed to 5 chime airhorn sound.
 
Last edited:
I ended up creating my own 3 part hornsound using the filenames and folders specified in the CCGTC.

My sound testing tool program works for all horn types and for all engine sounds excepting the one that has "steam_loop_XXrpm.wav" files. I should have the whole thing going in a few days. I've resolved the Win 7 issues by using a DirectX sound system interface that's really simple. Thank goodness for the internet and downloadable software components.

It's been an interesting ride.. I've found that there's some good engine sounds and also some really bad ones. The tool works perfectly for the ramped diesel sounds which appear to be the most common type, as well as the TRS2006 style steam sounds.

I think this little tool is going to be very handy..
 
If you can do something about them godforsaken dynamic brake sounds on US diesels it would be nothing short of a miracle. Apparently they hard coded dynamics to have the same sound as the throttle up and down, real dynamic brakes sound more like a couple of tomcats getting ready for battle. Some kind of script that changes to an electric loco motor sound when in dynamic might work, the problem is getting rid of that "revving up diesel" noise that's so horribly wrong for dynamic brakes.
 
Back
Top