How much music theory knowledge is necessary to study medieval music?