[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Node:Dynamics, Previous:Glissando, Up:Ornaments



Dynamics

Absolute dynamic marks are specified using an identifier after a note: c4-\ff. The available dynamic marks are: \ppp, \pp, \p, \mp, \mf, \f, \ff, \fff, \fff, \fp, \sf, \sff, \sp, \spp, \sfz, and \rfz.

       c'\ppp c\pp c \p c\mp c\mf c\f c\ff c\fff
       c2\sf c\rfz
     
[picture of music]

A crescendo mark is started with \cr and terminated with \rc (the textual reverse of cr). A decrescendo mark is started with \decr and terminated with \rced. There are also shorthands for these marks. A crescendo can be started with \< and a decrescendo can be started with \>. Either one can be terminated with \!. Note that \! must go before the last note of the dynamic mark whereas \rc and \rced go after the last note. Because these marks are bound to notes, if you want several marks during one note, you have to use spacer notes.

       c'' \< \! c''   d'' \decr e'' \rced
       < f''1 { s4 s4 \< \! s4 \> \! s4 } >
     
[picture of music]
This may give rise to very short hairpins. Use minimum-length in Voice.HairPin to lengthen these, e.g.
      \property Staff.Hairpin \override #'minimum-length = #5
     

You can also use a text saying cresc. instead of hairpins. Here is an example how to do it:

       c4 \cresc c4 \endcresc c4
     
[picture of music]

You can also supply your own texts:

       \context Voice {
         \property Voice.crescendoText = "cresc. poco"
         \property Voice.crescendoSpanner = #'dashed-line
         a'2\mf\< a a \!a
       }
     
[picture of music]

Dynamics are objects of DynamicText and Hairpin . Vertical positioning of these symbols is handled by the DynamicLineSpanner object. If you want to adjust padding or vertical direction of the dynamics, you must set properties for the DynamicLineSpanner object. Predefined identifiers to set the vertical direction are \dynamicUp and \dynamicDown.

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.