HISE Logo Forum
    • Categories
    • Register
    • Login

    Is it possible to save presets, not in the preset browser.

    Scheduled Pinned Locked Moved General Questions
    6 Posts 5 Posters 398 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.
    • MikeBM
      MikeB
      last edited by

      I would like to save the parameters of sliders and buttons directly in the plug-in or in a son file and call them up again - without a preset browser.

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

      ulrikU V 2 Replies Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Link Preview Image
        HISE | Docs

        favicon

        (docs.hise.audio)

        This explains how to work with preset files without a browser, if you want to make your own preset system, I think that would require custom loops grabbing every element & writing it to a JSON or XML.

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @MikeB
          last edited by

          @MikeB yes it's possibe

          if you search the API you'll find

          Skärmavbild 2022-11-06 kl. 09.08.52.png

          also read the documentation on "FileSystem" and "File"

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

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @A Former User
            last edited by

            @iamlamprey haha sorry, I'm right behind you, I didn't see your answer :)

            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

              You can also use Engine.saveUserPreset() Give it a file object (you can use the file browser to get this).

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

              1 Reply Last reply Reply Quote 0
              • V
                voxuer1 @MikeB
                last edited by

                @MikeB Did you make it?

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

                23

                Online

                1.7k

                Users

                11.8k

                Topics

                102.8k

                Posts