The attempt to structure and communicate new ways of composing and hearing music has led to musical applications of set theory, abstract algebra and number theory. Music theorists sometimes use mathematics to understand music and mathematics is the basis of sound.