Forum
    • Categories
    • Register
    • Login

    Restoring properties with DAW session

    Scheduled Pinned Locked Moved Solved General Questions
    sessionrestore
    63 Posts 9 Posters 6.6k 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 Thank you, appreciated — I can't find stuff, often, with that interface. I meant something like this, which includes options on which keywords must be found, and such.

      f78696cd-ac49-4ece-9ea1-34e912f9337c-image.png

      01d7bdb2-d99f-4b79-a2c3-85030d3ce8ab-image.png

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

        @clevername27 said in Restoring properties with DAW session:

        I can't find stuff, often, with that interface

        It does provide all of those features, the interface is just different.

        Search in forum = category
        Entire post = In titles and posts
        etc.

        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
          clevername27 @David Healey
          last edited by

          @d-healey How do I specify phrases that must be found?

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

            @clevername27 Wrap it in quotes

            43516872-73b3-4239-97de-0263096c99c5-image.png

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

            C 1 Reply Last reply Reply Quote 2
            • 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 David Healey

                                        @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 1455.3ocsWslaabCDlqr2fHkjlFfd.1HzeH2Z3nUR9UBJprrsZLpchfUhaABJRo3RIQjUjB6x0NpAFnnmjdD5QHmhdN5Mnc3x8AWI4TG2FAHKS9MCmuYFxgC6EHHzvPQ.xpxKlMkhrtqc+Yb438GiYbzQGfrtksjNYJpyro3vPpGxxZkuSgYUdUT7m+5a6f8wbBMeJD5LAiPOlMgIymsW6um462E6QeAahgzsZeDQv2W3Kh.drhcczTL4M3QzmgUhUxF8Tb3Xj0WYS7ZQZQ1ZPKWLd31tC1hNXG2sco6P1zaWBAS1b.wsYSLv5C8XRQPeIVRCQVq1Q3Mq+XwEbsANiExF3SUCbQ8AKqmtqv2S4hpYQ6Ol460KM.EhfU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cnUola7T5w+fZmxovlJA.7JXdGm5azbtOq+QNOL8OEaiiYgx8fVRx7yDKr9x9ISKMyNUbQOrmGra+5pWV3tiHh6o7zWoANQDjjglGIeW47How4EPqbYgCs2tXAl36SSJvnuV17XZKUAFaqAv+V7HJh0dHbfrO6WLpjVuM1mMhOI1N2x1mNThTsUn5osP6R0+nXTiEXTZcTb6+Sr5A1Ea1An0hMECsiK7h7wxh8nqdISB.TInPiwpNkf80xYl2w7+Vi6WWJBNGSRFubNVZIbDt96SAGSdty8rOb3PJQlSvUs69ieZdaC5TQj5VmSvx.Fr2wFplzGp0Snf04vknpFSrJoZgPOttZrJBzmx8hG72vmDPW0XqDP2TPzDLIP7ZhtwC0Cptc7L.m3wO9rr8IpwNKzuABMAde2qIjhK0BJ13lpXyaphstoJt4MUwstoJt8MUwc92UT8768hjhI5iMHzI8NLt+.KqC4XXGX7tUz+PLBU7b
                                        

                                        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 referenced this topic
                                        • David HealeyD
                                          David Healey
                                          last edited by David Healey

                                          It sees that isInternalPresetLoad() is always returning false in the postCallback.

                                          Edit: Dammit, it works on Mac and Windows, just Linux being a problem :(

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

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

                                            I've been poking around for a couple of hours and can't figure out how to make it work on Linux. I think the issue is that the call is running instantly on Mac and Windows but is being deferred on Linux by which time the flag has been reset, but I could be totally wrong.

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

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

                                            24

                                            Online

                                            2.1k

                                            Users

                                            13.2k

                                            Topics

                                            114.9k

                                            Posts