Find identical audio signal
If you are trying to find a signal inside another signal, Correlation is a useful technique.  You will get a large peak anywhere the signals match.  The easiest way to do it is to flip the shorter signal, such that samples 0 &amp; N-1 are swapped, 1 &amp; N-2, etc, then convolve the two signals.  This should attenuate any effects of noise or edge condition resulting from resampling or fades, unless the phase data got mangled, in which case you’ll probably need something more sophisticated.