[android-developers] Re: Detecting Noise!

2009-04-08 Thread John Doe
Yeah getMaxAmplitude is exactly what I was looking for. I want to run this application as a background service. So I want it to use as little battery power as possible. I dont want it to record voice save it and consume so much battery (though I dont know if saving audio consumes much battery

[android-developers] Re: Detecting Noise!

2009-04-06 Thread Pavel
How about repeatedly call getMaxAmplitude method of http://developer.android.com/reference/android/media/MediaRecorder.html while recording to file? This is the way Christopher Souvey implemented it in Musical application. Pavel --~--~-~--~~~---~--~~ You received

[android-developers] Re: Detecting Noise!

2009-04-05 Thread Marco Nelissen
That's not going to work on Android. On Sun, Apr 5, 2009 at 5:16 PM, MyLinuxSupport mashpl...@gmail.com wrote: You should be able to fork the audio in Linux and write a c program to do the analysis, then write your results to android...  The challenge you will have is getting your c program