Le 25/04/2022 à 17:43, Mathias Vogel via bug-lilypond a écrit :
I use "\set Staff.ottavationMarkups = #ottavation-ordinals" to add "va" or "vb" to the octavation numbers as in the old notation. However, this only works for
octavation up ("\ottava #1"), octavation down ("\ottava #-1") erroneously outputs an "8va" or "15ma", instead of "8vb" or "15mb".
With the option "#ottavation-simple-ordinals" this works fine, but not with "#ottavation-ordinals". Can you help me here? Thank you.
Lilypond-Version: 2.22.2
I believe this is intentional. See the end of the code review
where this change was done:
https://codereview.appspot.com/568970043
In short, it was desired to keep a backwards compatibility
option for those who wanted the previous behavior, so
#ottavation-simple-ordinals has "8vb" for \ottava -1.
However, it was also desired to introduce a better option,
#ottavation-ordinals, which has a different behavior, using
"va" for all ottavations.
For many, "8va" means "ottava" (8=otta). It's not wrong to use it
for both \ottava 1 and \ottava -1. I believe this is what I have
personally almost always seen.
However, according to others, "8va" is actually "ottava alta",
so for \ottava -1, you should "8vb", ottava bassa.
If you want "8ba", you can take the default from
scm/translation-functions.scm
and change "va" to "ba" in entries for a negative ottavation
number.
\version "2.22.2"
#(define ottavation-ordinals-ba
`((4 . ,(make-concat-markup
(list (make-general-align-markup Y UP "29")
(make-general-align-markup Y UP (make-tiny-markup
"ma")))))
(3 . ,(make-concat-markup
(list (make-general-align-markup Y UP "22")
(make-general-align-markup Y UP (make-tiny-markup
"ma")))))
(2 . ,(make-concat-markup
(list (make-general-align-markup Y UP "15")
(make-general-align-markup Y UP (make-tiny-markup
"ma")))))
(1 . ,(make-concat-markup
(list (make-general-align-markup Y UP "8")
(make-general-align-markup Y UP (make-tiny-markup
"va")))))
(-1 . ,(make-concat-markup
(list "8" (make-tiny-markup "ba")))) ;; changed
(-2 . ,(make-concat-markup
(list "15" (make-tiny-markup "ba")))) ;; changed
(-3 . ,(make-concat-markup
(list "22" (make-tiny-markup "ba")))) ;; changed
(-4 . ,(make-concat-markup
(list "29" (make-tiny-markup "ba")))))) %% changed
\relative c'' {
\set Staff.ottavationMarkups = #ottavation-ordinals-ba
\ottava #1
a'2 b
\ottava -1
a,2 b
}
Best,
Jean
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond