I have a Raspberry Pi 2 and a set of speakers connected to the 3.5mm headphone jack. I've got most audio coming out of my speakers by running
amixer set name='PCM Playback Route' 1.
pygame.mixer works absolutely wonderfully without doing anything special. However, when I try to run my
pygame.midi code I hear nothing.
I don't think it's a problem with my code personally. If I run
python -m pygame.examples.midi --output, I see the graphical piano, no errors are thrown, but I hear no audio out.
I'm running Ubuntu Mate on my pi, but this thread makes it seem like that's not the issue.