4 % german/norwegian/danish?
6 % To get Bb instead of B, use
7 % \include "german-chords.ly"
10 #(define german-Bb #f)
12 #(define (pitch->chord-name-text-banter pitch)
13 (if (equal? (cdr pitch) '(6 -1))
15 (cons "B" (accidental->text -1))
19 (list-ref '("C" "D" "E" "F" "G" "A" "H") (cadr pitch))
20 (accidental->text (caddr pitch))
26 #(define (pitch->note-name-text-banter pitch)
27 (if (equal? (cdr pitch) '(6 -1))
31 (list-ref '("c" "d" "e" "f" "g" "a" "h") (cadr pitch))
32 (if (or (equal? (cadr pitch) 2) (equal? (cadr pitch) 5))
33 (list-ref '( "ses" "s" "" "is" "isis") (+ 2 (caddr pitch)))
34 (list-ref '("eses" "es" "" "is" "isis") (+ 2 (caddr pitch)))