code: def parse_midi(self, filename, **kwargs):
          
          pm = pretty_midi.PrettyMIDI(filename)
          self.parse_pretty_midi(pm, **kwargs)
docs: Parse a MIDI file.
  
          Parameters
          ----------
          filename : str
              The name of the MIDI file to be parsed.
          **kwargs:
              See :meth:`pypianoroll.Multitrack.parse_pretty_midi` for full
              documentation.