HISE Logo Forum
    • Categories
    • Register
    • Login

    ...Always on the PresetBrowser

    Scheduled Pinned Locked Moved General Questions
    31 Posts 6 Posters 2.8k 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 @ossian1961
      last edited by orange

      @ossian1961 I've just recognized that, it works everytime but except first initialization of the plugin.
      Because when the plugin is opened for the first time, after succesfully loading, plugin creates the user preset folders and presets.
      But since presets haven't been created (because the plugin hasn't been loaded yet for the first time) on first initialization, the label box will be empty.

      If you load plugin again, the label box will be ok and show - Init preset since the presets have been created on previous plugin opening.

      There should be a fix for that.

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      pelleP 1 Reply Last reply Reply Quote 3
      • NatanN
        Natan @d.healey
        last edited by Natan

        @d-healey said in ...Always on the PresetBrowser:

        @ossian1961 This doesn't work for me, it shows the next preset not the last one that was used.

        This works though :p

        Engine.loadNextUserPreset(true);
        Engine.loadPreviousUserPreset(true);
        

        Yeah It Does What It Supposed To Do, But The Issue With This Method Is That The Instrument/ Effect Won't Remember It's Last Settings When An End User Closes His Project.

        In Short: Don't Use This Method⚠️

        1 Reply Last reply Reply Quote 1
        • pelleP
          pelle @ossian1961
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • pelleP
            pelle @orange
            last edited by

            @orange Hi, have you found a solution for this? I have the same problem.

            "I've just recognized that, it works everytime but except first initialization of the plugin.
            Because when the plugin is opened for the first time, after succesfully loading, plugin creates the user preset folders and presets.
            But since presets haven't been created (because the plugin hasn't been loaded yet for the first time) on first initialization, the label box will be empty.

            If you load plugin again, the label box will be ok and show - Init preset since the presets have been created on previous plugin opening.

            There should be a fix for that."

            d.healeyD orangeO 2 Replies Last reply Reply Quote 0
            • d.healeyD
              d.healey @pelle
              last edited by

              @pelle Export your project with the label set to whatever you want the default to be.

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

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

                @d-healey
                The Label now works, but the first time I open the exported instrument and click on 'Scripted Panel' to access the Preset drop-down menu, it fails to open. I always need to close the plug-in and reopen it.
                Can you help me?

                HiseSnippet 3131.3oc6as7aabbFeojVGsrwwVEo.8PQ5TdhpQVVjTNN0NtghRjwpQOXIkcRfadrZ2gjS7xcY1cnrkMDZPQOjC8PO3K4V.5e.E8XO0bn+CTDz64bQOza8n522rulc4tTxJOfMpHLf898Mey7a988Xdrqa65XP87bbUJns2ginJEdQ0tGZyGr9.clsxlanTXd01tTOJWowgiz87nlJEJL6agZKnMmh32+4ManaoaaPiEonbWGlAcK1PFOVZ65uMyxpktIcO1PoVuZ8MMbrW2wxYLfjYUWQYjtw806S2QGa1LpJEtPSSF2wsKWmS8TJLWCGyC6Nv4A19s+tLO19VT7gJJcgNxWbKGKSDwnTk0GvrLaGNi8Tfdoc77eV+4+KqtMyjEIOlGtrPAI1BY9nvLIg2rIfWEY3shD7x.REjfzb9PZA0tFtrQ7XMHd9ApaZyot8zAZWFJ9sUYl+9kTW2AZgMe4g52m1xEdHxhxUpsx0uZ0kHUt10qd0pKdyhvOvE3wIGn6R1zdzXN4VjvNnOkutyvQN1vCkKIzVBrI1fcGymlE9pSZxl6z9N605cAaDAbnEM60iZfC.pJ0.bm8xs495R1915tPnC2k8IM+00xxn3FPfVjz38.Xm6bAUlr4cGnOh15cqj0vHzQ.kIM41sys+uc67mIUNwYRk7Mt5IZb0R9ABLaKFv.8FaavYN1DGabRiv00wprQHVWBFBqwzEK93hZI36kgxEqwgG1eLmVNoJrxwRWoxO22za9TZ4qdskhLr3Q.XmlOB6r.Puttk09PIkxIlJ4Maeaam8qbpmtUxGzUVtkK8SVJy4Z07MqZRyxedhwJYOKkmB4MME4wScZFjilDogBEdxSFiAUKxFlxPHOX5W7Xp3Lr5PRfFI8ThzvpTYC0DvvGqEuZzOR6N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healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @pelle
                  last edited by

                  @pelle Why not use a combo box?

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

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

                    @d-healey Because I wanted to create sub-menus

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

                      @pelle You can do that with combo boxes. Search the forum, I posted an example in the last few months

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

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

                        @pelle

                        Yes, this always happens when the plugin is first installed.

                        Frankly, I have never used a dropdown like this. But as @d-healey said, combo box can be used. Alternatively, if you want a plain list, you can use the preset floatingtile directly, as a single column, that's what I did.

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

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

                          @d-healey Hi, same problem also with the combobox
                          Screenshot 2024-05-09 at 09.08.55.png

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

                            @orange Thank you! Can you send me a HISE-Snippet please ?

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

                            28

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.5k

                            Posts