'Convert the MusicXML note-type-value to a Python Fraction.
Examples:
- whole = 1/1
- half = 1/2
- quarter = 1/4
- 32nd = 1/32
Returns:
A Fraction object representing the note type.'

def _convert_type_to_ratio(self):

    return self.TYPE_RATIO_MAP[self.type]
