def METHOD_NAME(seq):
    """Return pitch names and MIDI values
    Given a list of MEI note elements, return the tuple (pnames, midipitch) where pnames is a string of the
    pitch names of the given notes (no octave information) and midipitch is a list of the midi values for those
    same pitches. Music21's convertStepToPs function is used to get midi pitch values.
    """
    pnames = []
    midipitch = []
    for note in seq:
        pnames.append(note.pitch_name)
        midipitch.append(int(convertStepToPs(note.pitch_name, note.octave)))
    return "".join(pnames), midipitch