Normal
Next:Assume that the return values are greater than 32768, ie from 0 .. 65535, then LevelToDB(peakL, 65535) return values from -infinity,-96 .. 0. And LevelToDB(peakL, 32768) return values from -infinity,-90 .. 6.[USER=10391]@hwahrmann[/USER] Can it be worth introducing a corrective value to get the right readings? Ie +6But LevelToDb return Int16, ie -32768 .. 32768 ... Min 0 for dB* and max 32768 for dB, after LevelToDb we get: -96 ..-6
Next:
Assume that the return values are greater than 32768, ie from 0 .. 65535, then LevelToDB(peakL, 65535) return values from -infinity,-96 .. 0. And LevelToDB(peakL, 32768) return values from -infinity,-90 .. 6.
[USER=10391]@hwahrmann[/USER] Can it be worth introducing a corrective value to get the right readings? Ie +6
But LevelToDb return Int16, ie -32768 .. 32768 ... Min 0 for dB* and max 32768 for dB, after LevelToDb we get: -96 ..-6