Sound problem on Donner Pass activity.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • niknak
    1000 Post Veteran


    • Nov 1999
    • 1254
    • UK.
    • MSOR

    #1

    Sound problem on Donner Pass activity.

    Not sure if this should be in Open Rails or Sound forum.. When running the "DP1_EGAP_TURN1" activity on 3DTrains Donner Pass route Open Rails locks up/loops sound at a certain point(s) and Rail Driver switches off. I've attached the log and also the sms it refers to. Can't see an obvious error there, maybe you guys can? Thanks.
    Attached Files
    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....​
  • slipperman
    3500 Post Veteran



    • May 2010
    • 3787
    • Worksop, UK
    • MSOR

    #2
    Hi niknak,
    wagon_cows.sms is missing a close bracket from the very end of the file.

    Cheers,,
    Ged

    Comment

    • niknak
      1000 Post Veteran


      • Nov 1999
      • 1254
      • UK.
      • MSOR

      #3
      Many thanks Ged! I added a bracket to the 5 descending ones and all now seems okay. I'm wondering what dictates the number of ending brackets? Other sms files have various numbers.
      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

      • crstagg
        4500 Post Veteran


        • Nov 1999
        • 4885
        • Huntsville, AL
        • Texan
        • MSOR

        #4
        Originally posted by niknak
        .......... I'm wondering what dictates the number of ending brackets? ...............
        There has to be one for each opening bracket.
        Charles

        Comment

        • niknak
          1000 Post Veteran


          • Nov 1999
          • 1254
          • UK.
          • MSOR

          #5
          Ah, all is revealed. Thanks Charles.
          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

          • crstagg
            4500 Post Veteran


            • Nov 1999
            • 4885
            • Huntsville, AL
            • Texan
            • MSOR

            #6
            BTW there are free test editors that have tools to match brackets. ConText and Notepad++ are two that I use.
            Charles

            Comment

            • niknak
              1000 Post Veteran


              • Nov 1999
              • 1254
              • UK.
              • MSOR

              #7
              Yes I saw ConText mentioned somewhere and have just downloaded it. Cheers.
              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

              • niknak
                1000 Post Veteran


                • Nov 1999
                • 1254
                • UK.
                • MSOR

                #8
                Spoke too soon! Problem still persists even though I have amended the sms file to show 6 end brackets. Log and amended sms attached.
                Attached Files
                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

                • slipperman
                  3500 Post Veteran



                  • May 2010
                  • 3787
                  • Worksop, UK
                  • MSOR

                  #9
                  Hi niknak,
                  Apologies, mate

                  The file wasn't short of a close bracket, but a quotes!

                  Remove the extra quotes you added, then change line 52, which reads : File ( "cow_2_bull.wav -1 ) to add a quotes character after '.wav' so that it reads :- File ( "cow_2_bull.wav" -1 )

                  **Caveat : I have NOT run this file in the sim.
                  The effect was that, as the closing quotes was missing, the ')' following '-1' was ignored as it was being counted as being within the quotes. The next matching quotes found was on line 56, just before 'x_couple_auto1.wav' which is why OR reported that it couldn't parse it as a number!


                  Cheers,
                  Ged

                  Last edited by slipperman; 10-14-2020, 13:37.

                  Comment

                  • niknak
                    1000 Post Veteran


                    • Nov 1999
                    • 1254
                    • UK.
                    • MSOR

                    #10
                    Many thanks Ged. I think that may be it!
                    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...