Add top-level beat detect