An environment for learning the fundamentals of music theory