lilypond-user
[Top][All Lists]
Advanced

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

Re: ChordNames prints small characters for added bassnotes, I'd prefer c


From: Bertalan Fodor (LilyPondTool)
Subject: Re: ChordNames prints small characters for added bassnotes, I'd prefer capital like C/E or Cm/Es ...
Date: Tue, 19 Aug 2008 14:04:50 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

The standard for germanChords and semiGermanChords is the small letters.
You can override this if you redefine the note-name->german-markup macro (defined in chord-name.scm) sith something like this:

#(define-safe-public (note-name->german-markup pitch)
  (let* ((name (ly:pitch-notename pitch))
     (alt-semitones (pitch-alteration-semitones pitch))
     (n-a (if (member (cons name alt-semitones) `((6 . -1) (6 . -2)))
          (cons 7 (+ 1 alt-semitones))
          (cons name alt-semitones))))
    (make-line-markup
     (list
      (string-append
       (list-ref '("C" "D" "E" "F" "G" "A" "H" "B") (car n-a))
       (if (or (equal? (car n-a) 2) (equal? (car n-a) 5))
       (list-ref '( "ses" "s" "" "is" "isis") (+ 2 (cdr n-a)))
       (list-ref '("eses" "es" "" "is" "isis") (+ 2 (cdr n-a)))))))))

Using small characters for minor chords is not so easy as there is no support for flavour-dependent chord name formatting.

Dominic Neumann wrote:
Hi Werner,

the bass  notes being printed as capital letters is the standard
option, if I´m right. You should take a look at the Manual, section
2.7.2 Displaying chords. There are some predefined commands for
selected a special style. But I don´t know if it´s possible to print
minor chords with small letters.

Dominic


2008/8/19 Werner <address@hidden>:
  
For the following music in \chordmode ChordNames prints Fm7/as,
(how) is it possible to obtain Fm7/As?

f1:m7/as




(btw.:
Interistig would be too small characters for minor chords like
g instead of Gm or gm instead of Gm ...)



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

    


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

  


reply via email to

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