Comparing patterns and audio