CITATION — REFERENCE ENTRY

yin-threshold · decheveigne2002-yin

Revision ecd5ece4-1590-483a-b646-a8bf840c660d · 11/26/2026, 6:33:24 PM UTC
Claim ID
yin-threshold
Assertion
A dip at a multiple of the period can be deeper than the dip at the period itself, causing a subharmonic (so-called octave) error; YIN's fourth step takes the smallest lag whose dip falls below an absolute threshold, or the global minimum if none does. With a threshold of 0.1 the illustrative error rate fell from 1.69% to 0.78%.
Quote
It easily happens that one of the higher-order dips of the difference function [Fig. 3(b)] is deeper than the period dip. If it falls within the search range, the result is a subharmonic error, sometimes called "octave error" (improperly because not necessarily in a power of 2 ratio with the correct value). ... The solution we propose is to set an absolute threshold and choose the smallest value of τ that gives a minimum of d′ deeper than that threshold. If none is found, the global minimum is chosen instead. With a threshold of 0.1, the error rate drops to 0.78% (from 1.69%)
Quote language
en
Locator
page: 1920
Available in