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
      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

                        4

                        Online

                        2.1k

                        Users

                        13.2k

                        Topics

                        114.3k

                        Posts