decibel level while talking on micro

Hi. I don’t use solar 2d for a long time, hope all doing well. I tried to find anything about detecting sound volume from micro, I didn’t found anything. It is possible using only solar 2d, without going native code?
I’m using media.newRecording to detect and record my voice…what I wanted is while recording it will detect my decibel level…if it will pass X decibel it will show a message, “TO LOUD”.
don’t know if this is the correct approach. but didn’t found much on API documentations about this. If someone could point me out to were to learn all of this I would appreciate.

Regards,

Carlos.