Theory and ear training