Forum
    • Categories
    • Register
    • Login

    Restoring properties with DAW session

    Scheduled Pinned Locked Moved Solved General Questions
    sessionrestore
    63 Posts 9 Posters 6.4k 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 @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.EhfUoWd3ZEc35KrOg4wxlOOr84w.N4ZXF.sJUjdqTfdtlzqtA8VBkrLnzpZJ8.69j.1TYNhhO2w9HtjFLDC4ISpnkEU5NqZuu.jfK2XB9MztAvfLMpsU85q6.+YsmToBjqBkNQSG67MNGxGw3zMHATvQdYHMnW.MjJeJl64SCpoDOfNxYPjTJ3mg8invLfpa.BAhtO12e.jqqMLhSjLAu1zX8O.KwqU4cUJ6vF5T6gJEXgwrgi80l3XA1q1ZqAhT1X0AJ0Idj6Finx3oTj.DB9dLd.02UY5ZUkz2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ieZdaC5TQj5VmSvx.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
            • C
              cassettedeath @David Healey
              last edited by

              @David-Healey How did you get it work on Mac and windows?

              Maybe I should wait and see if there’s a new commit soon or try a different commit. Still glitchy to and it’s the last thing I need to fix before releasing the plug in :/

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

                @cassettedeath said in Restoring properties with DAW session:

                How did you get it work on Mac and windows?

                The snippet I posted above works on Mac and Windows, nothing special required.

                On Linux I got a working solution using the mouse broadcaster method Christoph posted earlier - this also works on Windows and Mac so for now I'm sticking with that.

                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 hmm.. Still glitchy for me.

                  Are you using the latest commit?

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

                    @cassettedeath Yes, in what way is it not working for you?

                    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 the panel flashes sometimes

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

                        @cassettedeath Yeah that's it working :) It has to quickly switch the value, it's the best we have.

                        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 ahhh! Okay - I’ll probably implement a lock button so the user can opt in/out of the save in preset UI jumping 😂

                          And a seperate button to close the panel so it doesn’t jump.

                          Oh… and THEN I’ll need to implement your random value script before release 😁

                          HISE feels like whack-a-mole sometimes!

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

                            @cassettedeath said in Restoring properties with DAW session:

                            HISE feels like whack-a-mole sometimes!

                            That's pretty much what all software development is! 😂

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

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

                            20

                            Online

                            2.1k

                            Users

                            13.2k

                            Topics

                            114.3k

                            Posts