Any help greatly apreciated
Two buttons for two tone horn - anyone here know how?
Moderator: Moderators
- 25244
- Getting the hang of things now
- Posts: 33
- Joined: Tue Sep 17, 2002 12:46 pm
- Location: Louth (Halfway between Lincoln and the sea), LINCS
- Contact:
Two buttons for two tone horn - anyone here know how?
OK, right forum this time i hope, I've been playing with the Dave Babb/James Horgan 365/465 NEtworker EMUs and I really like how they have managed the two-tone BR horn by using the horn for one tone and the bell (stupid american invention
) for the other high tone, I think it work much better. I think I can refine it gioven a few evenings hacking and such like so you can do sustained tones on each button but first I need to know HOW they did it!
Any help greatly apreciated
Any help greatly apreciated
--
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
- jashton
- Well Established Forum Member
- Posts: 525
- Joined: Sat Jan 19, 2002 12:00 am
- Location: Vancouver BC
25244,
I did the Networker sounds for the Buffy/Horgy model. If you open the Networker Folder in the COMMON.SOUND directory and open the Networkereng.sms, you should see two lines with notations for the horn sounds and from there see how it is set up.
The challenge with these sounds is that the bell and horn triggers are slightly different. The horn has two discrete triggers (8/9 or 10/11, I can't recall which, and I'm not on my home computer right now to check). The horn is triggered by pressing the space bar, and 'untriggered" (ended) by releasing it. With a correct looping wav file with cue points, the tone will last as long as you press the space bar.
The bell is different: it is triggered by pressing the 'b' key, and ended by pressing the 'b' key again. So if you want to set it up to play an extendable note, you can only do it by starting the note and having it loop until the 'b' key is pressed again. I kept forgetting that when testing, and found a PlayOneShot easier to deal with. I also found it difficult to make a short blast using the space bar.
I believe the Railwaves Class 66 sounds use the space bar and 'b' key, with much more success, but I have never really checked closely to see how it is done. There is a very short space between the cue points, an approach I have never been able to get to sound right with the wav files I've been using.
There are several options, though. You can automatically start the second note when the first ends upon releasing the space bar, then use the 'b' key to stop the second note. Or, you could have the both notes triggered by the space bar, and have the two wav files play as Sequential_Selection rather than Random_Selection, so pressing once plays one note, pressing again plays the other, pressing a third time plays the first note again, etc.
Neither is ideal, which is why I set it up the way i did. It is the easiest to set up, and no real instructions are required.
By the way, don't let this stop you from looking for a better way. I still occasionally find new secrets hidden in MSTS, so there are still ways to improve.
Feel free to ask more questions as you go along.
Jeff
I did the Networker sounds for the Buffy/Horgy model. If you open the Networker Folder in the COMMON.SOUND directory and open the Networkereng.sms, you should see two lines with notations for the horn sounds and from there see how it is set up.
The challenge with these sounds is that the bell and horn triggers are slightly different. The horn has two discrete triggers (8/9 or 10/11, I can't recall which, and I'm not on my home computer right now to check). The horn is triggered by pressing the space bar, and 'untriggered" (ended) by releasing it. With a correct looping wav file with cue points, the tone will last as long as you press the space bar.
The bell is different: it is triggered by pressing the 'b' key, and ended by pressing the 'b' key again. So if you want to set it up to play an extendable note, you can only do it by starting the note and having it loop until the 'b' key is pressed again. I kept forgetting that when testing, and found a PlayOneShot easier to deal with. I also found it difficult to make a short blast using the space bar.
I believe the Railwaves Class 66 sounds use the space bar and 'b' key, with much more success, but I have never really checked closely to see how it is done. There is a very short space between the cue points, an approach I have never been able to get to sound right with the wav files I've been using.
There are several options, though. You can automatically start the second note when the first ends upon releasing the space bar, then use the 'b' key to stop the second note. Or, you could have the both notes triggered by the space bar, and have the two wav files play as Sequential_Selection rather than Random_Selection, so pressing once plays one note, pressing again plays the other, pressing a third time plays the first note again, etc.
Neither is ideal, which is why I set it up the way i did. It is the easiest to set up, and no real instructions are required.
By the way, don't let this stop you from looking for a better way. I still occasionally find new secrets hidden in MSTS, so there are still ways to improve.
Feel free to ask more questions as you go along.
Jeff
"We used t ' ave t' lick road clean, wi'tongue"
- 25244
- Getting the hang of things now
- Posts: 33
- Joined: Tue Sep 17, 2002 12:46 pm
- Location: Louth (Halfway between Lincoln and the sea), LINCS
- Contact:
I have managed to achieve the efeect I am looking for, by using the same system of looping used on the space bar on the 'b' key. This does the same thing on both horns now. I just need a decent WAV file hacked together for it and this is where I have the problem....
What I doin't understand is how to add 'cue points' to a WAV file. If I could do that I might be able to set it up right, but alas I am berefed of the knowledge
.
What I doin't understand is how to add 'cue points' to a WAV file. If I could do that I might be able to set it up right, but alas I am berefed of the knowledge
--
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
- 25244
- Getting the hang of things now
- Posts: 33
- Joined: Tue Sep 17, 2002 12:46 pm
- Location: Louth (Halfway between Lincoln and the sea), LINCS
- Contact:
This is my revised .sms files and horn wavs for the high tone:
http://homepage.mac.com/markbenson/networker.zip
befoure you say it these are v. 0.0.0.0.01 Alpha test versions so I'm not posting them on UKTS
Take a look and see what you think, after you;ve backed up the 'Networker' folder in 'common.sound' of course and you do so at our own risk.
http://homepage.mac.com/markbenson/networker.zip
befoure you say it these are v. 0.0.0.0.01 Alpha test versions so I'm not posting them on UKTS
Take a look and see what you think, after you;ve backed up the 'Networker' folder in 'common.sound' of course and you do so at our own risk.
--
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
25244 - Mark Benson
25244/D7594 - We shall not forget thee....
Henry: Are you a police officer?
Seagoon: No I'm an constable
Henry: What's the difference?
Seagoon: They're spelt differently
- Stooopidperson
- Very Active Forum Member
- Posts: 6947
- Joined: Sat Jul 13, 2002 2:51 pm
- Location: Planet Stooopid (5 Earth seconds=1 Stooopid day)
Re: Two buttons for two tone horn - anyone here know how?
If there wasn't a bell invention, then Kuju wouldn't have put the bell feature into M$TS and you couldn't use the two-tone horn!25244 wrote:and the bell (stupid american invention)
If you were wondering, the avatar is me on Planet Stooopid...
- jashton
- Well Established Forum Member
- Posts: 525
- Joined: Sat Jan 19, 2002 12:00 am
- Location: Vancouver BC
Mark, I tried these, but had the same problem as when I tried to do that originally. Maybe it's my Quietkeyboard, which damps the keystrokes, but I have a hard time getting a short blast from the high note. If I quickly tap the 'b' key quite often I do not get the note, and if I press a bit harder I get a long one or two second note. If I repreatedly tap the 'b' key I will occasionally get a short note, but not very often.25244 wrote:This is my revised .sms files and horn wavs for the high tone:
http://homepage.mac.com/markbenson/networker.zip
befoure you say it these are v. 0.0.0.0.01 Alpha test versions so I'm not posting them on UKTS
Take a look and see what you think, after you;ve backed up the 'Networker' folder in 'common.sound' of course and you do so at our own risk.
Also, I can hear the cycling of the high note when the lenghtened note is played. It takes a lot of trial and error to get a seamless-sounding loop, and I was never able to get a really good loop with these horn recordings.
I'd be interested to know if anyone else has the same problem getting a short horn blast.
Jeff
"We used t ' ave t' lick road clean, wi'tongue"