Thanks for the code you sent me in private Jacques, it's full of useful
examples but I still can't make this particular chord work.

I want to display a minor chord with a fourth like this: "Am (add4)".
That's all I want to do.
First I'm surprised that I have to specify the chord (in the variable
chExceptionMusic) in a note to note format (in this case <a c e d>). Is
it not possible to specify it in a chord name format ?

And second how should I write my chord (A minor with a fourth) in the
chordMode format ?
a:m.4 doesn't work and a:m4 does'nt display the chord correctly.


Le 27/08/2016 23:01, Jacques Menu Muzhic a écrit :
> Hello Benjamin,
>
> The error you get is due to wrong syntax, no problem.
>
> You can display chords your own way with something like the following,
> see Customizing chord names
>  in the Notation Reference :
>
> % Exception music is chords with markups
> chExceptionMusic = {
>   <c ees ges bes>1-\markup { \super {"-7(" {\small\raise #0.5 \flat}
> "5)"} }
>   <c e g bes>1-\markup { \super "7" }
>   <c e gis bes>1-\markup { \super {"7(" {\small\raise #0.5 \sharp} "5)"} }
>   <c f g bes>1-\markup { \super {"7(sus4)"} }
>   <c e g a d'>1-\markup { \super "6/9" }
>   <c e g bes des'>1-\markup { \super {"7(" {\small\raise #0.5 \flat}
> "9)"} }
>   <c f g bes d'>1-\markup { \super {"9(sus4)"} }
>   <c e g bes d'>1-\markup { \super "9" }
>   <c e g b d'>1-\markup { \super "maj9" }
>   <c e gis bes d'>1-\markup { \super "9+" }
>   <c e g bes d' fis'>1-\markup { \super "9#11" }
>   <c e g bes d' f'>1-\markup { \super "11" }
>   <c e g bes d' a'>1-\markup { \super "13" }
>   <c e g bes d' fis' a'>1-\markup { \super {"13(" {\small\raise #0.5
> \sharp} "11)"} }
>   <c e g a d'>1-\markup { \super "6(add9)" }
> }
>
> % Convert music to list and prepend to existing exceptions.
> chExceptions = #( append
>                   ( sequential-music-to-chord-exceptions
> chExceptionMusic #t)
>                   ignatzekExceptions)
>
> JM
>
>> Le 27 août 2016 à 22:44, Benjamin Poly <bp...@riseup.net
>> <mailto:bp...@riseup.net>> a écrit :
>>
>> Hi everyone,
>>
>> I've recently started using lilypond and I like it very much but I
>> find that the software has sometimes complex solutions to simple
>> problems.
>>
>> I want to display the chord notation "Am (add4)"
>> In chord mode I have tried
>> a:m.4 -> causes an error
>> a:m4 -> display a4 sus4 b3
>>
>> Could somebody help me please ?
>>
>> Best regards.
>>
>> -- 
>> *Benjamin Poly*
>> _______________________________________________
>> lilypond-user mailing list
>> lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

-- 
*Benjamin Poly*
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to