Forum

    • Register
    • Login
    • Search
    • Categories

    Engine.loadUserPreset

    General Questions
    6
    11
    763
    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.
    • orange
      orange last edited by

      Hi
      Can we use

      Engine.loadUserPreset( )
      

      For displaying the desired user preset name when the plugin first opened? In the Music Box example, the selected preset name doen't show when the plugin is first loaded. You can only see the preset name as soon as you click the previous or next buttons. Maybe this code can do it?

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      orange 1 Reply Last reply Reply Quote 0
      • orange
        orange @orange last edited by

        any ideas?

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          Please fix the loadUserPreset function. The proposed workarounds in other threads are usable, but not great.

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

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

            @d-healey said in Engine.loadUserPreset:

            Please fix the loadUserPreset function.

            @Christoph-Hart What David said. Is it possible to fix it?

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

            ustk 1 Reply Last reply Reply Quote 0
            • ustk
              ustk @SteveRiggs last edited by ustk

              Well, I was trying for hours to simply load presets but ended with hairPulling session, till I got on this thread...
              @Christoph-Hart Is it on a fix list already?

              I cannot help pressing F5 in the forum...
              Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                OK, just checked, but the function appears to work like it should. The only problem is that it will not update the "current" user preset file, so Engine.getCurrentUserPreset() doesn't return the new file and the preset browser won't be updated. Is this the only problem?

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

                  @Christoph-Hart Yep that should be it 😉

                  I cannot help pressing F5 in the forum...
                  Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                    Ooops, slightly embarassing that it took so long for a one-line fix 🙂

                    https://github.com/christophhart/HISE/commit/7cf35af7206b4150dcb7faf7d88acb2d593e87af

                    To my defense I thought the problem was much harder and might break backwards compatibility etc...

                    ustk 1 Reply Last reply Reply Quote 5
                    • ustk
                      ustk @Christoph Hart last edited by

                      @Christoph-Hart Arff... You're all excused my man, most of the time it takes you a few hours to make great improvement 😉
                      Speaking of which, what will be the next important functionality update? Should we wait for the surprise of Hise3 or you already have some mouth-watering leaks for us? 🙂

                      I cannot help pressing F5 in the forum...
                      Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                        Nope, there's nothing genius in the pipeline (apart from leaking the expansion stuff from PercX into HISE). Also the next two months will be rather inactive as I am working on a music production until the end of January.

                        HISE 3.0 will not include any new features, it will basically just be a tidied version with scriptnode, MIDI player, expansions and all the additions made since HISE 2.0 that can be used for production.

                        Lindon 1 Reply Last reply Reply Quote 5
                        • Lindon
                          Lindon @Christoph Hart last edited by

                          @Christoph-Hart please please please say this includes "midi out".....

                          HISE Development for hire.
                          www.channelrobot.com

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

                          18
                          Online

                          985
                          Users

                          6.6k
                          Topics

                          60.9k
                          Posts