Add function for comparing audio samples