During tympanometry, a device called a tympanometer is used. A probe is inserted into the ear canal, and changes in air pressure are applied while the tympanic membrane's movements are recorded. The results are displayed as a tympanogram, which provides a visual representation of eardrum compliance at different pressures.