HISE Logo Forum
    • Categories
    • Register
    • Login

    Paint Routines ADSR

    Scheduled Pinned Locked Moved General Questions
    65 Posts 9 Posters 4.3k 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.
    • ulrikU
      ulrik @Matt_SF
      last edited by ulrik

      @Matt_SF I made this in a panel, and yes it's a lot of code.
      This is almost a mimic of the original AHDSR in Hise but it's easy to remove Hold I think.
      And there is a lot of code for controlling it with the mouse, you can remove that
      Try and see if it's usable

      HiseSnippet 2409.3oc4Z07aabbEeojVGSZIaGjhbdf.J.oEs3Ghx1HpthTTRVBwxlPz1IoBJIK2cH4TsbmM6NjRp0FPn8f6s1iMWJ5+F8ltVzKEHG5U+OPABxgdoGTeyLK4NjZI8JA3.qzEvRZl48wu2GyLuYFWyiZh88odZIR9ricwZIlUu9wNr1UaaPbz1dcsD2RuxVqWeWTMnCF1RasicM78g+HQhoeDmnDImQS788qtlgsgiINrKMsWPIl3GS5PXg8Vq7mRrs2zvB+LRGEpKUdaSpSUpMsK.no0yq4ZXdfQK7SL3jMktVhqsgEgQ8pyLXXesDyrF0535soG5Ho+EDeRCaLuQAs5ffjcuI01hiXduZUaSrsp02v80zRnWKzMLszM7yz2gXQFzen631hAPgbn5ORL0jfWAU3kO9vKgB7lQBuOTutoGwkENBGa2PeaHD40z.BApvRRq1T+m4zqRAJbXK1w3.7ldPiAbj9d4ymEsT97YVIEDE7YndFdHYr+gHQRwhsvrcnVcsM.aL87hwleHx2voG1l5hq4XCL0WY.aUocboNPizyqPy7YFUUepSCefy8hl0JymIapj7ODZLRuxi4zfh9KZV15Byw5WXNpeg4X2KLGUpNel8WYb7jh3XSbvnlccLYDpCh5.d7cqy83b44QsSa1WXYgHhcWblT+1TIsolF1nJLlGoQWHslGdJBYJYQkxhVNK5dYQ2OK5AflCH00vAa+BN+BZCGf.+USpGJMA5O+JHB5WftO7qEVHSpjflRJRAV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ai9NvYqGyDh4zkFIRLa+86sJtYerJiHueC1Y0EoEWE7q2ROHg8Jgi8l5AyktJ3ZmX0MS++mU2HeK7V6X.qhyKN9Ic6TGJpvDCHwwAayu+yDSwKLP1NOusrpBGKQiyfufAKvamHXvB8G7GEczwvzi9Ulx65iul60E8.1si3+MTI02g2FUn+E8oqmew77iAP9JSSt69tf+IZdJdI3YoKAOktD7r7kfm6cI349WBddvD4gWUVktLZG4TQniZaHtv0DI1vw.xjEY8Z+OfrNfZk
      

      AHDSR.gif

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      ulrikU Tania GhoshT MikeBM 3 Replies Last reply Reply Quote 3
      • ulrikU
        ulrik @ulrik
        last edited by

        @Christoph-Hart btw, the "Decay curve" in the AHDSR Envelope modul, seems to be broken, nothing happens, at least not visually

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ulrik
          last edited by

          @ulrik Ok, I checked, it's working but not showing in the graf

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          1 Reply Last reply Reply Quote 0
          • NatanN
            Natan
            last edited by

            @ulrik Amazing :gem_stone:

            ulrikU 1 Reply Last reply Reply Quote 0
            • ulrikU
              ulrik @Natan
              last edited by ulrik

              @Natan thank you! However it's missing the visual playback line/dot but I can't figure it out how to implement it, I guess I need a timer and a very complex timeline...

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              DanHD Christoph HartC 2 Replies Last reply Reply Quote 1
              • DanHD
                DanH @ulrik
                last edited by

                @ulrik This is great, well done! A draggable envelope was high on my list of feature requests! On top of the playback dot my only recommendation would be some way to see which bit of the envelope you are controlling when hovering over different bits of the line - changing the colour would be most obvious I guess.

                Brilliant work though :)

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                ulrikU 1 Reply Last reply Reply Quote 1
                • NatanN
                  Natan
                  last edited by

                  @ulrik Can We Have A Small Circle To Find The Dragging Points Easier?
                  Or A Hover Effect?

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

                    @ulrik How relaxing it is to see that youβ€˜re now the target of all those feature requests :)

                    NatanN ulrikU 2 Replies Last reply Reply Quote 4
                    • NatanN
                      Natan @Christoph Hart
                      last edited by

                      @Christoph-Hart 🀣🀣🀣

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

                        @Christoph-Hart Haha...πŸ₯Ά

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

                        1 Reply Last reply Reply Quote 1
                        • Tania GhoshT
                          Tania Ghosh @ulrik
                          last edited by

                          @ulrik Amazing..... (y)

                          Tania Ghosh

                          1 Reply Last reply Reply Quote 0
                          • MikeBM
                            MikeB @ulrik
                            last edited by

                            @ulrik said in Paint Routines ADSR:

                            Absolutely amazing - you are really the hammer - man. πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘
                            I knew, you - master of paint routines - could do something like this.

                            Fantastic.
                            David also showed me where to turn off the animation on the original FloatingTile AHDSR graph.

                            @Christoph - nevertheless it would be nice to have a way to turn the animation on and off in the floating tile AHDSR graph.

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

                              @MikeB said in Paint Routines ADSR:

                              nevertheless it would be nice to have a way to turn the animation on and off in the floating tile AHDSR graph.

                              Damnit! Well, it was nice while it lasted :)

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

                                @Christoph-Hart
                                Developing plug-ins is a merciless business :-) :-) :-)

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

                                  Link Preview Image
                                  HISE | Docs

                                  favicon

                                  (docs.hise.audio)

                                  If you don't want the ball, just use an empty function for drawAhdsrBall

                                  MikeBM 2 Replies Last reply Reply Quote 3
                                  • MikeBM
                                    MikeB @Christoph Hart
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • MikeBM
                                      MikeB @Christoph Hart
                                      last edited by

                                      @Christoph-Hart
                                      Did you just put that in or has it always been there and I stupidly overlooked it?

                                      You did something to the code, I saw that.

                                      Is the ahdsr-graph part NEW?

                                      if yes - super many thanks

                                      if no - I take a wooden slat and hit it on my head - a small one :-)

                                      NatanN 2 Replies Last reply Reply Quote 1
                                      • NatanN
                                        Natan @MikeB
                                        last edited by

                                        @Christoph-Hart Can We Have It For The Border Around The Audiowaveform Aswell?

                                        MikeBM 1 Reply Last reply Reply Quote 0
                                        • NatanN
                                          Natan @MikeB
                                          last edited by

                                          @MikeB Yes It Is :)

                                          • added customizable AHDSR lookandfeel methods
                                            christophhart committed 2 hours ago
                                          MikeBM 1 Reply Last reply Reply Quote 1
                                          • MikeBM
                                            MikeB @Natan
                                            last edited by

                                            @Natan i take the wooden slat) :-) :-) :-)

                                            images-products-1307-0622-smiley-face-hit-on-head-w500-c0.png

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

                                            11

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.1k

                                            Posts