SLAAED8 October 2024 TAC5111 , TAC5112 , TAC5211 , TAC5212 , TAC5412-Q1 , TAD5112 , TAD5212
Attack, release and decay define the ramps of ADSR envelope. Refer to Programmable Register Map for 32-bit ADSR Parameters to determine registers that configure these three parameters. When calculating attack time and release time, use the equation below.
Where k is an absolute value between 0 to 1 for both timers.
This formula generates register coefficients for attack and release time.
The equation can be used as is for attack time. However for release time, k must be inserted as a negative number to retrieve accurate hex values. Use the equation below to calculate desired decay time.
The register coefficient equation, Reg.Coef f, for attack and release time apply to decay time as well.