class Note(XMLElement): pitch: one(Pitch) duration: entity(int) voice: entity(int) type: entity(str) stem: entity(StemDirection.from_string) notation: optional(Notations)
class Transpose(XMLElement): diatonic: entity(int) chromatic: entity(int)
class Clef(XMLElement): sign: entity(PitchStep.from_string) line: entity(int)
class Time(XMLElement): beats: entity(int) beat_type: entity(int)
class Key(XMLElement): fifths: entity(int) mode: entity(str)
class Encoding(XMLElement): encoder: entity(str) software: entity(str) supports: entity(str) encoding_date: entity(date) encoding_description: entity(str)
class Pitch(XMLElement): step: entity(PitchStep.from_string) octave: entity(int)
class Attributes(XMLElement): divisions: entity(int) time: one(Time) key: one(Key) clef: one(Clef) transpose: one(Transpose)