Look's like this is my topic.
you can post here if you want dam....
OK I've found a solution for my prob. I post it if someone need it :
- First add in "typedef struct aout_output_t" a new part: int i_amplitude.
Then in effects.c (modules/visualization/visual). Write in the spectrum fonction:
(int i_value ;
int i_sas
for(i = 0; i< i_nb_bands ; i = i+2)
{
i_sas = peaks
+ peaks[i+1];
i_value = i_value + i_sas;
}
i_amplitude = i_value ;
This will add all the peaks of the spectre in i_amplitude.
I've copy this fonction in the random fonction. Then, in the random fonction, i've get off all the lines, which don't serve for calculate i_amplitude. I don't matter random vizualisation.
Finally, I've done with interface builder a bargraphe, which depends of i_amplitude.
This is an way to do it. But you can ameliorate it easily.
++