Inflammation of the myocardium. It can affect the heart muscle and its electrical system, reducing the heart’s ability to pump and/or causing rapid or abnormal heart rhythms (arrhythmias). The most common cause is infection of the heart muscle by a virus.