@Noeck: thanks for the help, was just working on that solution. Indeed,
that seems to be the way to go.
It's sad thought that 'add' is not accepted by \storepredifineddiagram in a
chord name.
It would have made things quite a bit easier for a chord that is, in my
opinion, used quite often.
I'll put this on the 'wishlist' for lilypond :-).

Grtz,

Bart

http://www.bartart3d.be/
On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102>
On Twitter <https://twitter.com/#%21/Bart_Issimo>
On Identi.ca <http://identi.ca/bartart3d>
On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>


2013/2/6 Noeck <noeck.marb...@gmx.de>

>
>
> Am 06.02.2013 22:24, schrieb bart deruyter:
> > lol, indeed, 2.17.6... so the search continues...
> >
> > I was hoping to get it by trying out c:2 for diagram, and splitting
> > chordnames and and chord diagrams, and using "  \set
> > additionalPitchPrefix = #"add"",
> > but c:2 renders a Csus2 diagram.. bummer.... getting quite completely
> > stuck here...
>
> If I understand you right, the code below should be a solution.
> The valid chord in chordmode is either c:5.9 or c:9^7 and you can't
> change that. But you can change how it is printed as chord name and you
> can define your fret diagram. Both is shown below.
>
> Btw, my last mail already showed that a Cadd9 (c5.9) has a different
> fret diagram than a C9 (c:9) chord.
>
> HTH,
> Joram
>
> \version "2.16.0"
>
> \addChordShape #'c:5.9 #guitar-tuning #"x;3-3;2-2;o;3-4;o;"
> \storePredefinedDiagram #default-fret-table \chordmode {c:5.9}
> #guitar-tuning
> #(chord-shape 'c:5.9 guitar-tuning)
>
> cd = \chordmode {
>   \set additionalPitchPrefix = #"add"
>   c1:9 c:9^7 c:5.9
> }
>  <<
>   \new ChordNames \cd
>   \new FretBoards \cd
>   \new Staff \cd
>  >>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to