Serial Out From Audio In Information

Probably not... With pre-digitized audio, maybe... If you feed-in the same digitized audio file twice, you can easily check for a match.

If you are sampling analog audio, the digitized audio will never be byte-for-byte identical. There will be analog noise and other analog variations. Worse, since the audio is asynchronous with the sampling-clock, you will sample at different points along the waveform when you re-sample the identical analog signal.

There are limitations to how fast the Arduino can sample, and you are likely to run into memory limits. i.e. 44.1kHz audio means 44,100 samples per second. You might need an external ADC and external memory.

Before you attempt something like this with a microcontroller, it might be a good idea to try it on a computer.

Usually, this kind of thing is done with [u]FFT[/u] to analyze the frequency content over time, or the "character" of the sound, looking for "something close" rather than an exact data match.