pub const FOLD_ERROR_SHARE: f64 = 0.9;Expand description
The period search’s read replaces a read that locks on the grid when its fold error is under this share of the grid read’s.
A smeared duck still locks on the grid: 12 dB, 2.5 % off over 16 beats,
read 4.4 dB against 9.8 dB at its own period, and stripping it leaves its
ripple in the notes. Depth is no test: the search deepens a duck on the
tempo by fitting a chord’s beating, up to 2.3 dB, and on a flat level a gain
of 1.5 dB moved 15 such ducks against 3 with this share and
FOLD_ERROR_GAIN.