Forum

    • Register
    • Login
    • Search
    • Categories

    User Presets not saving

    Bug Reports
    3
    7
    841
    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.healey
      d.healey last edited by

      User presets aren't being created in the preset browser
      alt text

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

      1 Reply Last reply Reply Quote 0
      • Christoph Hart
        Christoph Hart last edited by

        I think this happens when the currently loaded preset doesn't have a interface script (because then there is nothing to save). However, it should complain instead of silently doing nothing.

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

          Aha, mystery solved 🙂

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

          1 Reply Last reply Reply Quote 0
          • M
            MacroMachines last edited by

            @Christoph-Hart It would be good to an error for this, I thought something was broken. So does this imply any settings that are not part of the controls for the user interface aren't saved into presets?

            1 Reply Last reply Reply Quote 0
            • Christoph Hart
              Christoph Hart last edited by

              Yup, I'll add a safe check.

              And a user preset is just a collection of control values, so yes, everything apart from these values won't be saved in a user preset.

              There is a trick to work around this and this is to use a hidden ScriptPanel and store a JSON object as value, this way you can create user presets which contain more than just numbers and on/off states.

              1 Reply Last reply Reply Quote 0
              • M
                MacroMachines last edited by

                What happens when a preset is created and then another widget is added? do the older presets continue to work?

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

                  @macromachines Yes

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

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

                  10
                  Online

                  855
                  Users

                  5.7k
                  Topics

                  53.0k
                  Posts