use recording frequency as heartbeat frequency