preenfm Forum

PreenFM => preenfm2 and preenfm3 => Topic started by: matrix12x on April 26, 2021, 02:15:49 AM

Title: envelope segments
Post by: matrix12x on April 26, 2021, 02:15:49 AM
Is there a way to make the segments of the envelopes logarithmic (maybe using the mod matrix)? Specifically the decay segment.
Title: Re: envelope segments
Post by: Xavier on May 01, 2021, 07:01:28 PM

 I don't know exactly what you call "logarithmic". Any picture ?
The different segment are defined here in the code :
https://github.com/Ixox/preenfm3/blob/master/firmware/Src/synth/Env.h#L73

Title: Re: envelope segments
Post by: matrix12x on May 01, 2021, 08:10:45 PM
Oh, the Decay segment is exponential. I didn't realize that. I wrongly assumed it was linear based on the linear representation in the editor. I should have looked in the code.

A logarithmic function is the inverse of the exponential function. However, I think I actually meant exponential.

Thanks. :-)