AnsweredAssumed Answered

Generic Gain Envelope

Question asked by inventis on Mar 31, 2010
Latest reply on Apr 12, 2010 by inventis

Hello,

I'd like to use the Endless loop algorithm (ADI Algorithms/Envelopes/One Sweep w/Reset/Endless Loop,

I'd like to configure the slope and the timing in my fw.

 

In the include file I find and I immagine

1. MOD_ENVCH1_ALG0_GAINTIMING0 --> time in ticks where the gain start to change

2. MOD_ENVCH1_ALG0_GAINS0_VALUE --> the gain descrement ????? HOW TO COMPUTE THIS VALUE???

 

3. MOD_ENVCH1_ALG0_STARTINGGAIN_VALUE     --> the initial GAIN

4. MOD_ENVCH1_ALG0_LOWESTALLOWEDGAIN_VALUE ---> the lowest gain ..

 

I need to create a gain evelope starting from 0db and after a number of ms (a parameter) I need to reach -20dB

 

Anyone know how to calculate the parameter gain step ?

Outcomes