MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <pedal> element

The <pedal> element

Parent element: <direction-type>

pedal

The pedal type represents piano pedal marks, including damper and sostenuto pedal marks. The line attribute is yes if pedal lines are used. The sign attribute is yes if Ped, Sost, and * signs are used. For compatibility with older versions, the sign attribute is yes by default if the line attribute is no, and is no by default if the line attribute is yes. If the sign attribute is set to yes and the type is start or sostenuto, the abbreviated attribute is yes if the short P and S signs are used, and no if the full Ped and Sost signs are used. It is no by default. Otherwise the abbreviated attribute is ignored. The alignment attributes are ignored if the sign attribute is no.

Content

Always empty.

Attributes

Name Type Required? Description
abbreviated yes-no No
color color No
default-x tenths No
default-y tenths No
font-family font-family No
font-size font-size No
font-style font-style No
font-weight font-weight No
halign left-center-right No
id xs:ID No
line yes-no No
number number-level No
relative-x tenths No
relative-y tenths No
sign yes-no No
type pedal-type Yes
valign valign No

Examples

This element is used in the following examples:

<pedal> (Lines)<pedal> (Symbols)