Improved pitch-range detection.