Hey, I am confused about the value range returned here. According to the docs
The returned value ranges from –160 dBFS, indicating minimum power, to 0 dBFS, indicating maximum power.
However, I am seeing very loud values to be returned as > 0 routinely.
Are the values being returned not actually dBFS and I need to do some calculation on those before?
Essentially my issue is, that I want to normalize the value to a range between 0...1.
I am using - what I understand to be - the typical dB to power conversion
let linear = 1 - pow(10, recorder.averagePower(forChannel: 0) / 20)
For values > 0, this returns values > 1 though, so my assumptions are not met.
Cheers, Dennis