HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset browser additions

    Scheduled Pinned Locked Moved General Questions
    15 Posts 5 Posters 1.1k 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.
    • d.healeyD
      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

      Dan KorneffD 1 Reply Last reply Reply Quote 10
      • Dan KorneffD
        Dan Korneff @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.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Dan Korneff
          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

          Dan KorneffD 1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @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.healeyD 2 Replies Last reply Reply Quote 0
            • d.healeyD
              d.healey @Dan Korneff
              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.healeyD 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @d.healey
                last edited by

                Images as list items :D

                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.healeyD
                  d.healey @Dan Korneff
                  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

                  Dan KorneffD 1 Reply Last reply Reply Quote 2
                  • Dan KorneffD
                    Dan Korneff @d.healey
                    last edited by

                    @d-healey Nice work so far.

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Dan Korneff
                      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

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

                        @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
                        • d.healeyD
                          d.healey
                          last edited by d.healey

                          I've been back at preset browser hacking - btw the expansion favourites issue has been fixed for a while.

                          New feature I've just added: show full path in the favourites column.

                          This can be enabled with the Data property "FullPathFavorites": true (false by default for backwards compatibility).

                          I've added this because I have projects where multiple presets have the same name but the bank and category are different. So it's necessary to show the bank and category in the favourites list otherwise you don't know which preset you're loading.

                          PR: https://github.com/christophhart/HISE/pull/551

                          Peek 2024-06-28 18-35.gif

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

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

                            I notice a recent change adds a conflict with this PR. It's a simple fix and I think it would be good to get this PR merged, I can see no downsides.

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

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

                              @d-healey I vote for it to become the main hise preset panel by default.
                              nice work for a beginner ^^

                              1 Reply Last reply Reply Quote 0
                              • DabDabD
                                DabDab
                                last edited by DabDab

                                Added ability to hide preset browser search bar (#444) This is the Latest Commit so far. But No Githash.
                                It is showing Wrong GitCommit Hash
                                because there is no GitHash.txt and currentGit.h
                                8c1e0224-a987-480e-93ee-49bf5d07d5db-image.png

                                Please fix @Christoph-Hart @d-healey

                                Bollywood Music Producer and Trance Producer.

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

                                  @DabDab yes it's because the commits were from the pull request that didn't update the hash counter. It'll be fixed the next time I commit something, so shouldn't take too long...

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

                                  48

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.8k

                                  Posts