title: Audio Recorder get noise level in decibal
body: <p>I am trying to fetch noise level of recorded audio in decibals. I am using following code but it is not giving the correct output</p>
  
  <pre><code>byte[] audioData = new byte[bufferSize];
  recorder.read(audioData, 0, bufferSize);
  ByteBuffer bb = ByteBuffer.wrap(audioData);
  int sampleSize = bb.getInt();
  </code></pre>
  
  <p>now if I log sampleSize then it gives very huge value like 956318464</p>
  
  <p>Can anybody tell how to get correct noise level in decibals.</p>