Hi David,
thanks for the hint
Il 24/10/2011 23:12, David Kastrup ha scritto:
systemgrace = #grace
grace = #(define-music-function (parser location m)
#{ \tag #'grace \systemgrace $m #})
Then define your music in \mymusic as usual (it will use the changed
version of \grace). When you want the version without graces, call the
music with \removeTag #'grace \mymusic.
Something like that.
you probably meant \removeWithTag
anyway, it looks like this function transforms grace notes into normal notes
they are not removed
see example file attached
\version "2.15.14"
systemgrace = #grace
grace = #(define-music-function (parser location m)
#{ \tag #'grace \systemgrace $m #})
%}
music = \relative c'' {
a16( e) cis( b cis a) \grace e'( fis8~ fis16
\grace { gis16 fis } e) cis16 e( fis e) cis( b) |
}
\score {
\new TabStaff \with { stringTunings = #guitar-asus4-tuning }
\removeWithTag #'grace
\music
\midi{}
\layout {}
}_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user