Forum
    • Categories
    • Register
    • Login

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

    General Questions
    2
    5
    614
    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 13, Xcode 14.0.1
      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 13, Xcode 14.0.1
          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"?:

              https://forum.hise.audio/topic/52/variable-persistence

              thank you!

              Hise Develop branch
              MacOs 13, Xcode 14.0.1
              http://musikboden.se

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

              13

              Online

              1.2k

              Users

              7.6k

              Topics

              69.1k

              Posts