示例#1
0
文件: part.py 项目: jiacnn/yolo3-omr
class Note(XMLElement):
    pitch: one(Pitch)
    duration: entity(int)
    voice: entity(int)
    type: entity(str)
    stem: entity(StemDirection.from_string)
    notation: optional(Notations)
示例#2
0
文件: part.py 项目: jiacnn/yolo3-omr
class Transpose(XMLElement):
    diatonic: entity(int)
    chromatic: entity(int)
示例#3
0
文件: part.py 项目: jiacnn/yolo3-omr
class Clef(XMLElement):
    sign: entity(PitchStep.from_string)
    line: entity(int)
示例#4
0
文件: part.py 项目: jiacnn/yolo3-omr
class Time(XMLElement):
    beats: entity(int)
    beat_type: entity(int)
示例#5
0
文件: part.py 项目: jiacnn/yolo3-omr
class Key(XMLElement):
    fifths: entity(int)
    mode: entity(str)
示例#6
0
文件: part.py 项目: jiacnn/yolo3-omr
class Encoding(XMLElement):
    encoder: entity(str)
    software: entity(str)
    supports: entity(str)
    encoding_date: entity(date)
    encoding_description: entity(str)
示例#7
0
文件: part.py 项目: jiacnn/yolo3-omr
class Pitch(XMLElement):
    step: entity(PitchStep.from_string)
    octave: entity(int)
示例#8
0
文件: part.py 项目: jiacnn/yolo3-omr
class Attributes(XMLElement):
    divisions: entity(int)
    time: one(Time)
    key: one(Key)
    clef: one(Clef)
    transpose: one(Transpose)