A method and system for automatically detecting heart sounds. The sound
system receives sound data corresponding to beats of the heart. The sound
system analyzes the sound data to detect the presence of a heart sound
within the beats. The sound system then outputs an indication of the
heart sounds that were detected. The sound system may use ECG data to
identify various locations (e.g., R peak) within a beat and use those
locations to assist in the detection of heart sounds.