HISE Logo Forum
    • Categories
    • Register
    • Login

    Paint Routines ADSR

    Scheduled Pinned Locked Moved General Questions
    65 Posts 9 Posters 4.4k 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.
    • MikeBM
      MikeB
      last edited by

      This is my attempt - I can't get much further than that.
      I can't connect the knobs with the dots
      And above all I don't get any bezier curves in the attack, decay and release.

      If someone with the basic mathematical knowledge of Leonardo Fibonacci can help me?

      HiseSnippet 1164.3ocsV07aaaCEmxIZsVcdnEXG2AgbXPdv0UNezNffg7gSxPPaRcixJ1sBFJZahHSZHQ0Dig.z+B18rS85tsi6TOu8evNtC61tr+C1djTxRNwMI1.yWrduGeO9i+HeezIVPnIIhXjU0iGMjhr9T6fQbY+18wLNZ+cPVeg8lGvNkts6ic2Zmfib6.FjGIRkLNEs8ng3jDZHxxpx2p7vp5hH8u+YiswQXNgVnBgdsfQnufMfIKz1Yymyhh1CGROlMnzpWcy8IBdaQjHEP2B19ngXxo3dzCwpkUwFY8I6Fxjh3.IVRSPVKtsHbTPewYby5eMKgcRDUIzBE.AxndOQTnBwJsn18YQgcxYgDDDkNEbxBFN4ysOfExFqufadn1fagGk3iErpbSvq0sCO+oAOqRvaQC7djc.IlMTVXQgsGXuOWRi6hISbMsfYsnJudA61BXEbYyA3So6ECBi8v6o99MbWy2u950bp47VbrKVJA928ab8at75FUgTBdjQyZYpRRSj.6nUlqKlFQwITkNczp4.WrIRWksmyEmzBrjCkdTYawfgBNH3sj15RJLv3Qv6M2tobhjI3tBt1lxsXQjGI2mFPTiRo0q47C0bbcq4bA37MF7lIJs5vzFGEcBbH8lL50uFpIkPLIlB2ucvx9d0W2wgzDHfX4gzyBROQq0PbM.BAXSvt5fbrvSSdMxIrxV.l6in+YMba0TemTRoeIkjHQBMei0vYLl6f4znONUaLujxGymJdobttWN260qtgbcc6YHOUJpm4ujl8hoTErM16B41ZvPZ3J6yRT65KDDbz1hTdXhmB40W200o5SdRulgw3yt8U6bQ80K8P3Pgj9RtG.JmpNW33dUSc6NUaYWtQz3oZVULJ9lbzimN3DZb9Ct7EBYkSl1+f6VZOwbqTZgB99bl7kCoYxkqakepys5iFeXKqp3LVVq9nMkkUn550cPYuZTEHyVNrTot9ymkU+IHhERiQL.i2yVm.gzbSVM82e4k+7Fn6ryKOgy+4q90OLCNuxDN+t+9U+1L37pW04+XCz2s+NXIVU+MiH.xYHMVxTWwV6PeKzXyTMtp8NzjSkhgHK6w4WPuJylVKuVsJGSum221jugNGbvR.63H0GmCebFKT1WI7WfPeJqWeoR5GQ56iqF5a3Z37h1pe0liFK7KwaJomKUXXKcQJz.rdo+zkpe+9Fk2E6a89pztPJsKuOeWtGvLPMOzrD0UJEUHPEQ8c4QspcfoT4LE2UMz8Grxn6uD9HOdGY5WAilbsVsPCeQXZDVN4T.pQexL.0HlncqpkJOgIGUdznYXz.+67jK2U39H6NLIo+zwakofW3U++23MaPqZ161sKkHK.6h1688y6TUy.TL835c.VFyTOLNLcP.zMiPAjvgryD0ajJpzNiruRVwLATdnV3egeYFaojsxL1J2HjaQhEugXpBoFk69ZM.l35IZqZefR1cbUSaan4NZ.Lg4aHDEU7X.6S2mkmCeVYN7Y04vm0lCed5b3yylCe95azG0v8akJECLoIfhN6paCXYsKGCuxzuHQ+GfGoFZz
      

      Bildschirmfoto 2021-08-19 um 19.53.55.png

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

      1 Reply Last reply Reply Quote 1
      • MikeBM
        MikeB
        last edited by

        No one who can help me here? 😧

        "One hour of trial and error can save 10 minutes of reading the manual."
        "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
        HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

          @MikeB Dear Mike
          Why Not Making It With Sliders And LAF?
          So They Look Nicer, And Draggable Aswell?

          You Just Need Rectangles And Triangle, Right?

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

            @Natan Actually, I would like to display this in my gui
            Bildschirmfoto 2021-08-20 um 17.43.50.png

            only without animation like in the FloatingTile
            But drawn as a path and moved by the knobs.
            As in my first snippet above.

            I hope one of the PaintRoutine masters here has a few minutes to do this. :folded_hands:

            "One hour of trial and error can save 10 minutes of reading the manual."
            "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
            HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

              @MikeB I really think we can do this with the default floating tile and just disable the animation in the source (maybe we could even add it as a setting).

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

              MikeBM 1 Reply Last reply Reply Quote 2
              • MikeBM
                MikeB @d.healey
                last edited by

                @d-healey That would be fantastic of course. I already thought that it can't be impossible to switch off the animation and wanted to search the source code. But if you can do it, that's better.
                Thanks Dave.

                "One hour of trial and error can save 10 minutes of reading the manual."
                "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                  @MikeB I'll look into it. Just so I can check though, you have a project with several envelopes and they all have the same adsr values, so you just need to display one?

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

                  MikeBM 1 Reply Last reply Reply Quote 1
                  • MikeBM
                    MikeB @d.healey
                    last edited by

                    @d-healey
                    Great - no I have several ADSR FloatingTiles and they all have different values.
                    Therefore a standard AHDSR graph without animation would be wonderful.
                    Alternatively an AHDSR-Graph drawn with PaintRoutine.

                    "One hour of trial and error can save 10 minutes of reading the manual."
                    "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                    HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                    NatanN d.healeyD 2 Replies Last reply Reply Quote 0
                    • NatanN
                      Natan @MikeB
                      last edited by

                      @MikeB Dear Mike

                      You Don't Like That Moving Circle Animation, On Adsr! Correct?

                      1 Reply Last reply Reply Quote 0
                      • Matt_SFM
                        Matt_SF @MikeB
                        last edited by

                        @MikeB I'm scratching my head since yesterday to get Path.quadraticTo() working correctly with ADSR knobs + atkCurve and dcyCurve. It can work but it's a mess and requires a bunch of code lines (although I'm sure @d-healey would find a beautiful way to write it).
                        If there's a way to use the default floating tile to do it, I think it would be much better.

                        Develop branch
                        Win10 & VS17 / Ventura & Xcode 14. 3

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

                          @MikeB said in Paint Routines ADSR:

                          herefore a standard AHDSR graph without animation would be wonderful.

                          I think this is the way to go. I'll try and figure it out for you.

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

                          MikeBM 1 Reply Last reply Reply Quote 1
                          • MikeBM
                            MikeB @d.healey
                            last edited by

                            @d-healey You are my hero ⭐ ⭐ ⭐ ⭐ ⭐ 👍 👍 👍 👍 👏 👏 👏 👏

                            "One hour of trial and error can save 10 minutes of reading the manual."
                            "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                            HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                              @MikeB Comment out this line - https://github.com/christophhart/HISE/blob/develop/hi_modules/modulators/mods/AhdsrEnvelope.cpp#L298

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

                              MikeBM 1 Reply Last reply Reply Quote 3
                              • MikeBM
                                MikeB @d.healey
                                last edited by

                                @d-healey Thank you Dave as always. I hope it still finds its place in the official build!
                                Do I have to do something or are you pushing this?

                                "One hour of trial and error can save 10 minutes of reading the manual."
                                "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                  @MikeB I like the animation so I won't be removing it in my build. The ideal solution would be to add an option for this but I don't have time at the moment to investigate it. You should make a separate git branch and comment out the line and rebuild.

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

                                  MikeBM 1 Reply Last reply Reply Quote 1
                                  • MikeBM
                                    MikeB @d.healey
                                    last edited by

                                    @d-healey

                                    Thanks I have already done that.
                                    As you can see, others welcome this possibility.
                                    So it would be nice if there was an option in the FloatingTile Data where you can switch the animation on or off as you wish.

                                    If there is time

                                    AHDSRGraph
                                    {
                                      "ProcessorId": "",
                                      "Index": -1,
                                      "Animation": false or true
                                    }
                                    

                                    "One hour of trial and error can save 10 minutes of reading the manual."
                                    "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                    HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                      @MikeB @d-healey And For Audiowaveform Comoponent To Didable The Dragging Corners 👋👏👏 Please Please 👏

                                      And Plotter Colors Not Connected To The Interface Designer

                                      d.healeyD MikeBM 2 Replies Last reply Reply Quote 1
                                      • d.healeyD
                                        d.healey @Natan
                                        last edited by

                                        @Natan This isn't a feature request thread :p

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

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

                                          @Natan I have just opened a feature request thread - if you want to get involved

                                          "One hour of trial and error can save 10 minutes of reading the manual."
                                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                          1 Reply Last reply Reply Quote 1
                                          • 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.aUocboNPizyqPy7YFUUepSCefy8hl0JymIapj7ODZLRuxi4zfh9KZV15Byw5WX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wNlD8SPlOp23al2qeBxe7VbX534MeKuR5sjX7CjOcs.Z8+aUDsC0g51l5PLUCv6hYdjVsvdpcFI3qHdqfp7aUS8rjqyuYd0dEeRhC54q4myU1yi4W6gJgaAgh9GaieBSg3TO4Xc4U9Gxyxmtq714UOs2Flzcjai9NvYqGyDh4zkFIRLa+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
                                            • First post
                                              Last post

                                            21

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.2k

                                            Posts