pub const HOLD_SEARCH: Seconds;Expand description
How far back from the start of a rise the hold may end.
A sine tremolo that reads as fast runs faster than about 8 Hz, and at
8 Hz and full depth it stays below six tenths of its peak for about
70 ms. A square tremolo off half its cycle stays low for 167 ms at
3 Hz, and the search must reach its fall for HOLD_RATIO to weigh
it. A longer dip is no tremolo’s trough, and the bound keeps the
search from reading a whole quiet passage before a weak repeat. On the
generated sets 200 to 500 ms give the same notes; at 150 ms an E1
under a 3 Hz square off half its cycle splits into 12 notes where the
onset rule gives 7.