lilypond-user
[Top][All Lists]
Advanced

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

Re: chord names


From: Klaus Blum
Subject: Re: chord names
Date: Mon, 13 Feb 2017 08:29:39 -0700 (MST)

Hi Joram, 

Noeck wrote
> Can I also make the accidentals in the superscript
> smaller or shift them?

there is no function to be redefined, such as chordRootNamer or
chordNoteNamer. Defining lots of exceptions won't be funny either. 

In chord-name.scm, there is a function 

---------------------------------------------------------------
(define-public (alteration->text-accidental-markup alteration)
   (make-raise-markup
    (if (= alteration FLAT)
        0.3
        0.6)
    (make-musicglyph-markup
     (assoc-get alteration standard-alteration-glyph-name-alist ""))))
---------------------------------------------------------------

that you could replace by

---------------------------------------------------------------
(define-public (alteration->text-accidental-markup alteration)
  (make-smaller-markup
   (make-raise-markup
    (if (= alteration FLAT)
        0.3
        0.6)
    (make-musicglyph-markup
     (assoc-get alteration standard-alteration-glyph-name-alist "")))))
---------------------------------------------------------------

but I don't know how to tweak that without changing your whole LP
installation.

Cheers, 
Klaus





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/chord-names-tp199985p200068.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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