Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query noise level in Android

I want to develop a small Android app to measure the current noise level (probablyin dB). But I have no idea what to look for in the libs. I don't want to record the noise. Can someone give me a pointer what classes to look at?

like image 847
Sebi Avatar asked Aug 25 '10 15:08

Sebi


1 Answers

I recommend looking in these classes:

android.media.AudioFormat
android.media.AudioManager
android.media.AudioTrack

We used them in the Blinkendroid audio package a short while ago.

like image 178
keyboardsurfer Avatar answered Oct 17 '22 15:10

keyboardsurfer