The continuous real time reduction of baseline wander is a considerable problem in electrocardiography during exercises. Our solution consists of spectral filtering. The legitimacy of high-pass filtering of the ECG by means of digital linear phase filters with a low cut-off frequency as high as the heart rate is shown. The specifications of these filters are derived from experimental results. Special hardware is presented that simultaneously performs the desired real-time filter operation in four ECG leads.