HISE Logo Forum
    • Categories
    • Register
    • Login

    Restore table from Base64

    Scheduled Pinned Locked Moved Scripting
    13 Posts 4 Posters 652 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.
    • d.healeyD
      d.healey @tomekslesicki
      last edited by

      @tomekslesicki Could you show the declaration for A1_Close_CC?

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Actually that error is on a totally different line so probably not related to the previous error.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki
          last edited by

          @tomekslesicki said in Restore table from Base64:

          .restoreFromBase64

          Line 638 is the line I've pasted but I figured it out, I named the table and the modulator the same 🙄 Thanks again, David!

          1 Reply Last reply Reply Quote 1
          • T
            tomekslesicki
            last edited by

            Ok, it just turned out it doesn't work after all ;-)

            @d-healey , I'm declaring the table like this:

            const var A1_Close_CC_Table = Content.getComponent("A1_Close_CC_Table");
            

            And the table itself is added as a table via Interface Designer.

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by

              Yeah I don't think you can restore a table control from a base64 string. If the table connected to a table processor you could restore the table processor and this should update the table control too.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 1
              • T
                tomekslesicki
                last edited by

                Thanks, good to know :) I made a workaround so it's all good.

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by

                  @Christoph-Hart Could we get the ability to restore script tables (or tableData objects)? I have several tables using referToData and I'd like to be able to restore their shapes.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @d.healey
                    last edited by

                    @d-healey You have that method in the TableProcessor object so maybe this is already enough, but I could add it to the various table classes too at some point.

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Christoph Hart
                      last edited by

                      @Christoph-Hart I couldn't get it to work with a script table or table data object.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      clevername27C 1 Reply Last reply Reply Quote 0
                      • clevername27C
                        clevername27 @d.healey
                        last edited by clevername27

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        46

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.2k

                        Posts