Cardiomyopathy (literally "heart muscle disease") is the measurable deterioration of the function of the myocardium (the heart muscle) for any reason, usually leading to heart failure ; common symptoms are dyspnea (breathlessness) and peripheral edema (swelling of the legs).