Yes, of course - but there are no apps already written to do that. You'd have to develop an app for it. (And probably study Shannon and Fourier Analysis deeply enough that you understand how to analyze sound. It's not trivial to determine the difference between say a ring and a buzz.)