The old Roland MC-909 has a dedicated tempo/mute track, which allows realtime recording of tempo changes.