HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset hander....

    Scheduled Pinned Locked Moved Bug Reports
    50 Posts 5 Posters 1.9k 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.
    • LindonL
      Lindon
      last edited by

      PresetHandler.setPostCallback() does not execute when you use the preset panel to create a new preset.

      HISE Development for hire.
      www.channelrobot.com

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

        I think it triggers after a preset has been loaded not after it's been created.

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Lindon
          last edited by

          @lindon delete the first preset in a category and the whole category disappears...(from view - ts not deleted)

          HISE Development for hire.
          www.channelrobot.com

          d.healeyD 2 Replies Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey -okay so its nearly not any use at all then.. I want to display the preset name in the main UI, if you change preset then the callback executes and I can show the preset name, but if the user adds a preset then it doesnt and my name display doesnt update...

            All of this painfully painfully slowly - the preset browser is bad bad bad now...

            HISE Development for hire.
            www.channelrobot.com

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Lindon
              last edited by

              @lindon said in Preset hander....:

              delete the first preset in a category and the whole category disappears...(from view - ts not deleted)

              I thought I fixed that one. I'll take a look at it, should be an easy fix.

              @lindon said in Preset hander....:

              if the user adds a preset then it doesnt and my name display doesnt update...

              I don't think there is any mechanism to respond to preset creation. A new callback would probably have to be added for this.

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

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

                @lindon said in Preset hander....:

                @lindon delete the first preset in a category and the whole category disappears...(from view - ts not deleted)

                I can't recreate this. Are you using develop branch? Does it also happen on MacOS?

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

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

                  @d-healey yes I'm using develop branch (for my sins) and I m not currently on the Mac...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @lindon said in Preset hander....:

                    I m not currently on the Mac...

                    Could be another Windows only issue. Let me know if you do test it on MacOS.

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

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

                      @d-healey - currently I dont have a lot of time - I'm thinking of going back to Master as it stands Develop is nearly unusable - and definitely unshipable - on Windows...

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @Lindon
                        last edited by

                        @lindon said in Preset hander....:

                        if the user adds a preset then it doesnt and my name display doesnt update.

                        I'm using a timer to refresh my preset label text. That might work for your situation

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Dan Korneff
                          last edited by

                          @dustbro Could you give more details? When do you start the timer?

                          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 When the user clicks on a button to open, save or change preset.Then I let the timer run for 10-15 seconds

                            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 Sounds like you're using custom buttons, Lindon is using the built in preset browser functionality I think.

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

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @d.healey
                                last edited by

                                Lindon can you make a minimal project that slows down the preset browser? It‘s fine here but I don‘t use many presets for the current project.

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

                                  @christoph-hart

                                  Here you go. This works fine on GNU/Linux (and presumably MacOS) but on Windows I notice the same slow down Lindon demonstrated in his video.

                                  preset test.zip

                                  @Lindon Btw I tested on Windows the deleting a preset = hides the category thing and I couldn't recreate the issue. Could you post a video so I know I'm not just misunderstanding how the problem is triggered?

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

                                  DanHD LindonL 2 Replies Last reply Reply Quote 0
                                  • DanHD
                                    DanH @d.healey
                                    last edited by

                                    @d-healey My project's Preset Browser is fine on Windows with tons of presets. It's built with a commit from 30th November of Develop, so this could be a more recent issue.

                                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                    https://dhplugins.com/ | https://dcbreaks.com/
                                    London, UK

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

                                      @d-healey - yeah its not doing it for me now either.....the browser is desperately slow however....

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @Dan Korneff
                                        last edited by

                                        @dustbro said in Preset hander....:

                                        @lindon said in Preset hander....:

                                        if the user adds a preset then it doesnt and my name display doesnt update.

                                        I'm using a timer to refresh my preset label text. That might work for your situation

                                        That was the solution I used for the last couple of years... but I removed it and applied the pre and post load callbacks, as I was trying (anything) to get the preset browser to speed up - guess I'm going back there....

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @Lindon
                                          last edited by Lindon

                                          @lindon said in Preset hander....:

                                          @d-healey - yeah its not doing it for me now either.....the browser is desperately slow however....

                                          -damit - now its doing it again... its definitely there - sometimes - but it seems to be the preset browser is slowing down my whole machine - I can hardly edit anything in HISE when its open...and its failing to render the preset browser background part of the time too, its definitely broken in some way.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • DanHD
                                            DanH @Lindon
                                            last edited by

                                            @lindon why not try a commit before @d-healey tinkered with it?!

                                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                            https://dhplugins.com/ | https://dcbreaks.com/
                                            London, UK

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

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.1k

                                            Posts