Pitch Detection and Auto-Calibration

The three-metric detector caught most noise. These two additions handled the rest.