HISE Logo Forum
    • Categories
    • Register
    • Login

    How do you create an end-user GUI?

    Scheduled Pinned Locked Moved Scripting
    5 Posts 2 Posters 1.2k 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.
    • E
      elanhickler
      last edited by

      How do you create an end-user GUI? I know you can hide processors and such, but ultimately the developer will need a way to place knobs from all different scripts/modules/etc. into one cohesive GUI with their company logo, a background, etc.

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

        Basically you add your interface scripts in the MIDI chain of the Root container (works only here) and use the API call

        Synth.addToFront(true);
        

        This tells the engine that this script should be used as main interface in the HISE Player VST. You can even use multiple scripts to handle different interface pages (they can be selected with a tab at the finished instrument UI).

        The "House" symbol on the upper right toggles the "Main interface view" - a sort of preview of what you will see in the finished instrument.

        Then you select "Save all samples to global folder" in the context menu of the root container header and it will export the preset with all referenced files into the global HISE folder (with a subfolder of course) and add a entry in the database for the HISE player.

        The HISE player shows the library in the left tab and loads the preset in its rack with the specified scripts as interface and a generic header for stuff like bypass, volume etc.

        This procedure is pretty alpha and will be heavily streamlined. And of course there is the possibility for dedicated plugins.

        1 Reply Last reply Reply Quote 0
        • E
          elanhickler
          last edited by

          seems like I'm not able to get it to work. Is this correct?
          http://pastebin.com/f7529r7J

          couldn't paste in forum, maximum characters is 60,000, I needed 101,000+

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

            You added the script in the Global Mod container, that's why it doesn't work.

            [attachment=0:hikvjo61]gui.xml[/attachment:hikvjo61]

            1 Reply Last reply Reply Quote 0
            • E
              elanhickler
              last edited by

              WORKED!

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

              56

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts