lilypond-user
[Top][All Lists]
Advanced

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

Re: Global resizing for grace notes dynamics


From: Edward Neeman
Subject: Re: Global resizing for grace notes dynamics
Date: Sat, 28 May 2011 10:31:18 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10



On 5/28/11 7:01 AM, Karim Barkati wrote:

Hi list!

I'm currently engraving a score using Lilypond, so first of all: thank you for your wonderful software!
In this contemporary score, there are many grace notes with one dynamic per note, so that having smaller dynamics on grace notes would definitely make this score look better.
Is there a way to specify globally a (smaller) size for grace notes dynamics? 

I wish Lily had something like this:
\override Voice.graceDynamics #'size = #'smaller
\grace{ a8\p [ gis8\mp ]}

For the moment, I think I would have to specify the size for each grace note, right?
\grace{
    a8_\markup{\tiny \dynamic p}
    [ gis8_\markup{\tiny \dynamic mp} ]}

Best regards,

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

I think you should try something like this:

%%% How to get smaller Dynamics on grace notes
\version "2.12.3"

startGraceMusic = { \override DynamicText #'font-size = #-5 }
stopGraceMusic = { \revert DynamicText #'font-size }

\relative c'' {
     \grace { c8 \mf b \f } c2 \pp
}

Best,
Edward

reply via email to

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