Abstract: Hemodynamic performance of the heart as a pump is optimized by using an accelerometer and signal processing circuitry to measure total acoustic noise (TAN) over predetermined time periods when a pacemaker is made to function in a variety of modes. By detecting the particular mode associated with minimum TAN, the optimum pacing mode is arrived at.