> Dear list,
>>
>> I would like to write a "dis:7.9+.9-" chord in \chordmode. However, both
>> in ChordNames lines and in scores, it appears to be a "dis:7.9-" chord.
>> If I write "dis:7.9-.9+", it appears to be a "dis:7.9+" chord.
>>
>
> This is a current restriction of LilyPond's chord handling abilities.
> You cannot use two alterations of the same interval.
>
> Marc


Here's one way to do it, if somewhat unsemantically, by treating the b9 as
a #8:


\version "2.19.15"

myChordNames = {
    <c e g bes cis' dis'>1-\markup { \raise #0.7 { \normalsize 7 } \raise
#3.9 { \tiny \center-column { \lower #1.25 { " b9" } " #9" } } }
}
chExceptions = #(append (sequential-music-to-chord-exceptions myChordNames
#t) ignatzekExceptions)


songChords = \chordmode {
    \set chordNameExceptions = #chExceptions
    dis:7.8+.9+
}
songMusic = \relative { R1 }

\score {
    \new StaffGroup <<
        \new ChordNames { \songChords }
        \new Staff { \songMusic }
    >>
}


HTH,

David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
[email protected]
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to