A system includes an electronic stethoscope producing a quasi-periodic signal, a processor, and a memory device with stored instructions that, when executed by the processor, cause the system to receive a representation of the quasi-periodic signal, to remove a DC component from the received representation of the quasi-periodic signal to produce a purely time-varying signal, and to filter, the time-varying signal to produce a pre-processed signal. A portion of the pre-processed signal is auto-correlated with itself, and a corresponding auto-correlation output is stored. A biphasic tapering function is applied to the auto-correlation output and produces a first maximum, the function including a time constant parameter that is a function of the quasi-periodic signal. A representation is stored, based on the first maximum, as an indication of a rate or frequency of the quasi-periodic signal.