Air Horns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dkingsburg
    Senior Member
    • May 2010
    • 564
    • Cabot, Arkansas
    • MSOR

    #1

    Air Horns

    Not Sure Where this Goes. Is there a Way to Change the Air Horns or Horn Sounds on the various Locomotives from the Library.
    Thankyou,
    DaveK
  • R. Steele
    3500 Post Veteran

    • Feb 2013
    • 3928
    • known universe
    • ORTS

    #2
    Yes there is, but you could mess up a lot of things if it is done incorrectly.
    Below quoted from locomotive eng sound file:
    Stream (
    Skip ( **** This stream allows the horn to be played at the same time **** )
    Priority ( 6 )
    Triggers ( 2
    Discrete_Trigger ( 8 StartLoopRelease ( 1 File ( "x_AChorn3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump () )
    )
    )
    Stream (
    Skip ( **** This stream allows the bell to be played at the same time **** )
    Priority ( 6 )
    Volume (0.85)
    Triggers ( 2
    Discrete_Trigger ( 10 StartLoopRelease ( 1 File ( "x_AC_bell1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump () )​
    You will find several entries in both the eng and cab locomotive sound files ( sms file ) that name horn wav files. Substitutions can be made. You can also edit in a path string to any other sound folder in the Common.snd folder.

    For example the above wav file could read ( instead of "x_AChorn3.wav" ) "..\\..\\Common.snd\\KLW_Horns\\x_K5LA.wav" ---- I have no idea if that is an appropriate substitute horn --- just a simple example. Best to learn about this before jumping in...be patient and some real sound experts may be able to assist you better than I. I'm just an incurable tinkererererer with a liking for understanding math and technical things.
    Cheers, Gerry
    "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.
    Audi, Vide, Tace, Si Vis Vivere In Pace​

    https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

    Comment

    • Erick_Cantu
      1000 Post Veteran


      • Jun 2004
      • 1041
      • Brighton, MA 02135
      • General

      #3
      The short answer is yes.

      The longer answer is yes, but you will need to learn how to manage and edit SMS code. Not every author puts their horn samples in the same folder and not every sound set uses a single horn sample (mine use several distance levels so you can't just swap one clip and be done). You would need to edit both the external and internal SMS files.
      Erick Cantu
      North American V-Scale
      Facebook | Email
      Those who would give up essential liberty, to purchase a little gasoline, deserve neither liberty nor gasoline.

      Comment

      • dkingsburg
        Senior Member
        • May 2010
        • 564
        • Cabot, Arkansas
        • MSOR

        #4
        Thankyou, Gerry & Erick,
        I Guess I'll Leave Well Enough Alone.
        I Was Hoping it Would Be as Simple as Run8 Where You Just Select the Horn You Want and Click it.
        DaveK

        Comment

        • R. Steele
          3500 Post Veteran

          • Feb 2013
          • 3928
          • known universe
          • ORTS

          #5
          Originally posted by dkingsburg
          Thankyou, Gerry & Erick,
          I Guess I'll Leave Well Enough Alone.
          I Was Hoping it Would Be as Simple as Run8 Where You Just Select the Horn You Want and Click it.
          DaveK
          You have discerned the primary difference between Open Rails and Run 8 ( both excellent train simulators --- imo ) OR = Open Source --- Run8 = black box.

          Erick provided an excellent link to learning how to understand and edit sound files -- it's what I usually turn to when researching a sound problem. Give it a read or two, you might find inspiration.
          Cheers, Gerry
          "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
          It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
          Forever, ridin' drag in railroad knowledge.
          Audi, Vide, Tace, Si Vis Vivere In Pace​

          https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

          Comment

          Working...