Forum
    • Categories
    • Register
    • Login

    Restoring properties with DAW session

    Scheduled Pinned Locked Moved Solved General Questions
    sessionrestore
    53 Posts 8 Posters 6.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.
    • C
      clevername27 @David Healey
      last edited by clevername27

      @d-healey So it does, cheers (clicking the gear icon).

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

        @clevername27 said in Restoring properties with DAW session:

        clicking the gear icon

        Yeah I just noticed that too :)

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

        1 Reply Last reply Reply Quote 0
        • C
          clevername27 @whoopsydoodle
          last edited by

          @whoopsydoodle @d-healey Here, then…

          https://forum.hise.audio/topic/11384/user-preference-system?_=1742308745595

          1 Reply Last reply Reply Quote 0
          • David HealeyD David Healey referenced this topic on
          • David HealeyD David Healey referenced this topic on
          • C
            cassettedeath @David Healey
            last edited by cassettedeath

            @David-Healey Would there be any way to make it so that the values don't update visually every time you change a preset?

            In my case the button opens a panel and it’s quite abrupt seeing it open and close every preset change. Could this be to do with where the code is placed?

            It’s a trade off between the option to say, browse presets without turning off the arp every time or the unaesthetic UI value jump.

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

              @cassettedeath Remind me what this thread's about again, I'm too lazy to read through

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

              C 2 Replies Last reply Reply Quote 0
              • C
                cassettedeath @David Healey
                last edited by

                @David-Healey Restoring values in a daw session without the save in preset flag

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

                  @cassettedeath What is the solution that was provided that you're currently using but isn't working as you expect? Do you have a simple snippet?

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

                  1 Reply Last reply Reply Quote 0
                  • C
                    cassettedeath @David Healey
                    last edited by

                    @David-Healey Snippet ```
                    code_text

                    const uph = Engine.createUserPresetHandler();
                    
                    const var Knob1 = Content.getComponent("Knob1");
                    
                    reg knobValue;
                    
                    uph.setPreCallback(function(presetData)
                    {
                    	 if (!uph.isInternalPresetLoad())
                    	 	knobValue = Knob1.getValue();
                    });
                    
                    uph.setPostCallback(function(presetFile)
                    {
                    	 if (!uph.isInternalPresetLoad())
                    	 	Knob1.setValue(knobValue);
                    });
                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @cassettedeath
                      last edited by

                      @cassettedeath Is the goal to keep the leave the panel's open/closed state unchanged between preset changes?

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

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cassettedeath @David Healey
                        last edited by

                        @David-Healey yes that would be good

                        I suppose the values have to jump from what’s saved in the preset to the previous value?

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

                          @cassettedeath Is there a reason you need to save the button value in the preset at all?

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

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cassettedeath @David Healey
                            last edited by

                            @David-Healey Just so the setting saves in the DAW project. I.e the user has the chord button on for a project - reopens the project and that setting is still on

                            David HealeyD 2 Replies Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @cassettedeath
                              last edited by

                              @cassettedeath I'll do some tests

                              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 @cassettedeath
                                last edited by

                                @cassettedeath Well according to my brain this should work, but it doesn't and I don't know why, maybe there's a bug...

                                HiseSnippet 1322.3ocsW0saaaCElxNpH1cccEXWWnFrKbFBbsaZbR1vvb7eqFKI0HNMa.ACEzRzVDQlzfhxoFEAXnOA6QXOBauA6oXuAaWu61kYGJJYI43rkYzpKRv47c946bH4gz8DbahuOWfLJd5rIDjwGY1eFS51zESYntsPF2yTR7knFylf88INHCi7eiBynvZnvu+5qaf8vLaRhJD5LN0lbHcLUlnsW8uk540A6PNkNNk0OudWaNqI2iG.7HuYEzDr8E3QjiwJyxYhdA12EY74l6YOvo19N3cGTq1fcqZ6r+vJU2GSHC1dm81lricM6pCqgq.rtsCUxE8kXf8Hi0Zvcl02keISmfyn9zAdDkPUTeHyZ0c3dNpRToE0zk54zKtA4ifnzKockW2t9TyinNz45SZaeRHfUhGoafF4xRu7YnW0zzqRJ5sDJYjhRqooziL6aKnSjIHJ9beytLIQLDCqSooh1VTt0ya1jCVvjkGiufzQ.By8nTsJU1xB9yleYwhvZkuzJXhq0WY0lMhxHksEDnPdkOQzSP7IxWfYNdDQIk4BxHqAARImcF1Kf.Z.WKCFAl1D64M.VqKMLfYKobVoIg92BKwaV7sEKXQGZU5IJGn9grgg8zo3PN1ozlaBlTHUzAJ0HTpZ4QDYnJEItZyTok6Kus71g5Qty4ELqPbx7iSVJt.4Lw.aWLaDwQQlBVWAjVyom9zmX0CyHdUiZqZAnLhWLfxnIe7DNCDJsgFdiXWihdjuQR2pyQ3JuSwaksBt27VBmEAFAnxEk4AKyVwcKqEsojcbV1xZZXsqZhZxV1G1WGa2znFyUESEqi4RxKYkB8APrVDZ3vkhEEyv8YKAVMiQ7u4XIVv3ADQZFqLDNGk8vo4se3L8rCacOOkgbVWFU9xID1sMQAEsPoNHGwJvTY3w3ON5XrtSinvo0BlQscTHkSOuE8ptpCMwABhIjmIDgjpJAiVjov7X87gBlsH9WH4SfTMe2AT02gz9l4o7GOu9rj72pNJUjJpizChmCo1FDFn0M0aIREGjLcb9r5WRcjvndSi+DDcIzQtRkz6.oAihuhnv8hqZpjLNQ6ie7ebcVsOKs5owKbF4SS26KiljqoaGONVRYiNElEDx5GZlVUFxiPIj+2FES9HE+x6pGW.QZ94Y0iVbzqDOzTOSogfeIL6bwJ7uuYE9qW+SKqBiYS3Vfb+dNy2VzxZC0Vw93oD8p2FegkTDP1JFo8alfY9vIB+C7gPELVYwPrmehIgWGJVt6pSl92HlvAGs4YfRTCmkg5EvpVYtSG33r7TbBgAO.X4XsHdD4sf0mfE1tMvhz.cvS4BnsodpwbVjPhzvYbKvyqGV5Fi6moIEUqcg9nCoAW.cqL3GGLV2ZUtUMTkV96T6TNA1TwAfyA8VVUJu8Bea8+TOn9GBywgTe4AvUxyqynLr0x92buzL6D9k8vNNvt86peya2M3ALGUkdtF3HtHZEZQjjckKhD2muAZwqfGPdi25.uxh6D3gkYe5k5ApQ.vF7Lu2QcaNrbImk9Aru2dO1ckhOxrGUZ6tbNlaIbDFr+gfiQuh8AlsGNjXKSH3Zlc99OLOYEcBOPML8HrTPgYolvgj9vfLaBjcFb8f5JWibpKG0xUTxpNPeByIT3Z3KBrpR1HBrZLHZL1Vvess9JU06jWOTCvIV3uonf4QJYqkbS5X3Y6u11NantgiOaUcb6U0wmupNtyp5XsU0wcWUG26+1Q0up5f.Ier9XCBcTu1gW6YXzlggcfg6VQ+CbH8vTL
                                

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

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

                                12

                                Online

                                2.1k

                                Users

                                13.1k

                                Topics

                                113.6k

                                Posts