'Test that time signatures are inserted for music without time signatures.
MusicXML does not require the use of time signatures. Music without
time signatures occur in medieval chant, cadenzas, and contemporary music.'

def test_unmetered_music(self):

    ns = musicxml_reader.musicxml_file_to_sequence_proto(self.unmetered_filename)
    expected_ns = common_testing_lib.parse_test_proto(music_pb2.NoteSequence, '\n                                ticks_per_quarter:    220\n                                time_signatures:    {\n                                        numerator:    11\n                                        denominator:    8\n                                }\n                                tempos:    {\n                                        qpm:    120\n                                }\n                                key_signatures:    {\n                                }\n                                notes    {\n                                        pitch:    72\n                                        velocity:    64\n                                        end_time:    0.5\n                                        numerator:    1\n                                        denominator:    4\n                                        voice:    1\n                                }\n                                notes    {\n                                        pitch:    74\n                                        velocity:    64\n                                        start_time:    0.5\n                                        end_time:    0.75\n                                        numerator:    1\n                                        denominator:    8\n                                        voice:    1\n                                }\n                                notes    {\n                                        pitch:    76\n                                        velocity:    64\n                                        start_time:    0.75\n                                        end_time:    1.25\n                                        numerator:    1\n                                        denominator:    4\n                                        voice:    1\n                                }\n                                notes    {\n                                        pitch:    77\n                                        velocity:    64\n                                        start_time:    1.25\n                                        end_time:    1.75\n                                        numerator:    1\n                                        denominator:    4\n                                        voice:    1\n                                }\n                                notes    {\n                                        pitch:    79\n                                        velocity:    64\n                                        start_time:    1.75\n                                        end_time:    2.75\n                                        numerator:    1\n                                        denominator:    2\n                                        voice:    1\n                                }\n                                part_infos    {\n                                        name:    "Flute"\n                                }\n                                source_info:    {\n                                        source_type:    SCORE_BASED\n                                        encoding_type:    MUSIC_XML\n                                        parser:    MAGENTA_MUSIC_XML\n                                }\n                                total_time:    2.75\n                                ')
    self.maxDiff = None
    self.assertProtoEquals(expected_ns, ns)
