Book - The Cognition of Basic Musical Structures
"After an introductory chapter, Temperley presents preference rule systems for generating six basic kinds of musical structure: meter, phrase structure, contrapuntal structure, harmony, and key, as well as pitch spelling (the labeling of pitch events with spellings such as A flat or G sharp)... "
Source: http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=8586