A computer-based test system for implementing pure-tone audiometry, acoustic immittance and tympanic membrane