lilypond-user
[Top][All Lists]
Advanced

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

dynamics (and hairpins) attached to rests vs dynamics attached to notes


From: Tiresia GIUNO
Subject: dynamics (and hairpins) attached to rests vs dynamics attached to notes
Date: Thu, 16 Aug 2012 14:59:34 +0200

Hi all,

I noticed that in LP 2.14.2, dynamics and hairpins attached to rests
(r or s) are slightly out of alignment when compared to dynamics and
hairpins attached to notes.

See attached ex. A

%%%%%% EXAMPLE A %%%%%%
musicOne = { a'4\< ~ a'\pppp ~ a'\> r4\! }
dynamics = { r4\< r\pppp r\> r\! }

\score {
        <<
                \new Staff { \musicOne }
                \new Staff { \dynamics }
        >>
        \layout {
                ragged-right = ##f
        }
}
%%%%%% %%%%%% %%%%%%

This leads to misaligned hairpins between different staves, if one
attaches hairpins to (hidden) spacer rests in order to specify the
duration of each hairpin, as explained here:

http://lilypond.org/doc/v2.14/Documentation/notation/expressive-marks-attached-to-notes#dynamics


%%%%%% EXAMPLE B %%%%%%
musicOne = { a'4\< ~ a'\pppp ~ a'\> r4\! }
musicTwo = { a'2. r4 }
dynamics = { s4\< s\pppp s\> s\! }

\score {
        <<
                \new Staff { \musicOne }
                \new Staff { << \musicTwo \dynamics >> }
        >>
        \layout {
                ragged-right = ##f
        }
}
%%%%%% %%%%%% %%%%%%

The attached examples are quite simple, in my score with more complex
music, such behavior leads to quite strange situations.

Am I right and if so, which would be the easiest solution?

Thank you,
T

Attachment: example_A.png
Description: PNG image

Attachment: example_B.png
Description: PNG image


reply via email to

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