On 3/27/18 2:42 PM, Torsten Hämmerle wrote:
Br. Samuel Springuel wrote
Is there a way to import into the new language the note names from an
existing language?
Yes.
All the note name definitions are contained in the associated list
language-pitch-names
When applying (assoc-get 'english language-pitch-names) you'll get a list of
all the English note definitions.

That way, you can append several lists, e.g. using Harm's do-re-mi example:

myNames = #(append (assoc-get 'english language-pitch-names)
   `(
     (do . ,(ly:make-pitch -1 0 NATURAL))
     (re . ,(ly:make-pitch -1 1 NATURAL))
     (mi . ,(ly:make-pitch -1 2 NATURAL))
   ))

That works beautifully.  Thanks.

--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
St. Anselm’s Abbey
Washington, DC
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

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

Reply via email to