-Eluze <elu...@gmail.com> writes:

> Federico Bruni-5 wrote:
>> 
>> Il 23/10/2011 23:33, -Eluze ha scritto:
>>> there are those 3 engravers:
>>>
>>> Grace_beam_engraver
>>> Grace_engraver
>>> Grace_spacing_engraver
>>>
>>> maybe removing them could help?
>> thanks for the tip
>> unfortunately, the following snippet doesn't work:
>> 
>> 
> yes, you're right (but i was only guessing) - these engravers obviously just
> take care of the appearance of grace notes
>
> anybody else?

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.

-- 
David Kastrup


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

Reply via email to