Closed niwococo closed 6 months ago
Hey, @niwococo. As far as I understand, this value is something called RMS dB. 0 is the reference level, in this case I think it's the maximum of what your input device can record. Values closer to 0 dB correspond with greater perceived loudness. What it is that you originally wanted to do with the volume level?
I want to use the 'level' parameter as an animation indicator for monitoring sound. I thought it represents decibel values, which theoretically should start from 0. However, the initial value I'm printing here is around -48.
It depends on what kind of animation you do.
It's not ideal for sure, but can be useful. If there is a better way, I hope someone would suggest it.
Thx a lot, I will try~
Before I recording, I print the lastSoundLevel, Its a negative number. flutter:level:-48.05121612548828 When I am recording, in onSoundLevelChange the level is still negative Can anyone help me ?