I want my Android app to recognize sound. For example I want to know if the sound from microphone is a clapping or knocking or something else.
Do I need to use math,
There is an Api that works very well for your needs in my opinion.
http://code.google.com/p/musicg/
Good Luck!!!