Here's more explanation of the dodecaPitchNames snippet:
http://lsr.dsi.unimi.it/LSR/Item?id=619

This part:
#(ly:parser-set-note-names parser dodecaPitchNames)

Calls dodecaPitchNames, which as I understand it, basically takes something
like this as its input (the default pitchnames list):

       (ces  . ,(ly:make-pitch -1 0 FLAT))
       (c     . ,(ly:make-pitch -1 0 NATURAL))
       (cis   . ,(ly:make-pitch -1 0 SHARP))
       (des  . ,(ly:make-pitch -1 1 FLAT))
       (d     . ,(ly:make-pitch -1 1 NATURAL))
       (dis   . ,(ly:make-pitch -1 1 NATURAL))
       (ees  . ,(ly:make-pitch -1 2 FLAT))
       (e     . ,(ly:make-pitch -1 2 NATURAL))

And turns it into this:

       (ces  . ,(ly:make-pitch -1 -1 NATURAL))
       (c     . ,(ly:make-pitch -1 0 NATURAL))
       (cis   . ,(ly:make-pitch -1 1 NATURAL))
       (des  . ,(ly:make-pitch -1 1 NATURAL))
       (d     . ,(ly:make-pitch -1 2 NATURAL))
       (dis   . ,(ly:make-pitch -1 3 NATURAL))
       (ees  . ,(ly:make-pitch -1 3 NATURAL))
       (e     . ,(ly:make-pitch -1 4 NATURAL))


Notice the difference in the "scale degree" numbers just before NATURAL and
the clearing of the alterations FLAT and SHARP.  Again this is moving from a
diatonic scale to a chromatic scale mapping.

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Feature-Request-Chromatic-note-names-tp145984p146062.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to