Forum
    • Categories
    • Register
    • Login

    Latest version of HISE breaks existing presets....

    Scheduled Pinned Locked Moved General Questions
    40 Posts 5 Posters 290 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.
    • David HealeyD
      David Healey @Oli Ullmann
      last edited by

      @Oli-Ullmann said in Latest version of HISE breaks existing presets....:

      Is there a thread about it in the forum?

      https://forum.hise.audio/topic/6410/restoring-properties-with-daw-session

      It's not working for me recently. I need to investigate if it's a bug in my code or something's changed in HISE.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

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

        @Lindon

        OK found then commit that is breaking my projects.....

        its 7th April 2025... which includes the commit

        "- rewrote plugin parameter system to use unified base class for all automation types"

        So I suspect this is the culprit.

        @Christoph-Hart ??? any chance of looking at this? If you cant get it to fail I can send you my project.....

        HISE Development for hire.
        www.channelrobot.com

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @Lindon
          last edited by

          @Lindon This one https://github.com/christophhart/HISE/commit/a92a701de79edee8bd3ae1268e234a582a6973b2

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          LindonL 1 Reply Last reply Reply Quote 0
          • Oli UllmannO
            Oli Ullmann @David Healey
            last edited by

            @David-Healey
            Thank you very much! I'll take a look at that. :-)

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

              @David-Healey yep - I think so....

              HISE Development for hire.
              www.channelrobot.com

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Lindon
                last edited by David Healey

                @Lindon Well I just noticed a very similar problem with my project. Every time I hit compile my pan knob was getting set to -23 and my volume to -97db. These values are not in any presets or the project xml.

                I disabled isPluginParameter and the issue is gone. But now they are not plugin parameters...

                As soon as I reenable that setting the issue returns.

                I tried to recreate it in a minimal project but no luck.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                Oli UllmannO 1 Reply Last reply Reply Quote 0
                • Oli UllmannO
                  Oli Ullmann @David Healey
                  last edited by

                  @David-Healey
                  Is this an older project that you created with an older version of HISE, or is it a project that you started with a newer version of HISE?

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @Oli Ullmann
                    last edited by

                    @Oli-Ullmann Older project. I'm seeing other weird behaviour too with any knob that has isPluginParameter enabled. In one case moving a knob is moving another knob even though there is no connection between them that I have made. Again, disabling isPluginParameter fixes it.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    1 Reply Last reply Reply Quote 1
                    • David HealeyD
                      David Healey
                      last edited by David Healey

                      Ok I managed to make a minimal snippet.

                      @Lindon are you using Macros?

                      I found if you have a knob connected to a macro it will control another knob that has isPluginParameter enabled. Even if that second knob is not connected to the macro and the first knob doesn't have isPluginParameter enabled. There are some crossed wires somewhere.

                      HiseSnippet 896.3ocsVE0aaaCDlzILawasXsnur2zioCEEVMNNonOTuDmr40kTsozhsmBnIohILEofDUW8FJP9az9OYu4eR6ev1QIEK4lfDGCL8PPNd2Q9wu6tO5fTCSjkYRQ31mNMQfveMIbp1N9fwToFMb.BuAwJhSP6OMglkI3HLdsev4Cu45nhu+4k6SUTMSTuDB8VijI9YYrzVuZP+WIUpinbwox3FQ2s+PlQefQYxAbrFoCJgxlPOWbB0EVKB5GoYiQ3uiv3cYcY8F00mRi10eTOwn8720WrGaG9yYLJamQL+s2lBn9PtzZRCsTqHC1z8M7ogiM+gt7.dqLSNRIbF9nP3jKWFcvXohGbIojgP30Cpon0JonGQNVxkyWulp9lBGd0YzjzvstIH4eGfDtAjVuDROfDxRkI1ZON77UjgZqHMhB0llPoLVDdF4.CDf19zX5DwQofw7D1pWmNOwC9yieQTtlYkFsmQehwJdsdqG29uZuY6Oz16ycEEcs9bGSpQoDoWqaW6P5Mk3V573Qhzm38NpJWLOP35uHmtwxworxaci.M5gZo80IhJ6iLJtiqb++Uq.nJZCpEspPHDpsnRb+pJQnRxEoHIrIeA4UZyHeTA3qZ6u3ieauYnkN4msPxP5+TezaFNfZot9gJ3.PLQjZkNl.OP7NXBrr6XSx.Q1DqIo.uwIFsC736eqH980CoC5Os13j9Y1oNdcih.QwRNWIBLYRWcqNtmMKyJRBk+YAx+zGce+8Kiapd76yhouuoxQVdTjDVgP736ihjp3LK.ugwff.B+PxaxDdbQDMWY8xl.akRpmH3mZJTJjYAp7yk5.ZJHd.8x.UzJ1vqXAlbjP4peyIg6cqLeM5t3WZPBWDsjjPP+ZRfP7eZGzBD.B0j.lcV+KI.31bWu8wTVpYdS0ljic1dPK7UUL.sJCOWQsKJf4j1qb3tDMUMbRCZ3xMsoz+cPUqyMppsrP7Aj.okM95wXqqAitgz+GvX0aA2ibXTjfYqA35ji9sUU3+VN9e0jak5yOlBsDtIjSxiCg2LYB3z0ZgB1bBtkSepztiy1w.gBMuv3eguJm9NabkS+KcV1BcFqrGx8ZyWVrBfIcwqw0MUWQQBF.jmwXKtUWIwOWJyM.rTIt8plX2UMwcV0D6spIt6pl3d2dhteax2maMwkiMHzwAGV7BBFenlBcfEcqn+CL6E4pE
                      

                      Move knob2 and observe knob1 is moved, there is no connection between them that I have made.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      dannytaurusD 1 Reply Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @David Healey
                        last edited by dannytaurus

                        @David-Healey I'm sure this was reported elsewhere recently...

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey
                          last edited by

                          Ok I managed to "fix it".

                          Add this HISE_MACROS_ARE_PLUGIN_PARAMETERS=1 in the project's extra definitions. No need to recompile or anything.

                          It seems backwards to me though, surely 0 should disable it (0 is the default value).

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          dannytaurusD 1 Reply Last reply Reply Quote 0
                          • dannytaurusD
                            dannytaurus @David Healey
                            last edited by

                            @David-Healey It was here: https://forum.hise.audio/topic/14121/issue-macro-taking-the-priority

                            But I see you found the answer anyway. Maybe post over there too, I'm not sure of that post was ever resolved?

                            Meat Beats: https://meatbeats.com
                            Klippr Video: https://klippr.video

                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @dannytaurus
                              last edited by

                              @dannytaurus Actually it's not the solution because now all macro's are exposed as plugin parameters which I don't want.

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              dannytaurusD 1 Reply Last reply Reply Quote 0
                              • dannytaurusD
                                dannytaurus @David Healey
                                last edited by

                                @David-Healey Yeah, I think Christoph said as much in that other post.

                                Meat Beats: https://meatbeats.com
                                Klippr Video: https://klippr.video

                                David HealeyD 1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @dannytaurus
                                  last edited by David Healey

                                  @dannytaurus @Christoph-Hart Yeah there's a bug here that is making plugin parameters and macros together unusable unless you want macros to also be plugin parameters.

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

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

                                    @David-Healey so yes I'm using Macros in the offending project, and like you I DONT want them a plugin params...

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    1 Reply Last reply Reply Quote 0
                                    • Oli UllmannO
                                      Oli Ullmann
                                      last edited by Oli Ullmann

                                      @David-Healey @Lindon @dannytaurus
                                      Macros are new to me, but I now use them as modulators. So far, I haven't had the problems you've had with this approach. Maybe this approach is something for you. It has the advantage that I can use the macros within the new modulation system.

                                      1. I create a MacroModulator in the GlobalModulatorContainer.
                                      2. In the MacroModulator, I select Macro 1 as the target.
                                      3. I select the MacroModulator as the processorId and MacroValue as the parameterId.
                                      4. To be able to modulate the macro itself, I assign the matrixTargetId.

                                      The user can assign the macros in the finished plug-in as modulators.

                                      QUADRIUM_Macro.png

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

                                        @Oli-Ullmann Sadly - see below I don't think this is flexible enough or fits with my current approach to using macros...

                                        @David-Healey
                                        I might be OK with this solution as I don't actual use or include Macro controls in my interface, so as usual (when will I ever learn?) I'm doing it a bit different to most people....here's an explanation:

                                        First there's a set of Macro Modulation Sources: every one of them is an LFO:

                                        0093667f-1067-4b8f-b4c3-8484fc98bf66-image.png

                                        I "just" define these as macros like this in the code:

                                        	const NUM_MACROS = 6;
                                        	reg mpos;
                                        	
                                        	Engine.setFrontendMacros(["LFO1", "LFO2", "LFO3", "LFO4", "LFO5", "LFO6"]);
                                        

                                        Each LFO gets a UI to manage the LFO itself..only:

                                        4d83c1a3-1646-47b3-96cc-a29e34ff1e73-image.png

                                        ..and the user can thus freely assign/unassign them to any UI widget they like, by right clicking on a widget, here the Voice 1 Pan control:

                                        e0bfb60f-cc09-4472-8c1c-755e70c81338-image.png

                                        When they are assigned the UI control looks like this (using LAF):

                                        d79bdb3e-1962-4d0e-ac47-7a5a05308436-image.png

                                        Its pretty simple but it seems to be upsetting HISE post April 6th....meanwhile when I get some space I will build a recent version of HISE and try your fix....

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        Oli UllmannO David HealeyD 2 Replies Last reply Reply Quote 0
                                        • Oli UllmannO
                                          Oli Ullmann @Lindon
                                          last edited by

                                          @Lindon
                                          If I understand correctly, your project would actually be very easy to implement with the new modulation system, and you wouldn't even need macros anymore. However, you would have to rebuild your project, of course... It would take some work, but it would make it super easy to add new modulators in future updates, if you wanted to.

                                          But maybe I'm misunderstanding something. :-)

                                          1 Reply Last reply Reply Quote 0
                                          • David HealeyD
                                            David Healey @Lindon
                                            last edited by

                                            @Lindon Yeah I'm not using macro modulators in mine. I'm just using the macro knob's as a way to make one knob on the ui control multiple modulator parameters without me having to script it.

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            15

                                            Online

                                            2.1k

                                            Users

                                            13.2k

                                            Topics

                                            114.3k

                                            Posts