lilypond-user
[Top][All Lists]
Advanced

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

Rests in Dynamics context


From: Caio Giovaneti de Barros
Subject: Rests in Dynamics context
Date: Tue, 26 Jan 2016 14:49:48 -0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Is there a way to write rests in the Dynamics context? (or something like it)

I'm engraving a piece for piano in which there are rests used by both staves. It would be much cleaner for the musician to read some of the rests between staves (same as dynamics in the Dynamics context).

So far the only way I could think of is to add the rest as a markup, but (1) this doesn't write the rest in the middle and (2) there is no way to differentiate a whole note rest and a half note rest:

\version "2.19.35"


\new PianoStaff <<

\new Staff { s4 e'4 s2 e'4 }

\new Dynamics {

r4^\markup { \musicglyph #"rests.2"} s4 r2_\markup { \musicglyph #"rests.1" } s4

r1-\markup { \musicglyph #"rests.0" }

}

\new Staff { \clef F s4 c s2 c4 }

>>





reply via email to

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