Miklos Vajna wrote:
On Mon, Jan 12, 2009 at 12:11:52PM +1100, Brett Duncan <[email protected]> 
wrote:
Rather than subverting your major 7th symbol, you could also set up a chord exception that adds the arpeggio when you add the 15th to the chord (which of course you would normally never do):

Hi Brett,

I like this, but how can I make it work, not only with minors?

I mean 'e1:m5.15' currently works with your solution, but 'g1:5.15'.

arpeggioGuitar = \markup \override #'(baseline-skip . -2 ) {
         \musicglyph #"space"
         \center-column {
                 \center-column {
                         \musicglyph #"scripts.arpeggio"
                         \musicglyph #"scripts.arpeggio"
                         \musicglyph #"scripts.arpeggio"
                 }
                 \musicglyph #"scripts.arpeggio.arrow.M1"
         }
}

chExceptionMusic =  {
        <c ees g c''>1-\markup {m \super \arpeggioGuitar }
}

^ I guess I have to add something here. :)

Thanks!

Add further definitions in chExceptionMusic like this:

chExceptionMusic =  {
        <c ees g c''>1-\markup {m \super \arpeggioGuitar }
        <c e g c''>1-\markup { \super \arpeggioGuitar }
}

You can add as many chord definitions as you need - if you want the arpeggio next to a 7th, add
        <c e g bes c''>1-\markup {7 \super \arpeggioGuitar }

and the chord would be entered like g1:7.15

Brett


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to