I'm writing a visualizer for midi in pygame. Currently, I play a midi file in one program and get midi events in pygame via a virtual patch cable. I'd much rather play the midi file in pygame and receive the events, so that the user doesn't have to run a virtual patch program at the same time. Is that possible?