It’s not clear to me exactly what you’re trying to do here, but for my approach to a similar issue see: How to get constant slope instead of constant time envelope re-attacks?
It’s not clear to me exactly what you’re trying to do here, but for my approach to a similar issue see: How to get constant slope instead of constant time envelope re-attacks?