How to calibrate an android device's microphone
<p>I am working on a research project that involves recording community noise nuisances using an android device to perform some complex digital signal processing analysis and calculate some metrics. </p>

<p>My supervisor instructed me to calibrate the microphones of the android devices before distributing them in the community. I was wondering if there is a programmatic way of doing it. </p>

<p><strong>Why the calibration?</strong></p>

<p>An android devices' microphone's sensitivity may be different from another device. Even the manufacturers of the same company cannot comment on their sensitivities. </p>

<p>So it's quite possible, that an android device may record a sound at 60 dB and another device may record the sound at 70 dB at the same time under identical surroundings and conditions.  </p>

<p>I was thinking on the following lines -> make a recording in a quite environment followed by a recording in a noisy environment. The gain can be adjusted as required. I am still not clear on this. </p>

<p>Is there any programmatic way of doing this?</p>

<p>Any help on this is greatly appreciated. </p>