A per-harmonic array of length entries built from a sparse list of (harmonic, value) pairs —
the shape HrpVoiceMeasurement wants, from the shape both measuring tiers produce.
The off-by-one lives HERE and nowhere else: harmonics are 1-based (harmonic 1 IS the
fundamental) and the arrays are 0-based, and that single fact has to be got right in one place
or a whole ladder is corrected one partial off.
A per-harmonic array of
lengthentries built from a sparse list of (harmonic, value) pairs — the shape HrpVoiceMeasurement wants, from the shape both measuring tiers produce.The off-by-one lives HERE and nowhere else: harmonics are 1-based (harmonic 1 IS the fundamental) and the arrays are 0-based, and that single fact has to be got right in one place or a whole ladder is corrected one partial off.