Forum
    • Categories
    • Register
    • Login

    Animated modulation

    Scheduled Pinned Locked Moved General Questions
    23 Posts 4 Posters 933 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.
    • David HealeyD
      David Healey @ustk
      last edited by

      @ustk drawpopupmenu ?

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - HISE tutorials
      My Patreon - More HISE tutorials

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @David Healey
        last edited by

        @David-Healey unfortunately no it's not tied to the plotter methods...

        Hise made me an F5 dude, any other app just suffers...

        David HealeyD 2 Replies Last reply Reply Quote 0
        • O
          Oriah Beats @Oriah Beats
          last edited by

          @David-Healey @dannytaurus @ustk you guys are the best !!

          1 Reply Last reply Reply Quote 1
          • David HealeyD
            David Healey @ustk
            last edited by

            @ustk said in Animated modulation:

            @David-Healey unfortunately no it's not tied to the plotter methods...

            I've got Claude on the case

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - HISE tutorials
            My Patreon - More HISE tutorials

            1 Reply Last reply Reply Quote 2
            • David HealeyD
              David Healey @ustk
              last edited by

              @ustk https://github.com/christophhart/HISE/pull/986

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - HISE tutorials
              My Patreon - More HISE tutorials

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @David Healey
                last edited by ustk

                @David-Healey Noice! 👍
                Have you had a look at the PR count lately? ↗ 📈 😨
                AI's in the place...

                Hise made me an F5 dude, any other app just suffers...

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @ustk
                  last edited by

                  @ustk said in Animated modulation:

                  Have you had a look at the PR count lately?

                  Yes, I'm trying to restrict myself from piling too much on Christoph.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - HISE tutorials
                  My Patreon - More HISE tutorials

                  ustkU 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @David Healey
                    last edited by

                    @David-Healey Same...

                    Hise made me an F5 dude, any other app just suffers...

                    1 Reply Last reply Reply Quote 0
                    • O
                      Oriah Beats @dannytaurus
                      last edited by

                      @dannytaurus please assist I want the wave to look infinite, no visible start or end point. see my mod
                      mod.gif

                      dannytaurusD O 2 Replies Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @Oriah Beats
                        last edited by

                        @Oriah-Beats Mine is in a panel, where the panel is the actual size I want to see, and the Plotter floating tile is slightly bigger so the L/R edges are cut off by the panel.

                        Panel = 180x50
                        Plotter = 182x48

                        The Plotter's 182 width means the left and right edges are cropped. The 48 height stops the top/bottom of the wave being cut off.

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

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

                          @dannytaurus Or spare a component by drawing the path in a bigger area

                          Hise made me an F5 dude, any other app just suffers...

                          dannytaurusD 1 Reply Last reply Reply Quote 1
                          • O
                            Oriah Beats @Oriah Beats
                            last edited by

                            @Oriah-Beats that's a smart trick it worked . thank you. so the panel works as a mask

                            1 Reply Last reply Reply Quote 1
                            • dannytaurusD
                              dannytaurus @ustk
                              last edited by dannytaurus

                              @ustk Mine is actually four components, because I'm fussy and the it was the only way I could find how to do it! 😂

                              My displays have rounded corners, and even though the parent panel crops the plotter waveform by width and height, it still leaks out of the rounded corners.

                              So, my setup is:

                              Parent Panel = 180x50
                                  Plotter floating tile = 182x48 at -1, -1
                                  2px background-colour border that covers the corners = 182x52 at -1, -1
                                  1px brand-colour border visible in the UI = 180x50 at 0,0
                              

                              If the contents didn't leak out of rounded corners I wouldn't have to hack it like this.

                              This GIF of me hiding the various parts might explain:

                              CleanShot 2026-06-13 at 22.21.18.gif

                              Not sure if the GIF shows it well, but when I hide the hacky dark border, the waveform leaks out of the rounded corner.

                              Meat Beats: https://meatbeats.com
                              Klippr Video: https://klippr.video

                              dannytaurusD 1 Reply Last reply Reply Quote 0
                              • dannytaurusD
                                dannytaurus @dannytaurus
                                last edited by

                                Here's a zoomed-in GIF showing the corners leaking without the dark border:

                                CleanShot 2026-06-13 at 22.27.32.gif

                                I can't have that in one of my plugins! 😮 😂 😎

                                Meat Beats: https://meatbeats.com
                                Klippr Video: https://klippr.video

                                ustkU 2 Replies Last reply Reply Quote 0
                                • ustkU
                                  ustk @dannytaurus
                                  last edited by

                                  @dannytaurus I have two ways to treat this in one panel. The first one should be THE way but is broken for so many years, the second is dirty but works nicely:

                                  • Mask -> still broken (I’ve made a quick fix but it still crashes exported plugins)
                                  • a first drawRoundedRectangle larger than the green one, and with thicker line landing precisely on the outer edge of the green one. So you need it thick enough, and compute the precise coordinates, This way it is acting like an outer mask. Then draw the green one normally on the top.

                                  Hise made me an F5 dude, any other app just suffers...

                                  1 Reply Last reply Reply Quote 2
                                  • ustkU
                                    ustk @dannytaurus
                                    last edited by ustk

                                    @dannytaurus

                                    HiseSnippet 1342.3ocsW80TabCDWGvkhcZxjzoe.tgmNmRM1TCAlLcpwFC3g+XO1jj19BUVmNaUNKcUmLfaGloez5mm9T+FztR24y2ELoTll6AXzpc2e+zpc0ttqTPnQQBIxp34SCoHqO2t+TtZTyQXFG0dej0ysOEGonRmXQMlFhihndHKqkOTKvpvJHy2e8cMvAXNgNWDB8NAiPOgMlolKMr9wrffCvdzyYiyncs5sIBdSQfXBvmksqfBwjKwComg0psjM5HbzHj0qr2kPH90p4uYURsp01Y6A6Vk3SFr4l6V40daR8Fr8.Jc2c7QVOokGSIj8UXEMBYsRCg2z9iDWyiA3crH1f.pdQUTe.4XwGHB7zGQsTTyQr.utyBTQHvKcmG1VNNr8k1mx7XoxmG9dgYCm4VjM.ZsTd5sbN5UMK8pjgdKfRVYnzJwT5k18IRVnZ9NZ97EIRuGFEuIZo+z1tofqnbU4w3KoGHgEsg0ReLg5tckJq6.+ozaJVDtxhTNWgkNcwbZPUmu0YlkCoplhwgBNrvcs3sWCrYtIDgjSkGyGbuVkp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ot5GQfKasol0Uzq0Qf9TtmYweCeIaVUu1JYypy1DJjHRwEj3GIzi3tpQBvIt4mCT.9cIvZmp4dYHtFDxQufPx6p6X3lOVC+lGqg0drFt0i0vserF95Gqg67uan9Ij8lnDiiKaPnS61x7RtkUKyaLlrUz+.THMMq.
                                    

                                    R0 = CORNER_SIZE

                                    IMG_8835 copy.jpg

                                    Hise made me an F5 dude, any other app just suffers...

                                    dannytaurusD 1 Reply Last reply Reply Quote 3
                                    • dannytaurusD
                                      dannytaurus @ustk
                                      last edited by dannytaurus

                                      @ustk I haven't done much with drawing code yet, but I'll try it. Thanks.

                                      It achieves exactly the same thing as I'm achieving with multiple panels. Draw a 'hidden' border to mask the edges, then draw the real border on top.

                                      The main reason I used panels in the first place was so I could see the colours in the interface designer properties panel. But since then I've moved all colours to script, so that reason no longer holds, I suppose.

                                      Meat Beats: https://meatbeats.com
                                      Klippr Video: https://klippr.video

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

                                        @dannytaurus Yeah, keeping the colours tidy in your code is easier in the end. Then you can set the component colours from script when needed and everything updates automatically if you adjust something instead of copy/paste in all components...

                                        I tend to to everything I can in paint routines, the less components in the tree, the happier I am!
                                        That being said... In order to reduce CPU load, I still tend to keep fixed drawing (bg, mask, etc...) in separate panels so the LAF function job is only constrained to what is really necessary. I also keep all the math constants externally, unlike the example...

                                        Other issue with the "multiple panel masking technique" is that when you want to move it, it can be very annoying, unless adding them all in an holder panel, which is one more component... 😬

                                        Hise made me an F5 dude, any other app just suffers...

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

                                        12

                                        Online

                                        2.4k

                                        Users

                                        13.8k

                                        Topics

                                        120.4k

                                        Posts