Midi support (in and out) has been added to pyGame 1.9, though it's mainly in the development stage and isn't very well documented yet, but it works.
Midi support is also being developed in the pyGame successor, pgreloaded (or pygame2).
Also note that even though pyGame has 'game' in the title, its uses stretch far beyond just game design.