Forum
    • Categories
    • Register
    • Login

    Add something to GeneralSettings.xml

    Scheduled Pinned Locked Moved Solved General Questions
    6 Posts 3 Posters 39 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Oli UllmannO
      Oli Ullmann
      last edited by

      Hey everyone,

      Is it okay to add something to the GeneralSettings.xml file, or will that cause problems in the compiled plug-in?

      All the best,
      Oli

      David HealeyD resonantR 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @Oli Ullmann
        last edited by

        @Oli-Ullmann Are you adding it through scripting? What do you want to add?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        Oli UllmannO 1 Reply Last reply Reply Quote 0
        • resonantR
          resonant @Oli Ullmann
          last edited by

          @Oli-Ullmann said in Add something to GeneralSettings.xml:

          Hey everyone,

          Is it okay to add something to the GeneralSettings.xml file, or will that cause problems in the compiled plug-in?

          All the best,
          Oli

          Instead of modifying the GeneralSettings.xml file, have you tried creating a .js file and saving it? That would be a more definitive solution.

          1 Reply Last reply Reply Quote 0
          • Oli UllmannO
            Oli Ullmann @David Healey
            last edited by

            @David-Healey
            @resonant
            I have several animations in my plug-in and would like to give users the option in the settings to permanently disable them if the animations are affecting the user interface performance. This is all done via the script.

            I'm not sure how the XML format works. If it works like the JSON format, it shouldn't be a problem, right?

            Of course, I could also create a separate file and save a JSON object in it. However, I think it would be cleaner if I could use the existing GeneralSettings.xml file and simply add my custom settings at the end.

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @Oli Ullmann
              last edited by

              @Oli-Ullmann Yeah create a separate user settings for this. I believe there is an example in the snippet browser or in the docs.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              Oli UllmannO 1 Reply Last reply Reply Quote 1
              • Oli UllmannO
                Oli Ullmann @David Healey
                last edited by

                @David-Healey
                All right, I'll take a look. Thanks for the tip! :-)

                1 Reply Last reply Reply Quote 0
                • Oli UllmannO Oli Ullmann has marked this topic as solved
                • First post
                  Last post

                11

                Online

                2.1k

                Users

                13.1k

                Topics

                113.4k

                Posts