some more reflexions ...
Hi, Steve
Yess ... the packing method could work great if we had a 1 value to 1 Value "translation"
I think the problem is a bit more complicated than we think at first ...
we have to convert a 256 values log scale ( I do not want to think to 10 bits !!! ) to a 60 values lin scale ...
so, many input values have the same output result ...
Much,much room left !!!
What's the ADC resolution needed if we want a 1 dB precision output, even @ - 40 dB ???
Much,much,much,much,much,much room left !!! ... 255 values limit fully exploded !!!
Could we think to a BIG Select Case statement with 59 times " Case is < $xx or $xxxx" ... I do not know about the CPU time used ...
but it seems a lot easier to write and calculate.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks