Paint Routines ADSR
-
@d-healey Because:
a. The animation in the linked ADHSR floating tile graph bothers me.
b. Because the approach you suggested some time ago - simply showing an unused module - doesn't work properly.
I can't get back to 0 with the slider - even though it shows zero the graph and the ADHSR module slider is at 2 or 5 ms.I would also have to create a display dummy for each ADHSR module (8 of them).
That seems overkill.A reasonable paint routine version would be the optimum here.
I already have a solution from ulrik for decay (see snippet). Perhaps someone with the necessary mathematical knowledge can expand it and then post it as a snippet for everyone.
-
@UD-AUDIO My question is only about the representation in the GUI, not about the function or the connection - which are known to me :-)
-
@MikeB Stupid me :D
-
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
-
No one who can help me here?
-
@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?
-
@Natan Actually, I would like to display this in my gui
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:
-
@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).
-
@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. -
@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?
-
@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. -
@MikeB Dear Mike
You Don't Like That Moving Circle Animation, On Adsr! Correct?
-
@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. -
@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.
-
@d-healey You are my hero
-
-
@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? -
@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.
-
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 }
-