#!/usr/bin/env python3 """高精度 BPM 实测:onset 包络 + 梳状滤波扫描(分数精度,亚帧分辨率)。 用法: .venv-tts/bin/python tools/bpm_precise.py