In that DrawClipSpectrum() method there is a single float called 'value' which contains the information with which a single frequency in the spectrum at one particular point in time can be displayed, thus:
- the frequency which is detected by the FFT routine
- the signal strength of that detected frequency.
- GetColorGradient(value, selflag, mIsGrayscale, &rv, &gv, &bv);
My problem is that I can't deduce from the source code how a single freqency and its amplitude are both encoded in this single float 'value'.
The source code is poorly commented on that issue.
Is there anybody who can explain me the encoding rules of this float 'value' ?
or do I have to contact the author Dominic Mazzoni himselve in the hope he still remembers?
Thanks for any help,
jerome42