Tympanoplasty is a surgical procedure to repair a perforated eardrum. The eardrum is a thin membrane inside the ear at the end of the ear canal.