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 . There are certainly examples in the archives for that, or ask again if you need help on this.
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 firstname.lastname@example.org https://lists.gnu.org/mailman/listinfo/lilypond-devel