I'm curious about the range of values accepted. I believe there should be no problem with fractional exponents (square roots), but I wonder about the case of negative exponents (inverse of the exponent) since small fractions would map to large numbers well over 1, so I assume those wouldn't be allowed. Also, since both [else/envgen~] and [else/adsr~] are capable of multiple envelope "segments", could each segment have a separate parameter or would there be one parameter applied to all segments?

On Fri, Jul 12, 2019 at 4:55 PM Alexandre Torres Porres <porres@gmail.com> wrote:
Hi, I just implemented curved envelopes into my [else/envgen~] object. The exponential parameter is plainly getting a vertical distance, normalize it from 0 to 1 and apply a power raised exponential. For instance, a parameter of 4 is like using [pow~ 4] with an input from 0 to 1!

I wonder if this is all that there is to generating exponential curves or if I should also look into other functions.

Moreover, I also have a much simpler object called [else/adsr~] and I'm thinking of providing a hard coded exponential setting for it. What would be a good one and only choice for that? I mean a more "classic" and common design for the attack/decay and release stages.

cheers
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list