HISE Logo Forum
    • Categories
    • Register
    • Login

    SettingsButton.js (5): Deprecated ???

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 971 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.
    • alexaudio10A
      alexaudio10
      last edited by

      Hello,
      I managed with the latest version on Github to compile Hise.

      Only, I receive an indication:

      SettingsButton.js (5): Deprecated {TUFTVEVSfFNldHRpbmdzQnV0dG9uLmpzfDg0fDV8NTA =}

      What does it mean ?

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        It means that the API call Engine.getSettingsObject() was a fail of epic dimensions that created weird issues and never worked correctly so I removed it. I'll update the SettingsButton.js example in the tutorial repository so that it creates the object directly (which is clearer anyway)

        1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by

          hello !
          i noticed that and (but maybe made errors) if you create synth (without sampler module) and compiling it: It ALWAYS ask (in vst and standalone) the samples location...

          :D funny...

          Without that it's a very good version. Good work.
          for now as i use the .js files (as Alexaudio) i stay on the version before.

          Excuse me i'm French.

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            Yes, a instrument plugin always asks for the sample folder. This is because HISE is the "open source framework for SAMPLE based instruments" :)

            I already deactivated this for VST effect plugins, but you're right, I could check if there are any sampler modules used and skip that, good suggestion

            1 Reply Last reply Reply Quote 1
            • Christoph HartC
              Christoph Hart
              last edited by

              FYI, I posted a code example in this thread that solves the SettingsButton problem:

              Link Preview Image
              getSettingsWindowObject alternative

              Just use a JSON object that defines everything you need, like this one: namespace SettingsJson { const var isPlugin = Engine.isPlugin(); // Use this...

              favicon

              Forum (forum.hise.audio)

              1 Reply Last reply Reply Quote 0
              • alexaudio10A
                alexaudio10
                last edited by

                Big thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                52

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts