Eirik B: ... > To summarize my post: I am trying to create a Norwegian equivalent of > the existing \germanChords command called \norwegianChords, which I > want to be based on the default English chord name convention, with > the following chord transformations: > B -> H > Bb -> B ...
Have a look at ly/property-init.ly scm/chord-name.scm from your lilypond distribution, and search for chord-name. It should give you a hint of how to do it. Do something similar. That said, why not just use the default chord names, the german one, or semi-german one. Defining a new way to name chords is confusing. https://lilypond.org/doc/v2.26/Documentation/notation/displaying-chords#customizing-chord-names Regards, /Karl Hammar
