HISE Logo Forum
    • Categories
    • Register
    • Login

    Storing values in panels

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 234 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.
    • ?
      A Former User
      last edited by A Former User

      How to save same values inside the panels with the presets?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @A Former User
        last edited by ustk

        @Steve-Mohican In order to store the state of your panel with preset you can store it as a state object inside the value object of a panel (not the data object as this isn't saved with preset), I've just made an example a week ago:

        Link Preview Image
        Store values in ScriptPanel data object

        @d-healey @ustk i'm not at home at the moment, but i'll try your example tomorrow. Indeed i want to store knob values , but in my project i use a sequencer, ...

        favicon

        Forum (forum.hise.audio)

        In this example I simply store component states, but you could use an object of the form {state:[4,2,5,0,1,3]} just to give an idea

        Can't help pressing F5 in the forum...

        ? 1 Reply Last reply Reply Quote 2
        • ?
          A Former User @ustk
          last edited by A Former User

          @ustk Thank you for your suggestion.

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

          43

          Online

          1.7k

          Users

          11.7k

          Topics

          102.2k

          Posts