Additionally or alternatively, performing the steps iteratively includes iterating over the lines in the spectrum in order of decreasing amplitude.
Estimating the pitch frequency includes choosing a candidate pitch frequency at which the utility function has a local maximum.