'Test the translation from PrettyMIDI to Sequence proto.'

def CheckMidiToSequence(self, filename):

    source_midi = pretty_midi.PrettyMIDI(filename)
    sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
    self.CheckPrettyMidiAndSequence(source_midi, sequence_proto)
