On 14.02.2018 23:01, Joseph Austin wrote:
Is it feasible to use the \language feature or some other facility to enter 
music with solfedge abbreviations for note-names,
e.g. " d r m f s l t " (for Do Re Mi Fa Sol La Ti) instead of " c d e f g a b?

It should be straightforward to define your own language by adding an entry to the alist defined in scm/define-note-names.scm [1]. There are certainly examples in the archives for that, or ask again if you need help on this.

[1] <http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=scm/define-note-names.scm;h=3bee7b2f03616a964aa2f85e7f7574f8f2541f6d;hb=HEAD>

And if so, would it be possible to extend this to a twelve-tone 
chromatic-solfege notation, avoiding accidental suffixes, such as:
" d v r w m f x s y l z t"

As you can gather from the linked file, LilyPond doesn’t actually have any notion of ‘accidental suffixes’; each note name is defined manually (certainly there are technical reasons for this, or else that amount of code duplication in such a central file would have been avoided, I assume). So you could just define v as the equivalent of cis – if you don’t require cis and des to be considered truly equal. That would require far deeper meddling with the internals, and I don’t know if it’s possible at all (in a sensible way).

Best, Simon

lilypond-devel mailing list

Reply via email to