HISE Logo Forum
    • Categories
    • Register
    • Login

    Buttons don't update plugin parameters

    Scheduled Pinned Locked Moved Bug Reports
    15 Posts 3 Posters 449 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.
    • T
      tomekslesicki @tomekslesicki
      last edited by

      Hey @Christoph-Hart could you please take a look at this? Thank you!

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

        @tomekslesicki I doom the day that I tried to implement plugin parameter gestures.

        Please have another go, I reverted the system to not use gestures at all with buttons (doesn't make sense anyway if you think about it).

        T 1 Reply Last reply Reply Quote 2
        • T
          tomekslesicki @Christoph Hart
          last edited by

          @Christoph-Hart thank you, the buttons are working now! The only thing that is still not working is changing the slider's value with the button's callback - the slider's DAW parameter value is not updated. Here's a minimal snippet to demonstrate this:

          HiseSnippet 894.3ocsV0saaaCElxIZX1aqacnO.B8J2ghB65X2DTLTu3jzYrkTg4tfsqZYnNxhHTjBjToyXnua6QpuAsGJIGI05tlYr5KLv4+Od324PEpULvXTZhWumuJCHdes+hURaxrDJWRleDw6V9mRMVPGTp5vUYTiAhHdd67TmBut6RJ98lmbHUPkLnVEgbthyfekmxs0ZCm9Kbg3DZD7bdZCu2a5blRNSIT4Hd1we.IixtjtDNi5bqiO4molDh2O3OIZzAiGSmv1a7nngwCF7vw6Og9nI6GOBFMXLcLbvACGGe.w6KNNhaU5EVpELDucOTEsZQh5UxxBbN2vuP.NggjEXkKUehRD4NhNsjYIbQT35FkgfYIrtssSYa6N9mxi3Wqut88cEFBpinYCzqSa3sSK3MrI7Fz.da.RdMfztkP519KXZdls1hCOek+bIdaFSw6olPozWRmuui+LE5gz9fT5kvIZT35H5OYvf6Gf+cuG2qGdWYrAWQ0AkwdXt0pjCC9wf0IXIXmoRyTRTn+ca40c2TFVH3Qf9SkgJuJxPOtTvkPPbtjY4JYfR1pLt7nUh9r0I49X4D4v8582851JcOv.1ycl5W5viee6rDpbID0Gs7Zrx2nynKoUPXFUHt.oy82LBwr13LblxBOS1u.k8dcuf22Tb7FsUkKAn2nY2zl9eKv9x7zK.cydjyQjQ0ll5+wooMmhXksnFNpjykb6yx.4Ga1hT0WcT5JTgtZKHz2xuYmivQd621R0PRAvat+g76yOhZoqSGlYrZYf1xcGDuifqv8SkyKc8OBLWZUY3plquRwMH23h+WWW3+Y4zU0nfO8U7HaRsh+bZBvWlXapgznjcaWxRFXqRVQJaTxWZ9OWRtITjujKCoZbAKNhiMjNYsUUt5EQhfytLvThDC8JXtLTCH81s6f7gKev0dpnbA01dWn6EiJCHyq0BH2RFogaW07Ek+2VPdSg3s8C4VVxlwXmMfQjY84.iUOq7M9GGGCLaM.20+j+3yyaHjeSka4xkmRsZNRr7OKOcA9TLCvpKkfvM460wMiVJOvI65.K.YTgvaweUFG5j8pLNbsQRJkoUufUNY6d35KKzfXRVvz5hesAJGrgQ4T7czWvXsS0GD3C21.GssAt21F33sMvIaafOZaCb+OcftOy4mxspzxwFB4zviKV854crjhLvB1J4c.eM49r
          
          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @tomekslesicki
            last edited by

            @tomekslesicki Do you need to enable meta parameter for that?

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

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

              @d-healey no, meta is only for components that are declared as plugin parameters. In the snippet I shared, the button has save in preset enabled, but is not a plugin parameter, only the slider is

              1 Reply Last reply Reply Quote 0
              • T
                tomekslesicki
                last edited by

                @Christoph-Hart I know this stuff isn’t exactly exciting, but if you had a moment to fix this, it would be hugely appreciated!

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

                  @tomekslesicki should be fixed now.

                  T 1 Reply Last reply Reply Quote 1
                  • T
                    tomekslesicki @Christoph Hart
                    last edited by

                    @Christoph-Hart Yes! Thanks so much!

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

                      @tomekslesicki sure, let me know if you find more bugs, I had to change the internal notification system for plugin parameters so there might be other edge cases where the new system doesn't work.

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

                        @Christoph-Hart ok, I just found one more for you! If a few plugin parameter-enabled buttons are in a radio group, the states of the radio group plugin parameters are not changing when a button is selected. I can manually set their value to 0, and call changed, but that kind of defies the point of having the radio group parameter.

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

                          @tomekslesicki yeah but radio group buttons are not really recommended to use with plugin parameters anyways - they require the meta flag to be set and recognized by the host and I would trust that for every DAW. I‘d recommend you swap that to a single Panel instead (that‘s what I‘m doing in my projects).

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

                            @Christoph-Hart can you share a bit more on this? I have a bunch of buttons that switch things when clicked (obviously). How to approach this with a panel instead?

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

                              @tomekslesicki Sure, there you go:

                              HiseSnippet 1413.3ocsWstaaaCElJIJn1acaEXO.b9GExqdpRt0Ic0nn49lwZ5Lp6JFPPPAsDsEQnIEDois2Pv1qvdS2av1gTxWTqaZmAlPPB44B4GOemC4IcyjQTkRlgbp95YoTjym61alPmbbBgIPcNA47EtmSTZZFNWzQyRIJEMF43r8OXD3TYGj86ue9QDNQDQWJBgdijEQeAaDSuTZ2C9IFmeFIl9Z1nUr9wGzIRJNVxkiA7rsa.JkDcEYH8kDiYa4h9QhJA47stjlgzlws5+n82u0.ZPqVAzVg6GP1aPviiG7j8Z8n98Cio6gb18zXlVl0SSzTExYmijwy5kHmHx2f2vTr9bpYR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2svP3AsxuRt6m1qjQ4UCqXnTzQvz+bJsX9s+LOpnbBF8KcNAxALOyVHCrKkloYF33bB8ZnIm7Gcq3dBUckVlZssnFD4bGsU6cm+jrgbPLXquiaNQgltnOn+ryAyV1TTqClvh0IKDbvebP4jKjyW5VJ4BAE.f46tUQKXyy2Mxbl2W162t.znhLdLmnK28hoGuBE.YUpkASaABESOa0d.+OzRSvs1RymJDumaWlNJY8Xbq0fQfF++.iEMBdW2SGL.thZI.2w8recS656ir84WaL7bB71.v4tub7ndPuGQTX2EPZEr3tNl7fh4Al4lHPOpH1N4efuBkgl4NEJCmqDxlhxjuMJuD0zp4crR.LIrskWA9+Cf43Pjsrc037Hny22FEUdodOGatoN9nM0wGuoN1ZScbuM0w82TGexG2Qy+Xxgi0xQ4kMHz4cO0dOmiyoBBjAZyVQ+K.rM4fc
                              

                              I've also added this as a snippet to the library as this is a pretty commonly requested task.

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

                              37

                              Online

                              1.9k

                              Users

                              12.3k

                              Topics

                              106.7k

                              Posts