The f0est function requires findpeaks listed
in §F.2.1. It also uses a trivial
utility freqlabs defined at the end of the listing below.
The blackman function (for the Blackman window) comes
standard with Octave and requires the Signal Processing Toolbox in
Matlab.