HISE Logo Forum
    • Categories
    • Register
    • Login

    load expansion preset without using Preset Browser

    Scheduled Pinned Locked Moved General Questions
    5 Posts 2 Posters 484 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.
    • M
      mehmethand
      last edited by

      Hi I'm trying to make a custom preset browser using 2 viewports and buttons.

      • First viewport is showing expansions. (done)
      • Second viewport is showing presets belong to selected expansion (done).

      I want to load selected preset with a button but I couldn't figure out how to do it. Engine.loadUserPreset() is only pointing the root folder. Can you help me please?

      Note (I will also have save, rename, delete, replace buttons)

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Why do you want to make a custom preset browser?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        M 1 Reply Last reply Reply Quote 0
        • M
          mehmethand @d.healey
          last edited by

          @d-healey Because I need a different preset browser than regular one. My gut dimensions are 900,700 pixels. first viewport is at left top of the screen and second viewport is at right top of screen. There are some other elements in between them.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @mehmethand
            last edited by

            @mehmethand It will probably be less work to redesign your GUI to fit the stock preset browser than to build a new preset browser...

            To load a preset from the expansion you need to use the expansion wildcard (I think). Search wildcard in the API browser and it should show you the correct function.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            M 1 Reply Last reply Reply Quote 0
            • M
              mehmethand @d.healey
              last edited by

              @d-healey Than you David, first I will listen to your advice and try to change my gui if possible. If I can't do it I will ask for help.

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

              37

              Online

              1.7k

              Users

              11.7k

              Topics

              102.0k

              Posts