
Actually, PORTTIME is already correctly linked in PORTMIDI, so you don't need that at all any more.

Note that I did not tell you to do this for PORTTIME, too.

So, correct it for FONT, IMAGE, MIXER and SMPEG. Instead of having one -l and then the library name SDL_ttf, they put -l in front of every single letter of the name.
#Install pygame for python3 using pip mac install
Homebrew won't install Pygame, but it will install all the prerequisites for Pygame. Note that although I am mostly interested in audio playback, this post will detail the installation of all modules of Pygame, not just pygame.mixer. My tool of choice on the Mac is of course Homebrew. But then there would be no easy way to uninstall them, so what I would rather want is to install Pygame using package managers that allow easy updating and uninstallation. There are pre-built binaries on the Pygame website that you can install easily. (I will submit a patch to Pyaudio soon that will enable it there, too). This allows continuous audio playback of computer-generated sound. That is, you want to send some audio data to the sound card and continue with your program without waiting for the audio to finish playing. If you are serious about this though, you not only want audio playback, you want asynchronous audio playback. There are several packages out there that would afford audio playback. What they don't do however is playing back audio. They are awesome for working with audio data. An alternative to Matlab is Python, or rather, Numpy, Scipy and Matplotlib. So I want to do audio development on the Mac without using Matlab.
