A real-time waveform analyzer for detection of ventricular premature beats.