The <beam> element
Parent element: <note>
Beam values include begin, continue, end, forward hook, and backward hook. Up to eight concurrent beams are available to cover up to 1024th notes. Each beam in a note is represented with a separate beam element, starting with the eighth note beam using a number attribute of 1.
Note that the beam number does not distinguish sets of beams that overlap, as it does for slur and other elements. Beaming groups are distinguished by being in different voices and/or the presence or absence of grace and cue elements.
Beams that have a begin value can also have a fan attribute to indicate accelerandos and ritardandos using fanned beams. The fan attribute may also be used with a continue value if the fanning direction changes on that note. The value is “none” if not specified.
The repeater attribute has been deprecated in MusicXML 3.0. Formerly used for tremolos, it needs to be specified with a “yes” value for each beam using it.
Content
beam-valueAttributes
| Name | Type | Required? | Description |
|---|---|---|---|
| color | color | No | |
| fan | fan | No | |
| id | xs:ID | No | |
| number | beam-level | No | |
| repeater | yes-no | No |
Examples
This element is used in the following examples:
<alter> (Semitones)<barline><beam><bracket><chord> (Multiple Stop)<cue><extend> (Lyric)<forward><grouping><ipa><lyric><measure-distance><normal-dot><pedal> (Lines)<slur><staff><syllabic><tremolo> (Double)<tuplet-dot><tuplet> (Nested)<tuplet> (Regular)<unpitched><voice><wedge>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: PercussionTutorial: Tablature