HISE Logo Forum
    • Categories
    • Register
    • Login

    Engine.loadUserPreset

    Scheduled Pinned Locked Moved General Questions
    11 Posts 6 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.
    • orangeO
      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

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

        any ideas?

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          SteveRiggsS 1 Reply Last reply Reply Quote 2
          • SteveRiggsS
            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/

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              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?

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 3
              • Christoph HartC
                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?

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

                  @Christoph-Hart Yep that should be it ;)

                  Can't help pressing F5 in the forum...

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

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

                    Link Preview Image
                    - fixed Engine.loadUserPreset() method · christophhart/HISE@7cf35af

                    The open source framework for sample based instruments - - fixed Engine.loadUserPreset() method · christophhart/HISE@7cf35af

                    favicon

                    GitHub (github.com)

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

                    ustkU 1 Reply Last reply Reply Quote 5
                    • ustkU
                      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? :)

                      Can't help pressing F5 in the forum...

                      1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        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.

                        LindonL 1 Reply Last reply Reply Quote 5
                        • LindonL
                          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

                          22

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.9k

                          Posts