IEEE 1599

Documentation
Alphabetic list of elements (v1.0)

Duration and tuplet_ratio

<!ELEMENT duration (tuplet_ratio?)>
<!ATTLIST duration
   num CDATA #REQUIRED
   den CDATA #REQUIRED>

<!ELEMENT tuplet_ratio (tuplet_ratio*)>
<!ATTLIST tuplet_ratio
   enter_num CDATA #REQUIRED
   enter_den CDATA #REQUIRED
   enter_dots CDATA #IMPLIED
   in_num CDATA #REQUIRED
   in_den CDATA #REQUIRED
   in_dots CDATA #IMPLIED>

Element duration defines rhythmical values, by using a fraction notation. The value encoded is the one appearing in the score, without considering additional information such as augmentation dots or ties.

Attributes

Element tuplet_ratio defines rhythmic values of notes within tuplets. However, the graphical rhythmic value is encoded in the previous duration element (e.g., for a triplet of eigths, each eigths has <duration num="1" den="8" />). On the other hand, the meaning of this sub-element corresponds to the number of tuplet subdivisions in a given number of real subdivisions, according to the sentence "enter x values in y values" (e.g., for a triplet of eighths that takes the place of two eighths, each eighth has <tuplet_ratio enter_num="3" enter_den="8" in_num="2" in_den="8" />).

Attributes

Examples

tuplet

<chord event_ref="event_01">
   <duration num="1" den="4">
      <tuplet_ratio enter_num="3" enter_den="4" in_num="2" in_den="4" />
   </duration>
   <notehead>
      <pitch step="C" octave="6" />
   </notehead>
</chord>
<chord event_ref="event_02">
   <duration num="1" den="8">
      <tuplet_ratio enter_num="3" enter_den="4" in_num="2" in_den="4">
         <tuplet_ratio enter_num="5" enter_den="8" in_num="1" in_den="4" />
      </tuplet_ratio>
   </duration>
   <notehead>
      <pitch step="D" octave="6" />
   </notehead>
</chord>
...

Laboratorio di Informatica Musicale
Dipartimento di Informatica
Università degli Studi di Milano
Via G. Celoria, 18 - 20133 Milano, ITALY
 Google Maps
Goffredo Haus, PAR1599 chair
Phone: +39 02 50316 222
E-mail: goffredo.haus@unimi.it
  Luca A. Ludovico, PAR1599 vice-chair
Phone: +39 02 50316 382
E-mail: luca.ludovico@unimi.it
  Laboratory
Phone: +39 02 50316 382
E-mail: lim@di.unimi.it