Comparasion of two wav files in Matlab
Maybe you are looking for something called "audio fingerprinting". This might employ DSP techniques, but in this form the question might be percieved as somewhat broad. There is no one correct algorithm of this kind, rather a bunch of good ideas that can be combined in different ways.