Pitch analyser