Forum
    • Categories
    • Register
    • Login

    Latest version of HISE breaks existing presets....

    Scheduled Pinned Locked Moved General Questions
    39 Posts 5 Posters 220 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 Lindon

      Well this one has me stumped. I update to the latest version of HISE today, I've been on an older version whilst a couple of products were released and supported thru the early adopted process...

      For at least one of my projects the preset load seems to be broken, in that it's setting a number of widgets to their max value, e.g MasterVolume is being set to 30 (its dB max) for about 60-70% of the presets...and a bunch of other widgets are similarly affected.

      Its a very big project (when are they not these days) so I cant post a snippet...

      I did this to try and see where it was happening:

      inline function onMasterVolumeControl(component, value)
      {
      	//
      	MasterSimpleGain.setAttribute(MasterSimpleGain.Gain, value);
      	Console.print("we are setting the Master volume to:" + value);
      };
      

      and got this back from the console:

      Interface: we are setting the Master volume to:30.0
      Interface: we are setting the Master volume to:-3.499999046325684
      Interface: we are setting the Master volume to:30.0
      Interface: *******START the post load callback
      Interface: we are loading a preset for version:30100.0
      Interface: *********END the post load callback
      
      

      Here's the relevant line in the preset:

          <Control type="ScriptSlider" id="MasterVolume" value="-3.499999046325684"/>
      

      I've triple checked and nowhere else is going anywhere near the MasterVolume widget....

      So...something is setting the widget value to 30 for some reason, then the value is being set by the preset load correctly, then this thing is re-applying this 30 dB value....

      Theres no timers running or broadcasters...

      clueless

      EDIT: oh and I've tried resetting the widget to its correct value and resaving the preset, then reloading - no change this "30 maniac" is still doing its thing...

      EDIT: OK it turns out its WAAAY worse than this - every preset is doing "this" as well, so no MasterVolumes are being set to their correct values:

      here's the console for a bunch of preset loads:

      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: we are setting the Master volume to:20.0
      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: *******START the post load callback
      Interface: we are loading a preset for version:30000.0
      Interface: *********END the post load callback
      Interface: we are setting the Master volume to:30.0
      Interface: we are setting the Master volume to:17.0
      Interface: we are setting the Master volume to:30.0
      Interface: *******START the post load callback
      Interface: we are loading a preset for version:30000.0
      Interface: *********END the post load callback
      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: we are setting the Master volume to:-5.999999046325684
      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: *******START the post load callback
      Interface: we are loading a preset for version:30000.0
      Interface: *********END the post load callback
      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: we are setting the Master volume to:9.200000762939453
      Interface: we are setting the Master volume to:-4.700000762939453
      Interface: *******START the post load callback
      Interface: we are loading a preset for version:30000.0
      Interface: *********END the post load callback
      
      

      It sort of looks like the preset load code is looking at some other widget.....

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon Is it just the Master Volume parameter?

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

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

          @dannytaurus said in Latest version of HISE breaks existing presets....:

          @Lindon Is it just the Master Volume parameter?

          nope its a few others too - MasterPan and VolumeVoice1 etc.

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon

            so I took this example:

            Interface: we are setting the Master volume to:26.90000152587891
            Interface: we are setting the Master volume to:9.500000953674316
            Interface: we are setting the Master volume to:26.90000152587891
            

            where (As in all other cases) the middle value is correct... and looked thru the preset for the middle value:

            correctly found here:

                <Control type="ScriptSlider" id="MasterVolume" value="9.500000953674316"/>
            

            and the outer value: 26.90000152587891

            ..and I cant find anything set to this in the preset.....so its not I think copying some other widgets value..

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon Which commit of HISE were you using before?

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

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

                @dannytaurus 3+ months old - cant remember...

                HISE Development for hire.
                www.channelrobot.com

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

                  With your master volume, are you doing the save in DAW trick so that you can change presets without the volume level changing?

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

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

                    @David-Healey said in Latest version of HISE breaks existing presets....:

                    With your master volume, are you doing the save in DAW trick so that you can change presets without the volume level changing?

                    nope...

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon I reloaded the Old HISE version and tried with that this is what we see in the console:

                      Interface: we are setting the Master volume to:5.100000858306885
                      Interface: *******START the post load callback
                      Interface: we are loading a preset for version:30000.0
                      Interface: *********END the post load callback
                      Interface: we are setting the Master volume to:-3.799999237060547
                      Interface: *******START the post load callback
                      Interface: we are loading a preset for version:30000.0
                      Interface: *********END the post load callback
                      Interface: we are setting the Master volume to:-8.799999237060547
                      Interface: *******START the post load callback
                      Interface: we are loading a preset for version:30000.0
                      Interface: *********END the post load callback
                      Interface: we are setting the Master volume to:-3.499999046325684
                      Interface: *******START the post load callback
                      Interface: we are loading a preset for version:30100.0
                      Interface: *********END the post load callback
                      

                      So working fine there....

                      HISE Development for hire.
                      www.channelrobot.com

                      dannytaurusD 2 Replies Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @Lindon
                        last edited by

                        @Lindon said in Latest version of HISE breaks existing presets....:

                        Interface: we are loading a preset for version:30100.0

                        What is this line?

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

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

                          @Lindon Which HISE commit is the older version?

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

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

                            @dannytaurus this is a console.print of the preset evaluation fo r 2.5 version management - it is basically saying "Im doing nothing.."

                            I completely remooved the preset post load function just to make sure it wasnt this that was playing silly, it wasnt...

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon So we're getting multiple callbacks in the newer version of HISE. If you know the commit of the older version, it will make tracking down the bug a lot easier.

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

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

                                @dannytaurus said in Latest version of HISE breaks existing presets....:

                                @Lindon So we're getting multiple callbacks in the newer version of HISE. If you know the commit of the older version, it will make tracking down the bug a lot easier.

                                yes it would....

                                but meanwhile - I made an entirely new preset and saved it......to check if it was affected by this problem...

                                Not only was it not affected - but all other presets now start to work properly....

                                Interface: we are setting the Master volume to:-7.799999237060547
                                Interface: *******START the post load callback
                                Interface: we are loading a preset for version:30100.0
                                Interface: *********END the post load callback
                                Interface: we are setting the Master volume to:-11.79999923706055
                                Interface: *******START the post load callback
                                Interface: we are loading a preset for version:30100.0
                                Interface: *********END the post load callback
                                Interface: we are setting the Master volume to:-8.59999942779541
                                Interface: *******START the post load callback
                                Interface: we are loading a preset for version:30100.0
                                Interface: *********END the post load callback
                                Interface: we are setting the Master volume to:-5.59999942779541
                                Interface: *******START the post load callback
                                Interface: we are loading a preset for version:30000.0
                                Interface: *********END the post load callback
                                Interface: we are setting the Master volume to:3.700001001358032
                                Interface: *******START the post load callback
                                Interface: we are loading a preset for version:30000.0
                                

                                Worrying

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon close and re-open HISE and its broken again...

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon this is what the about HISe box shows me:

                                    fcb312e5-f4f1-4da8-8342-09916a55a74f-image.png

                                    so pre having a hash available...

                                    so the date on the HISE binary is 19th feb 2025... so very old...

                                    hacking back thru HISE versions now...

                                    starting July 28th....builds...but has the bug!! - so this is quite old....
                                    May 2025....builds..but still has the bug. -- getting a bad feeling about this...
                                    April 1st -... builds and does not have the bug.... OK so somewhere between 1.April and 14 May 2025....a total of 14 commits.....
                                    12th April......builds but has the bug.....
                                    7th April....builds..but has the bug...
                                    3rd April....builds and works fine....so theres only 4 commits between here and the next not working one....and theres a fairly obvious candidate...

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @David-Healey said in Latest version of HISE breaks existing presets....:

                                      With your master volume, are you doing the save in DAW trick so that you can change presets without the volume level changing?

                                      Can you tell me more about this? What kind of trick is it? Is there a thread about it in the forum?

                                      Maybe it will help with my current problem: The modulation data of the new modulation system is not loaded when reloading a DAW project with a plug-in compiled with HISE.

                                      Many thanks,
                                      Oli

                                      David HealeyD 1 Reply Last reply Reply Quote 0
                                      • 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
                                            • First post
                                              Last post

                                            16

                                            Online

                                            2.1k

                                            Users

                                            13.2k

                                            Topics

                                            114.2k

                                            Posts