Theory of hearing