HISE Logo Forum
    • Categories
    • Register
    • Login

    Easy way to store "non" GUI parameters in "user presets"?

    Scheduled Pinned Locked Moved General Questions
    5 Posts 2 Posters 768 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.
    • ulrikU
      ulrik
      last edited by

      I don't know if I use the right words in the headline but...
      What I want to do is to have settings stored in the user presets, parameter settings for Midimuters and other modules, that is not visible or connected with objects in the GUI.
      How do I do that?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        I wanted the same thing :) there is a really long thread about this somewhere. You can create a hidden panel and store an object with all the settings as the panel's value. or you can do what I ended up doing which is to create a separate file that contains an object with all of the settings. Whichever method you choose to store your data you then need a function (or several) that takes the data and sets your various modules when a preset is loaded.

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

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey Ok, I'll do a search for it, however it seems a bit complicated as you describe it. (Hope not :) )
          I've been using Hise for a couple of weeks now ( I love it) and it seems I use write more and more code, and more seldom use the inbuilt connections 'cause I want to do more and more complicated stuff..haha..well it's my own fault I guess :)

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

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

            @ulrik It seemed complicated to me at first but it's not too bad. Here's one thread on the subject - https://forum.hise.audio/topic/52/variable-persistence. There's another one somewhere but this should get you started.

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

            ulrikU 1 Reply Last reply Reply Quote 1
            • ulrikU
              ulrik @d.healey
              last edited by

              @d-healey said in Easy way to store "non" GUI parameters in "user presets"?:

              Link Preview Image
              Variable Persistence

              I know that the current way to save data with a preset is to use a sliderpack, however I want to save data for a 2D array and it seems I would need to create...

              favicon

              Forum (forum.hise.audio)

              thank you!

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

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

              59

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts