The evolutionary tuning of hearing