Computation of indices of regional myocardial contractility such as the shortening, or the work done by or on a segment of myocardium in a single cardial cycle is tedious to perform manually, and complex interfacing and software is needed for digital computation. We describe the principles of an on-line, analogue device to perform these computations . The accuracy of the machine is demonstrated, and examples of the uses of the devices are given.