record heart rate sound and then display the heart rate