How to code the single measure/single chord decrescendo in lilypond?
|\> <ees' aes' c''>1 \!|
the above code gives a warning in lilypond: unterminated decrescendo.
Music: Practice & Theory Stack Exchange is a question and answer site for musicians, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityHow to code the single measure/single chord decrescendo in lilypond?
|\> <ees' aes' c''>1 \!|
the above code gives a warning in lilypond: unterminated decrescendo.
Crescendo and decrescendo marks must be tied to a note (or rest); however, you can create a note with zero duration to get the effect you're looking for.
| <ees' aes' c''>1\> c1*0\! |
Results in
This will work in any measure, including the final measure of the piece.
Note that decrescendo marks that terminate at the downbeat of the following measure will be engraved to end at the bar line. So you can get the same effect in a more standard way just by notating the following measure and attaching the "!" to the downbeat.
Dynamic marks (including crescendo/decrescendo etc.) need to be typed after note they are acting on.
So:
<ees' aes' c''>1\> |
<ees' aes' c''>1\! |
will produce
But, because you want the decrescendo mark to end at the end of the last bar — (where you have no note to attach to), you will need to place the dynamics in a different voice with (invisible) spacers that specify where the dynamics are to be placed:
<<
{ <ees' aes' c''>1 } \\
{ s4\> s4 s4 s4\! }
>> |
<<{}\\{}>>
construct is used, it creates an additional Voice. If there were a lot of these, it could seriously slow down compilation time.
\\
. The following should work too: << { <ees' aes' c''>1 } { s4\> s4 s4 s4\! } >>