This is now much better. The autocorrelation efficiently locks the waveform even with a complex harmonic content combined with a weak fundamental. Not perfect, but good enough.

Here, the scope shows 20 ms of audio per beam sweep. The video is 30 fps, or 33 ms […] 

[Original post on piaille.fr]