HISE Logo Forum
    • Categories
    • Register
    • Login

    User Presets not saving

    Scheduled Pinned Locked Moved Bug Reports
    7 Posts 3 Posters 1.1k 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
      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 HartC
        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.healeyD
          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
          • AxiomCruxA
            AxiomCrux
            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?

            http://www.axiom-crux.net

            1 Reply Last reply Reply Quote 0
            • Christoph HartC
              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
              • AxiomCruxA
                AxiomCrux
                last edited by

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

                http://www.axiom-crux.net

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @AxiomCrux
                  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

                  46

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.9k

                  Posts