The heart condition that causes hoarseness is Mitral valve disease.
When your mitral valve doesn't close properly it can cause blood to flow back into your left atrium, which can then compress the recurrent laryngeal nerve and cause hoarseness.
Other heart conditions that can cause hoarseness are aortic stenosis, Eisenmenger's syndrome, paralysis of the recurrent laryngeal nerve, pulmonary hypertension and cardiovascular tumors.
Tumors in the heart or surrounding structure can compress the recurrent laryngeal nerve or damage vocal cords and lead to hoarseness.
Pulmonary hypertension or high blood pressure in your lungs can also put pressure on your recurrent laryngeal nerve and cause hoarseness.
Paralysis of your recurrent laryngeal nerve which is the nerve that controls the muscles that opens and closes your vocal cords can cause hoarseness when it's damaged.
Eisenmenger's syndrome which is a congenital heart defect which causes a mix of oxygenated and deoxygenated blood to flow to the body and can lead to inflammation of your vocal cords and hoarseness.
Aortic stenosis which is narrowing of your aortic valve can cause increased pressure in your left ventricle and can also compress your recurrent laryngeal nerve and lead to hoarseness.