An automatic pacemaker sensing algorithm using automatic gain control | IEEE Conference Publication | IEEE Xplore