The <divisions> element

Parent element: <attributes>

Musical notation duration is commonly represented as fractions. The <divisions> element indicates how many divisions per quarter note are used to indicate a note's duration. For example, if duration = 1 and divisions = 2, this is an eighth note duration. Duration and divisions are used directly for generating sound output, so they must be chosen to take tuplets into account.

Using a <divisions> element lets us use just one number to represent a duration for each note in the score, while retaining the full power of a fractional representation. If maximum compatibility with Standard MIDI 1.0 files is important, do not have the divisions value exceed 16383.

Content

positive-divisions

Attributes

None.

Examples

This element is used in the following examples:

<assess> and <player>, <attributes>, <concert-score> and <for-part>, <divisions> and <duration>, <double>, <instrument-change>, <part-symbol>, <pedal> (Lines), <score-timewise>, <staff-type>, <staves>, <unpitched>, Tutorial: Après un rêve, Tutorial: Chopin Prelude, Tutorial: Chord Symbols, Tutorial: Hello, World, Tutorial: Percussion, Tutorial: Tablature