I am trying to implement automatic voice recording functionality, similar to the Talking Tom app. I use the following code to read input from the audio recorder and analyse the
For voice detect, try ftt algorithm.
For noise, try speex library.