Pitch detection and tuner
A local pitch detector: autocorrelation with a first-significant-peak rule so the octave below is not reported, parabolic lag interpolation, the nearest note with its octave, the deviation in cents from equal temperament and a confidence value.