RunUp sound on diesel loco

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Navcom
    New Member
    • Aug 2011
    • 15

    #1

    RunUp sound on diesel loco

    Hi!

    I' have problem with "RunUp" sound on diesel locos. I' made sms files for my HZ 2062 locos with RunUp sound. This sound
    must play one time when you change throttle from lower to higher notch (from idlle to notch 1 or from notch 1 to noch 2.....) and this works correct in MSTS but in OR this
    sounds is playng in loop even is set PlayOneShot in sms files. For example in sms file this look like this:
    "
    Stream (
    Priority ( 6 )
    Volume ( 1.0 )
    Triggers ( 1
    Skip( **** Engine-Sound idle **** )
    Initial_Trigger ( StartLoopRelease ( 1 File ( "x_idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    FrequencyCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 11000
    0.125 12200
    0.25 13400
    0.375 14500
    0.50 16000
    0.625 17500
    0.75 19000
    0.875 000
    1.00 000
    )
    Granularity ( 81.125 )
    )
    VolumeCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 1.0
    0.125 1.0
    0.25 0.5
    0.375 0.0
    0.50 0.0
    0.625 0.0
    0.75 0.0
    0.875 0.0
    1.00 0.0
    )
    Granularity ( 0.01 )
    )
    )
    Stream (
    Priority ( 6 )
    Volume ( 1.0 )
    Triggers ( 8
    Skip( **** The engine/current related sounds - RevUp **** )
    Variable_Trigger ( Variable2_Inc_Past 0.005 PlayOneShot ( 1 File ( "ENG_RevUpToN1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.125 PlayOneShot ( 1 File ( "ENG_RevUpToN2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.250 PlayOneShot ( 1 File ( "ENG_RevUpToN3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.375 PlayOneShot ( 1 File ( "ENG_RevUpToN4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.500 PlayOneShot ( 1 File ( "ENG_RevUpToN5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.625 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.750 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Variable2_Inc_Past 0.875 PlayOneShot ( 1 File ( "ENG_RevUpToN7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    FrequencyCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.000 12025
    0.125 12025
    0.250 13000
    0.375 13000
    0.500 12025
    0.625 12025
    0.750 13000
    0.875 13000
    1.000 13000
    )
    Granularity ( 100 )
    )
    VolumeCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.000 0.0
    0.010 1.0
    0.050 1.0
    0.150 1.0
    0.250 1.0
    0.350 1.0
    0.450 1.0
    0.550 1.0
    0.650 1.0
    )
    Granularity ( 0.05 )
    )
    )
    Stream (
    Skip( **** Engine-Sound power **** )
    Priority ( 6 )
    Volume ( 1.0 )
    Triggers ( 1
    Initial_Trigger ( StartLoop ( 1 File ( "x_power.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    FrequencyCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 5500
    0.125 8937
    0.25 9625
    0.375 10000
    0.50 10500
    0.625 11000
    0.75 11500
    0.875 12000
    1.00 12500
    )
    Granularity ( 81.125 )
    )
    VolumeCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 0.0
    0.125 0.0
    0.25 0.7
    0.375 0.8
    0.50 0.9
    0.625 1.0
    0.75 1.0
    0.875 1.0
    1.00 1.0
    )
    Granularity ( 0.01 )
    )
    ) "

    It's someone have idea how I' can solve this to this RunUp sounds work correct in OR? In MSTS this wor fine and you can hear one RunUp sound only one time when throttle is set to higher notch.

    Thanks for help!

    Navcom
  • Navcom
    New Member
    • Aug 2011
    • 15

    #2
    Problem solved Now all RunUp sounds work correct and soon I' will upload new sounds for my HZ 2062 series lokomotives for Open Rails with new Cabview.

    Comment

    • Claude350
      1500 Post Veteran
      • Nov 1999
      • 1615
      • Savannah, Georgia, USA.

      #3
      What was the problem and what did you do to correct the issue?

      Comment

      • R. Steele
        3500 Post Veteran

        • Feb 2013
        • 3928
        • known universe
        • ORTS

        #4
        Originally posted by Claude350
        What was the problem and what did you do to correct the issue?
        Just repeating what Claude said, think of it this way, since OR is in development posting a solution to a problem you encountered will serve to help other users and provide a database for new users to learn from. It's a community of like minded people helping each other.
        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

        • Claude350
          1500 Post Veteran
          • Nov 1999
          • 1615
          • Savannah, Georgia, USA.

          #5
          Originally posted by R. Steele
          Just repeating what Claude said, think of it this way, since OR is in development posting a solution to a problem you encountered will serve to help other users and provide a database for new users to learn from. It's a community of like minded people helping each other.
          My thoughts exactly.

          Comment

          • Navcom
            New Member
            • Aug 2011
            • 15

            #6
            Originally posted by Claude350
            What was the problem and what did you do to correct the issue?
            Problem is been in RunUp sounds on diesel locomotives (here on my HZ 2062 locos) what you can hear between notches, for example when you set throttle to higher position you can hear one sound RunUp engine and this is work fine in MSTS but in Open rails this RunUp sounds is play in loop even is in sms files is set to: PlayOneShot. This is old values in sms file:


            Stream (
            Priority ( 6 )
            Volume ( 1.0 )
            Triggers ( 8
            Skip( **** The engine/current related sounds - RevUp **** )
            Variable_Trigger ( Variable2_Inc_Past 0.005 PlayOneShot ( 1 File ( "ENG_RevUpToN1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.125 PlayOneShot ( 1 File ( "ENG_RevUpToN2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.250 PlayOneShot ( 1 File ( "ENG_RevUpToN3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.375 PlayOneShot ( 1 File ( "ENG_RevUpToN4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.500 PlayOneShot ( 1 File ( "ENG_RevUpToN5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.625 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.750 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable2_Inc_Past 0.875 PlayOneShot ( 1 File ( "ENG_RevUpToN7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            )
            FrequencyCurve(
            Variable2Controlled
            CurvePoints ( 9
            0.000 12025
            0.125 12025
            0.250 13000
            0.375 13000
            0.500 12025
            0.625 12025
            0.750 13000
            0.875 13000
            1.000 13000
            )
            Granularity ( 100 )
            )
            VolumeCurve(
            Variable2Controlled
            CurvePoints ( 9
            0.000 0.0
            0.010 1.0
            0.050 1.0
            0.150 1.0
            0.250 1.0
            0.350 1.0
            0.450 1.0
            0.550 1.0
            0.650 1.0
            )
            Granularity ( 0.05 )
            )
            )
            and this work correct in MSTS but not work in Open Rails. And tis is new value what now work correct in Open Rails:



            Stream (
            Priority ( 6 )
            Volume ( 1.0 )
            Triggers ( 8
            Skip( **** The engine/current related sounds - RevUp **** )
            Variable_Trigger ( Variable1_Inc_Past 0.006 PlayOneShot ( 1 File ( "ENG_RevUpToN1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.126 PlayOneShot ( 1 File ( "ENG_RevUpToN2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.251 PlayOneShot ( 1 File ( "ENG_RevUpToN3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.376 PlayOneShot ( 1 File ( "ENG_RevUpToN4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.501 PlayOneShot ( 1 File ( "ENG_RevUpToN5.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.626 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.751 PlayOneShot ( 1 File ( "ENG_RevUpToN6.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            Variable_Trigger ( Variable1_Inc_Past 0.876 PlayOneShot ( 1 File ( "ENG_RevUpToN7.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            )
            FrequencyCurve(
            Variable1Controlled
            CurvePoints ( 9
            0.000 12025
            0.125 12025
            0.250 13000
            0.375 13000
            0.500 12025
            0.625 12025
            0.750 13000
            0.875 13000
            1.000 13000
            )
            Granularity ( 100 )
            )
            VolumeCurve(
            Variable1Controlled
            CurvePoints ( 9
            0.000 0.0
            0.006 1.0
            0.126 1.0
            0.251 1.0
            0.376 1.0
            0.501 1.0
            0.626 1.0
            0.751 1.0
            0.876 1.0
            )
            Granularity ( 0.05 )
            )
            )

            if you look in values you can see that is changed: Variable2 to Variable1 and all values for notches is for 0.001 higher (for example if is value for notch 0.125 now is 0.126. Now sounds work correct in Open Rails Thanks to people on Elvas Tower who helped me for Variable. This correction for values working fine for my RunUp sounds, I don't know is work for all RunUp sounds but everyone can try and see if work.
            NOTE: Values for RunUp sound samples (Variable1_Inc_Past xxx) must follow notches of throttle writen in eng file (for example:

            EngineControllers (
            Throttle ( 0 1 0.125 0
            NumNotches ( 9
            Notch ( 0 0 Dummy ) * > Notch 0 *
            Notch ( 0.125 0 Dummy ) * > Notch 1 *
            Notch ( 0.25 0 Dummy ) *> Notch 2 *
            Notch ( 0.375 0 Dummy ) * > Notch 3 *
            Notch ( 0.5 0 Dummy ) * > Notch 4 *
            Notch ( 0.625 0 Dummy ) * > Notch 5 *
            Notch ( 0.75 0 Dummy ) * > Notch 6 *
            Notch ( 0.875 0 Dummy ) * > Notch 7 *
            Notch ( 1 0 Dummy ) * > Notch 8 *
            )
            )

            and first notch change for RunUp sound starting with: Variable1_Inc_Past 005 (RunUp_1 or RevUp_1 - same thing) and last with:
            Variable1_Inc_Past 875 if you have 8 sound samples. Actually this values is for MSTS but for Open Rails all Variable1_Inc_Past must be for 0.001 higher and this means that first value is not 005 than 006 and this is look like this: Variable1_Inc_Past 006 and for last notch:
            Variable1_Inc_Past 876 (values must be higher for 0.001 because sound you must hear only one times when is throttle notch changed to higher position. If you have less than 8 sound samples (for example you have only 4 samples) then set values only for first 4 notches (from Notch 1 to Notch 4 because in first 4 notches engine load is higher). I' hope that this is help to others.

            * xxxxxx * - Only for explanation is not present in eng file
            Last edited by Navcom; 06-03-2015, 17:48.

            Comment

            • R. Steele
              3500 Post Veteran

              • Feb 2013
              • 3928
              • known universe
              • ORTS

              #7
              Thanks, I have been learning about sound files and this helps. Have bookmarked this thread for reference. Thanks again.
              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...