help-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Danish Chordnames


From: Jan Nieuwenhuizen
Subject: Re: Danish Chordnames
Date: 19 Feb 2001 10:06:10 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Rune Zedeler <address@hidden> writes:

> Can I somehow get danish (or norwegian, I guess) Chordnames?
> The danish chordnames are similar to "normal" ones except that "B"
> should read "H".
> (Strictly speakin "Bb" also should read "B", but normally we use "Bb" to
> avoid missunderstanding with english names)

You'll have to override the default pitch->text-banter routine in
scm/chord-name.scm, like so:

%  german-chords.ly:

  #(define (pitch->text-banter pitch)
    (if (equal? (cdr pitch) '(6 0))
        '("H")
        (if (equal? (cdr pitch) '(6 -1)) '("B")
             (pitch->text pitch))))


\score {
  <
    \context ChordNames \chords { b1 bes }
    \notes\transpose c'' \chords { b1 bes }
  >
  \paper {
    linewidth = -1;
  }
}
            

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]