All of the following commands assume that you are located in the appropriate score directory.
There are three principal differences: (1) deg represents scale degrees by numbers: 1 for tonic, 2 for super-tonic, ... 5 for dominant, etc. solfa represents scale degrees by syllables: `do' for tonic, `re' for super-tonic, ... `so' for dominant, etc. (2) deg indicates how a pitch is approached: the caret (^) indicates a pitch was approached by a rising interval whereas the lower-case `v' indicates a pitch was approached by a descending interval. The solfa command/representation does not indicate how a pitch was approached. (3) deg is mode-sensitive and so will characterize pitches differently in major and minor keys. For example, in the key of C major, the pitch E-flat is represented as a lowered 3rd scale degree, whereas in the key of C minor, E-flat is represented as an unmodified 3rd scale degree. In the solfa representation, E-flat would be represented by `me' and E-natural would be represented by `mi' -- whether or not the key was major or minor.
COMMAND: deg *.krn | grep -c '^\^1'
deg *.krn | grep -c '^v1'
ANSWER: 63 approached from below
95 approached from above
COMMAND: deg *.krn | grep -c '^\^1'
deg *.krn | grep -c '^v1'
ANSWER: 116 approached from below
85 approached from above
COMMAND: solfa -x itali*.krn | grep -c '^do'
solfa -x itali *.krn | grep -c '^so'
ANSWER: 60 tonics
66 dominants
COMMAND: grep -h '!!!OTL:' *.krn | sort -d
COMMAND: deg sverig*.krn | grep -c '^1'
deg sverig*.krn | grep -c '^2'
deg sverig*.krn | grep -c '^3'
deg sverig*.krn | grep -c '^4' etc.
ANSWER: The tonic (31) and dominant (29) are most commonly repeated.
The submediant (0) and leading-tone (88) are most commonly repeated.