Paint Routines ADSR



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



  • @MikeB Yes It Is 🙂

    • added customizable AHDSR lookandfeel methods
      christophhart committed 2 hours ago


  • @Natan i take the wooden slat) 🙂 🙂 🙂

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



  • @Natan it is itemColour 3



  • @MikeB Item Color 3 Of Audiowaveform?



  • @Natan
    oh sorry Natan no for the new AHDSR graph this applies - for the audio waveform I use this trick - you probably do too

    HiseSnippet 1233.3oc4W0saaaCElxNJnNasacqCXWpK1Eo.4Ga2j1.rKlSbb1LxO0HNsqX2XvHQaSXJRMJJm3NLfcydJ1KydDFF1CxdC7Njx1hNSM0w6WrEfjHdHOhe76b324nVRgOINVHQNktXTDA47ttsGwU8q2GS4nlGhbdf6o3XEQ5kZ5fQQ33XR.xwo3mqM3TZEj4me8yN.yvbeRlID5kBpO4DZHUkYsUsioL1Q3.xEzPqUuSsl9BdcASj.3onaYTD1e.tG4LrdYEbQNq1HfpDx1JrhDibV4.Qvn18EWwSW+KowzKYD8fJn1vKJ07QBVfFw5mQ06SYAsldtiQHG2VYrPwTV3QtmRCnyrmwFuuYBuLOr4CmB2F7prjvywBdqjBuG511WRiTYynw1631jCAptXHDXCqz0hb9Q25BXAb0Vg3AjijvfYNr9SKWdCucKW9weZ2DtuhJ3dB9YBE4470e7ZeyZkV6aWy6lS0satyo2FofwHxbmVG0k2liqySBujH2vaHlkPlsP33OO+t5hwu9omZqEJ3M4T0yiHSFmEApjSD.Mg1zwhIHD1akIR7QShD6mDPEeIdHoqPFhnA5Lk4rUAYNL12MBvJLx46c29EwDY71gX+.xPBSDs8gj3AJ3+GK3CIREE9c6pU2p7tdC9hW6soWm87NfpfGNUvEauSkN0GA70wT+AcJWsyy1amMOC1RLi9ZxlsIF1cy2n+acEdHRh48H.uJg7DWGM5LVZvCzi+4c.Cun4gZ.OgD.9.3nHC5fPgygjgvM8zzyRtSN.l0FFI3Z1y4AoT18ml7h4Dlgptmq44Jnq0a1.XuFoe3WfGthFn5Oiz9NZs9DZu9VhIeUMLiItpN72KA0B.Jum69LlWlAphDNUTozpSI+LqUsMGMMt2LPqBXBgdmHDQdsX3QDYEjhbsx90Mdr1uKEx.hrMP315YhH7Wqi4NERm+bb.MI1NGHOB5NjScs06p1H6Au8CRLNLhQZxCHWmdOIiRdh8Qad9aiwnw4veiQaXLeS14GRYmdY1Fm9VQwv0wSnbSxSA8finrIJ8NEivRfQrnlYoHneuZHnIKBRXX07B05pSSl.x+mSQTK6wiopQ1UutCp2kyU8NWsiEDtOzsEU42Oe7VHG7BoN+Ui2I0BuuaitcAQjLvth6QuZYK7sbP4CmBESdrNMljVyK2L62bOJ+zh1iRzB2iBztjOD1H1oRlX4ERP9gx6YuUZX1fiAtHvd8mKDJcAU6djZatdZjjgWu8K4bnJgLlLmsrKO+6ndRnl0SKjDhudZMDFb7mqHCyvGypw3TboZfZ9a5VqOmtoV4efl89yWt3Ot5VwECtuk9QKMEiso5r0FbS9FwfwO.5BnKNgolZs5bnTmpD0Wvo9ymaqjzd8HRarm6AZekBtekY4Q0NmvH3XqKQeRMcAFr7lWOuCbQkEmKts30G6lBWOsZh2+MpJU7+mUkNWjn.U8SwPhpVX6rjv1Pw.eBfDNzhRrVLqf9qFRGWdpVWaBOvL.5.Z7jIqnG6LYxJSm7uk8.JOHEc7S+dFct78LVfyM2TGoD7c+vXuYe3hqa4sJCB6AzN99Z5dyJHT99TcI74IKgO6rD9r6R3ySWBed1R3yd2pO5hQ6mnDgoWEACsZX9jLGmY8T3TD8afYH9ar
    


  • @MikeB Thank You Sir Mike 🙂 But This Is Not The Best Solution, I Prefer To Hack The Source Code To Achieve My Taste,
    It Has A Bright White Layer Over It, And It won't Match To My Flat Design, Also Using Opuqe Has Glitch Issues.



  • @Natan or like this 🙂



  • This post is deleted!


  • @DanH Something like this

    HiseSnippet 2933.3oc4Z07aabbEeokVmPF+QBRQPONk.MXoMkDIEkcpUbL0GVwBwxlPTNIBBroK2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F9wfcd0s97W9OLeYnbEATdK0FPR.+4qyAx6waS9L8injOlBoGnSs7jduKdxv28uMqu2E8m426hGZ3CC+dt51d8c7FQwMn8X6A4xdxDejGcKW5WsKFkkougCd6Xoz02cms.iLUYZn6OvkmtrVOmA19ijdL2LGSNCu+Gy+J86+w2eKNL2rA2WvqnxUEX7MDu.QbnE9aYDsiisS+tN1LC4.7tTeWVmNTWYhoBdwyNdC7F2jIye.xInpnHXV9zuBJ2GuMD4i1hOGZ4ycxUm74ICdtzQjfSJF77okOC3cMb1QrM54wYWd5Na0YLg3xpBijvms+p8VEWIDqhHxq1f8Rp7zhWG7qWUMHg80BG6UTClK85fqcpU2L2+eVci38PpyN5vp3XwwOXPuFPQEFT.I11TK7VQybArv.Q6RXaQUE1l7FOG9DzYYrclfNKG142KiQOcCWmuvPbCf3ZtuImBX217WE0rp6fsIkCu9OU0RKVBOF.6KLLP28Bf+IcYpbNjY4ygLUOGxrx4PlabNj4lmCY9foJCVU1ZC7c5IlJBDpeW90vlIycs0gLYdVux+EbQXREE
    

    AHDSR.gif



  • @ulrik Uffffffffff....... Mind blowing. 👍



  • @ulrik said in Paint Routines ADSR:

    HiseSnippet

    Awesome - you are great ulrik 👍 👍 👍 👍 👍 👏 👏 👏 👏



  • @ulrik WOWOWOWOWOOWWOWOWO
    Absloutley Amazing 🙂 Thanks A Ton



  • @ulrik said in Paint Routines ADSR:

    @DanH Something like this

    In a nutshell.... yes!



  • @ulrik Amazing ! I just begun fooling around with LaF but admit I was struggling with just one quadratic 🤣



  • @ulrik Nice work. Is it OK for you if I add this to the recipes in the docs? It would be a shame if this got lost in all the forum noise.



  • @Christoph-Hart Absolutely,
    but take this instead, it contains a fix when 2 parameters
    has the same x-value

    HiseSnippet 3076.3oc4Zs7aabbFeok1jPF+HAoMnGmRfZrzlRhjRxIMJNl5gUrPsrEDcbrf.a5xcGRNUK2gY2khhMQ.t4RK5kdnmxoFz+JZOUenm5oBz+AxeBAHWKf622L6igKWJSK.GX2RX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zb5+ro5Oe6sdt8mKdlS6NE24UrR0KdlqPnTK49+hCGwEyRv02N3b5iuTNZ7hm4JwI35Ie4qXY1IeX8ukd7yLW88H.e4IBYfcj5CrGen7t..FoByWHubAyJbea88vypmMduPF3E1iwKZ7F9pZ.6RocapUPBXmWe6G8h+8xPEJWVBk2TuATDHdUID.4cEsIeJdsYeLEJOvfZ0o8Jz73Quy+ZVeEZ5OyuBM22J.59G3Y552m6OlgaP6wd.TK6qR7S7oa6Q+78wrrJ8M43ErkAqu6VaCNYl5zvLXfmnbY8d7AtAiUdL2LmSx9U4oRVuqLy+R8qxyObSNL2rEMeFusQWQhwWW9JfIfVzuUQztbWd+tbWlkZBdeZfGqSGpmJwLAu7Y9uIdiapjEO3+TT0zjBqd5WIk6h2FRH453Qaw2efHEwycJLm54ICeeBTOoX36Uf5Y.usEeW4xnu.B15yXAwkzkNIQLZ+k6kJtbDVkYjWtA6E0EkEuJDWuhdXA6qDA1KqGNV5UgP6Yt6l49+yc2He+w5rqILKNt436MnWCXSEVT.IttTG7VQycAbiAx1Uv1xcU3ZKZ7T3SHypX6bgLqFw7Gj9nmokG+yrj2.HNm6aHn.9sq3sJNu9tXaR0nq+SWuxhUviAv9LKKLbu.DexVmZmCcV9bnyJmCcV8bnyMNG57dmCcd+yTGbWYqOHf2SNTDHr2sEWCatb210DpjEU8Z+W.Q9wy0B
    

    or this one but it contains a preferences panel, maybe this an overkill 🙂

    HiseSnippet 3633.3oc4a07aabbEeok13PFamjlfflBzhoDsFj1TRj5Cmzn3XpOrhLhksfnriETYRWtbH4VsbWlcWJIFaUnVTTzas.8T.5gbo.EEnnm6MEfdqWJP+GHnnm5gBCzqEv88lY+X1k6RshHI0tkvlRyLuO98dyal4MenMsLUo11lVRYxt8fdToLWPt1.CmNqzQQyP5VqJk4aJuz5qVaKxlPENzljCH8rnsnVTCfSokGzSw1l1TJSlIdWjkLYmTh84w2XYEcEfnfpjjtuolJ81Zc0bBpcypumlt9ZJMoaq0Uf54qdKU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rfqcjY2Lw+elcC+Oik1an.yhimSwc52sFjTgJEPhgAUGuCzLmCSLfWtLVlmUgQSVgm.ebarBVNiaiU7Z7qDczUQ0x7CU4WeDNm6yypAraC1ebiYk2.KSp3cuQxxkmtLdhLZenpJ5tmB7OwyyriAOyMF7L+XvyBiAOWaL34MFCddyQxClU1R8cL6xGJBUr4MY2eWlL2z.O1EVTuz+Avxq+S3
    

    I tried to implement animation as well, but I had no luck 😞



  • @ulrik I've updated this.
    Since I don't really understand how the

    getBounds()
    

    work, and the last version didn't look right when changing the Attack Level I changed it so it's stable.
    I also implemented the Decay Curve visually so both the Attack Curve and Decay Curve can be changed using Shift and drag

    HiseSnippet 3763.3oc4as7aabbFeok2jPZaEGjfj.TTfoDoFj1TRj5gsSTrE0CqXiHYKHZmXAU0jk6NjbqVtKytKkDiiBTK5gdq8VQtk+EBJRAJPQgPaAJJPNTf7OP5sdzWxgbx86al8wrj6Jsh0N0tkvlh6LeO988Xl4a1Y20rsToNNV1RYxd2dcnRYNqbsdltsVrkhtozsVRJyOTd9atTs0IqAM3R0H6R5XSaPsol.mRKzqihiCUSJSlQdGjkLYOsD6yCmaAECEfnvljjdOKcU5J5s0cCacspuqtgwxJZz6p2Vf5oqdKUKyEsLr5BvaD4xRcTT2VoI81JHYmRVJyycCMcWK6ZtJt.Vxb5Erz5Uqk0tlb5eOcG85FT7hJR0.AwadYKCMDwXqRK1R2PaMe2fijTF40BcJivcJuh7p5Z5AsG5bNOqCRHGh9iLm5nfWEQ3UN8vKi.7NMGdujbMUa8Ntg8fX6Lx2BBX1MTfPfHr3zJcJsef7hV.Elti2VYa5x1vEAbT3xkKWhLU4xEmMWNHL33R1QwlvSEtFgkiLdSp6pVZcMT.irPdVe4A5CI+Fl6PMr5PWyz.XxWa.aKZ0tikIbQg7BzjuX+p5cMq6.btY7rNe9hkxkE+PHIH84WAogD+m3Y4lmXNV5DyQsSLGqeh4X9EO4FBvxVP.O2DSjkGpcLz0n1NYuV7exoaZnaRIM5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