Android PCM Bytes
Posted
by Pintac
on Stack Overflow
See other posts from Stack Overflow
or by Pintac
Published on 2010-05-27T00:30:30Z
Indexed on
2010/05/27
0:31 UTC
Read the original article
Hit count: 330
Hi
I am using the AudioRecord class to analize raw pcm bytes as it comes in the mic.
So thats working nicely. Now i need convert the pcm bytes into decibel.
I have a formula that takes sound presure in Pa into db.
db = 20 * log10(Pa/ref Pa)
So the question is the bytes i am getting from audiorecorder from the buffer what is it is it amplitude pascal sound pressure or what.
I tried to putting the value into te formula but it comes back with very hight db so i do not think its right
thanks
© Stack Overflow or respective owner