lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord mode question


From: Menu Jacques
Subject: Re: Chord mode question
Date: Mon, 25 Jun 2018 05:19:41 +0200

Hello Kieren,

Thanks! I thought there might be a way to obtain that same result for the first 
chord without the risk of ambiguity, i.e. other chords with notes removed may 
end up as <c ges> in customChordExceptions too.

A nice day!

JM

> Le 24 juin 2018 à 20:34, Kieren MacMillan <address@hidden> a écrit :
> 
> Hello,
> 
>> How can LilyPond be told to display the chords to match the lyrics, i.e. to 
>> mention that some notes are substracted from the chord?
> 
> Here’s a hint/beginning.
> (Note: I also took the liberty of making a few efficiency improvements in 
> your original code.)
> 
> Hope it helps!
> Kieren.
> 
> %%%%%  SNIPPET BEGINS
> \version "2.19"
> \language "nederlands"
> 
> customChordExceptions = {
>    <c ges>-\markup \fontsize #-2 { \hspace #0.2 \concat { "major-3+5" \raise 
> #0.33 \fontsize #-2 \flat } }
> }
> newCustomChordExceptions = #(append
>    (sequential-music-to-chord-exceptions customChordExceptions #t)
>    ignatzekExceptions)
> 
> \layout {
>  \context {
>    \Score
>    chordNameExceptions = #newCustomChordExceptions
>  }
> }
> 
> 
> P_POne_Staff_One_Voice_One_HARMONY = \chordmode {
>  \compressMMRests {
>    \key c \major
>    \time 4/4
>    \clef "treble"
>    c4:5.3.5-^3 c4:maj7.13.6-^15
>    \bar "|."
>  }
> }
> 
> P_POne_Staff_One_Voice_One = \relative c' {
>  \key c \major
>  \time 4/4
>  \clef "treble"
>  c4 c
>  \bar "|."
> }
> 
> P_POne_Staff_One_Voice_One_Stanza_One = \lyricmode {
>  "Cmajor-3+5b"4 "Cmajor-13th-1-5+6b"4
> }
> 
> \score {
>  <<
>    \context ChordNames = "P_POne_Staff_One_Voice_One_HARMONY"
>    \P_POne_Staff_One_Voice_One_HARMONY
>    \new Staff = "P_POne_Staff_One"
>    \with {
>      instrumentName = "MusicXML Part"
>    }
>    <<
>      \context Voice = "P_POne_Staff_One_Voice_One" <<
>        \P_POne_Staff_One_Voice_One
>>> 
>      \new Lyrics
>      \with {
>        associatedVoice = "P_POne_Staff_One_Voice_One"
>      }
>      \P_POne_Staff_One_Voice_One_Stanza_One
>>> 
>>> 
> }
> %%%%%  SNIPPET ENDS
> 
> ________________________________
> 
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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