Simple background sound effect playback

Ian Kelly ian.g.kelly at gmail.com
Wed Dec 17 15:20:27 EST 2014


On Wed, Dec 17, 2014 at 12:41 PM, Jacob Kruger <jacob at blindza.co.za> wrote:
>
> Ok, trying simple code from a pygame tutorial snippet - nothing happens -
just silent, but with no errors being returned:
>
> [SNIP]
>
> Think this is why ignored pygame in past...<smile> - think it actually
needs more than itself to be installed, or something.

The docs say: "The mixer module is optional and depends on SDL_mixer. Your
program should test that pygame.mixer is available and intialized before
using it." [1]

Have you tried checking that SDL_mixer is installed and pygame.mixer is
available? If that doesn't solve the problem, you could try the pygame
mailing list or one of the other options from the wiki. Unfortunately I
don't have the experience to be able to recommend any specific library.

[1] http://www.pygame.org/docs/ref/mixer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141217/a8857113/attachment.html>


More information about the Python-list mailing list