pub(crate) fn beat_mode_from_name(name: &str) -> BeatDetectionModeExpand description
Parse a beat-detection mode name (matches the Options-panel
dropdown and the engine’s BeatDetectionMode::name()). Unknown
values map to Off, which is also the engine’s boot default.