Forum

    • Register
    • Login
    • Search
    • Categories

    Preset browser additions

    General Questions
    2
    10
    144
    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.
    • d.healey
      d.healey last edited by d.healey

      I've made a few additions to the preset browser which some of you might find useful. These are available in my fork and I've also opened a pull request for Christoph to merge them into the main source. Nothing I've done should break anything although I've made the favourite icon in the preset column take the text colour instead of the highlight colour which may be important to you. Really I'd like this to take the itemColour2 property but haven't figured out how to do it yet.

      Added Data properties to:

      • Show/hide the Add, Rename, Delete buttons
      • Change the bounds (x, y, w, h) of the search bar
      • Add vertical padding to the rows of each column. Fav icon in preset column is not affected.
      • Apply vertical offset to y position of edit buttons, so you can move them up. The list box is adjusted accordingly.
      • Apply offset to bounds (x, y, w, h) of the list boxes, so you can make them shorter, longer, fatter, thinner, etc.

      Also

      • Fixed a bug where selecting or deselecting an item in the expansion column didn't clear the other columns correctly.
      • Use column area instead of list area for painting the column background - this might have the effect of visually shifting the edit buttons down slightly (they are actually in the same place but will look lower) you can counteract this with the edit button vertical offset property I added.

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

      dustbro 1 Reply Last reply Reply Quote 10
      • dustbro
        dustbro @d.healey last edited by

        @d-healey Nice! Any chance you can figure out why Favorites is not working on expansions while you're poking around?

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          @dustbro What's the problem exactly?

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

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

            @d-healey I don't think it works at all for expansions. Clicking on the star doesn't highlight it, and the favorites folder remains empty.
            HNY as well!

            Dan Korneff - Producer / Mixer / Audio Nerd

            d.healey 2 Replies Last reply Reply Quote 0
            • d.healey
              d.healey @dustbro last edited by d.healey

              @dustbro I'll see if I can do anything about it, I also noticed tags and tag editing seem to be completely broken.

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

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

                Images as list items 😄

                56da0575-211a-4aaa-8199-2c747e70efe1-image.png

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

                1 Reply Last reply Reply Quote 5
                • d.healey
                  d.healey @dustbro last edited by

                  @dustbro I couldn't get anywhere with the favourites (or tags). I'm having a go at rolling my own preset browser directly in HISE. It's a fair bit of work but it only needs to be done once and if it all works it will give the most flexibility and be better than trying to beat the stock preset browser into a new shape 🙂

                  Peek 2022-01-02 15-37.gif

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

                  dustbro 1 Reply Last reply Reply Quote 2
                  • dustbro
                    dustbro @d.healey last edited by

                    @d-healey Nice work so far.

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      @dustbro I'm giving up on the custom preset browser (for now) definitely more work than I anticipated, but also definitely a possibility.

                      I'm looking into fixing the expansion preset favourites. I've found that the db.json file is loaded from the project's root user preset directory when the program first opens. And it isn't reloaded when you select an expansion in the expansion column.

                      I've changed this now so that the database file is reloaded when you select or deselect an expansion. This still doesn't solve the problem though 😞 Right now the issue I have is I don't fully understand how the database variable is being utilised, my task for tomorrow is to try and figure it out.

                      @Christoph-Hart any hints?

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

                      dustbro 1 Reply Last reply Reply Quote 1
                      • dustbro
                        dustbro @d.healey last edited by dustbro

                        @d-healey said in Preset browser additions:

                        I'm giving up on the custom preset browser

                        It's a massive undertaking. Hopefully @Christoph-Hart will have some pointers for ya so we can enjoy the built in preset browser

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                        8
                        Online

                        740
                        Users

                        5.4k
                        Topics

                        50.4k
                        Posts