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 installed on the locked down phones... Since you are only doing analysis you should be able to fork the audio path and pipe it to your application. I'm also interested in this area...
Food for thought below... From: http://www.commandlinefu.com/commands/view/907/unencrypted-voicechat#comment $ On PC1: nc -l -p 6666 > /dev/dsp On PC2: cat /dev/dsp | nc <PC1's IP> 6666 On Apr 6, 4:55 am, MrSnowflake <[email protected]> wrote: > The only way I see this possible is by having the MediaRecorder record > some sound for a very short time, have it stop and save the file, and > immediately start recording again. Then analyse the previous shot > sample. You have to do it this way, because you don't have direct > access to the sound stream from the mic. > > On 5 apr, 22:34, John Doe <[email protected]> wrote: > > > Hi everyone. > > I am trying to develop a program which detects noise level of > > outside.Is it loud or silent? How loud? > > > Where should I start? Is there any example ? Any comment will be > > greatly appreciated... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

