The question of designing the best wavelet for a given signal is discussed from the perspective of orthogonal filter banks. Two performance criteria are proposed to measure the quality of a wavelet, based on the principle of maximization of variance. The method is illustrated and evaluated by means of a worked example from biomedicine in the area of cardiac signal processing. The experimental results show the potential of the approach.