lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hiding grace notes


From: Federico Bruni
Subject: Re: hiding grace notes
Date: Wed, 26 Oct 2011 09:47:44 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

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

Attachment: hiding_grace-notes.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]