[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

Pedals

Piano pedal instruction can be expressed using \sustainDown, \sustainUp, \unaCorda, \treCorde, \sostenutoDown and \sostenutoUp.

The symbols that are printed can be modified by setting pedalXStrings, where X is one of the pedal types: Sustain, Sostenuto or UnaCorda. Refer to the generated documentation of SustainPedal , for example, for more information.

Pedals can also be indicated by a sequence of brackets, by setting the pedal-type property of SustainPedal objects:

     \property Staff.SustainPedal \override #'pedal-type = #'bracket
     c''4 \sustainDown d''4 e''4 a'4
     \sustainUp \sustainDown
      f'4 g'4 a'4 \sustainUp
     
[picture of music]

A third style of pedal notation is a mixture of text and brackets, obtained by setting pedal-type to mixed:

     \property Staff.SustainPedal \override #'pedal-type = #'mixed
     c''4 \sustainDown d''4 e''4 c'4
     \sustainUp \sustainDown
      f'4 g'4 a'4 \sustainUp
     
[picture of music]

The default '*Ped' style for sustain and damper pedals corresponds to \pedal-type = #'text. However, mixed is the default style for a sostenuto pedal:

     c''4 \sostenutoDown d''4 e''4 c'4 f'4 g'4 a'4 \sostenutoUp
     
[picture of music]

For fine-tuning of the appearance of a pedal bracket, the properties edge-width, edge-height, and shorten-pair of PianoPedalBracket objects (see the detailed documentation of PianoPedalBracket ) can be modified. For example, the bracket may be extended to the end of the note head.

     \property Staff.PianoPedalBracket \override
        #'shorten-pair = #'(0 . -1.0)
     c''4 \sostenutoDown d''4 e''4 c'4
     f'4 g'4 a'4 \sostenutoUp
     
[picture of music]
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.