Maximum Volume Setting in *.sms File?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meeshu
    Senior Member
    • May 2010
    • 373

    #1

    Maximum Volume Setting in *.sms File?

    One can adjust the relative volume level within *.sms files by changing numbers under the VolumeCurve( statement.

    For MSTS, I understand that the maximum number is limited to 1.0. But what is the maximum volume number allowed under ORTS? Can it exceed 1.0?

    Sample volume statement -

    ORTS_sms_volume_a.png
  • OSRFan
    Member
    • Oct 2024
    • 61
    • Canada
    • General

    #2
    I have set volume levels above 1.0 for some horn wavs that are too quiet. I'll have to check, but one is set to 1.5. I always assumed it could be done.

    Comment

    • meeshu
      Senior Member
      • May 2010
      • 373

      #3
      Yes. I think values higher than 1.0 can be used as seen in my screenshot. But not sure how high you can go? Experimentation time, I think.

      Comment

      • niknak
        1000 Post Veteran


        • Nov 1999
        • 1254
        • UK.
        • MSOR

        #4
        I use 2 in some settings. I was once told on the forum that any increase over 1 only increases the distance that the sound is heard, rather than the volume.
        Regards,

        Nick

        ( ' boffin0_reprised ' on TikTok )




        Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

        Comment

        • meeshu
          Senior Member
          • May 2010
          • 373

          #5
          I've tried 2 for the volume value, and I think this does appear to increase the volume. But values greater than 2 do not seem to increase volume (noticeably).

          Comment

          • R. Steele
            3500 Post Veteran

            • Feb 2013
            • 3928
            • known universe
            • ORTS

            #6
            Originally posted by meeshu
            I've tried 2 for the volume value, and I think this does appear to increase the volume. But values greater than 2 do not seem to increase volume (noticeably).
            I've always read ( in the threads ) that Vol value 1.0 in an sms file equals 100%. That's as high as it goes. Usually someone recommend using audio software ( goldwave -- or one of the open software audio programs ) to adjust the volume characteristics of a particular wave file. I have no experience with this.
            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

            • meeshu
              Senior Member
              • May 2010
              • 373

              #7
              Basically that is correct. It is my understanding that values such as 0.5 indicate volume is at 50% of original sound wave, and 1.0 indicates volume is at 100% of the original sound wave.

              But, according to this recently discovered post - https://web.archive.org/web/20090701.../sms_doku.html it is mentioned that values up to 2 are and have been used to indicate that the original sound wav is played back at 200% of the original volume. And from my brief testing, it seems that the volume of sound waves does increase when using values up to 2.

              It also seems that values in excess of 2 do not increase the volume any further (difficult to be certain as it is a somewhat subjective test, and not a scientific test by using sound level meters).

              Yes, one can increase the volume (level) of original sound waves using audio editors which is very easy to so. However, many sound waves are already at their or near their maximum levels. If trying to increase sound levels further on these sound waves, then clipping and distortion will occur leading to basically an unusable sound wave.

              Comment

              • Erick_Cantu
                1000 Post Veteran


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

                #8
                Your understanding is correct; full scale is the maximum volume that can be represented in digital audio. The same principle applies to SMS files. Don't get me wrong - sometimes global volume levels for a stream or an SMS above 0 can be useful for setting the gain level between streams or across an SMS when the author doesn't want to mess with volume curves that are already good but too low in volume overall, but, in general, when you enter values higher than 1.00 for the global volume level, you're not actually going to make things louder, you're just going to cause clipping and fighting between streams, which might elevate the average volume level in some cases, but usually comes at the cost of sounding like garbage.

                Generally, it's better to lower the volume of anything that's too loud than raise the volume of anything that seems too quiet. Anyone who thinks otherwise simply doesn't understand how digital audio works.
                Last edited by Erick_Cantu; 01-01-2025, 08:10.
                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

                • eric
                  9500 Post Veteran and Administrator



                  • Dec 2002
                  • 9583
                  • NS MP245.4 CNO&TP South District
                  • English, SQL
                  • General

                  #9
                  Before 200% was a thing...

                  Sent from my SM-S911U using Tapatalk

                  If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

                  Comment

                  • niknak
                    1000 Post Veteran


                    • Nov 1999
                    • 1254
                    • UK.
                    • MSOR

                    #10
                    Originally posted by eric
                    Before 200% was a thing...

                    Sent from my SM-S911U using Tapatalk
                    Spinal Tapping.......
                    Regards,

                    Nick

                    ( ' boffin0_reprised ' on TikTok )




                    Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

                    Comment

                    Working...