how to measure noise in android,means when I run my app,there is a MIC which hear noise and send me result that noise is good or bad.
Asked
Active
Viewed 406 times
-1
-
How do you define "good" and "bad" noise? – Lukas Knuth Oct 17 '11 at 12:14
-
by red and green color,if color is green then it is good and if red then bad – reetesh Namdev Oct 17 '11 at 12:17
-
I think you're talking about the volume of background-noise? – Lukas Knuth Oct 17 '11 at 12:19
-
what is color and what is MIC noise? what is the relation?i dint get,,,, – vnshetty Oct 17 '11 at 12:21
-
no not now,no it is not background noise.it is like when i will stand infront of loudspeaker then it will catch the frequency of noise and then give the result – reetesh Namdev Oct 17 '11 at 12:24
-
no not now i haven't try anything because i am not getting the right way – reetesh Namdev Oct 17 '11 at 12:25
1 Answers
0
First you go through this document and try out some examples ..gud luck
Handling the AUDIO_BECOMING_NOISY Intent
Many well-written applications that play audio automatically stop playback when an event occurs that causes the audio to become noisy (ouput through external speakers). For instance, this might happen when a user is listening to music through headphones and accidentally disconnects the headphones from the device. However, this behavior does not happen automatically. If you don't implement this feature, audio plays out of the device's external speakers, which might not be what the user wants.

vnshetty
- 20,051
- 23
- 64
- 102
-
I have seen this but nthing is there some other solution for it?? – reetesh Namdev Oct 17 '11 at 12:51
-
sorry for that.. but i thought the content in the doc "Example: Record audio and play the recorded audio would help you..." – vnshetty Oct 17 '11 at 12:58