pub const GLIDE_CONVENTION: &str = "pitch in cents of the voiced f0 frames; a stable pitch is a \
span of 50 ms or more within 30 cents of its running mean whose least-squares slope stays at 86 \
cents per second or less; a glide joins two stable pitches 100 cents or more apart that match \
notes of different pitch within 50 cents, where the slope of the 5-frame moving average stays \
at 86 cents per second or more, in the direction of the motion, over 35 ms or more; s(x) = 1 - \
(1 - x)^p is fitted between the two stable pitches by least squares over the motion and 50 ms of \
each; start_s is the fitted start less the track's lag of a quarter frame, 23.2 ms, less half \
a period; time_s is the full 0 to 100 % time; from_silence marks a glide into the first stable \
pitch of a voiced run whose sound starts, the full-band RMS rising 20 dB, up to 100 ms before \
it, when that stable pitch has a median level within 40 dB of the loudest frame and the smoothed \
pitch does not swing back 50 % of the lead within half a period of 3 Hz after it, unless the \
run's next stable pitch lies 100 cents or more away and matches another note, the nearest match \
counting, and the pitch, once past half the way to it, stays there up to that stable pitch and \
to the window's end, and the fit also finds its start pitch; a voiced run that starts within 100 ms of the one \
before joins it when the full-band RMS does not rise 6 dB in the gap, its 10 ms RMS stays within \
20 dB of the 20 ms before or after the gap and within 40 dB of the loudest frame of the stem, \
and the pitch keeps moving after the gap the way it jumped, at 30 cents per millisecond or \
slower; two stable pitches with a bridged gap between them whose jump goes against the interval \
by 20 cents or more, or carries more than 60 % of it, join no glide; motion of 35 to 90 ms over \
the fitted time, or over the detected span when the fit fails, counts as too short; a fit of 90 ms or more with p within \
5 % of 0.2, with p within 5 % of 5 and an RMS residual above 20 cents, a detected span under 90 \
ms or over 2.5 times the fitted time, or a start from silence, or with an RMS residual above 40 \
cents, is no glide; a glide with p within 5 % of 5 reads at low \
confidence with the reason curve_bound, and so does one whose detected span lasts under 90 ms";Expand description
The convention of a glide, as layers.json names it.