Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82612

Re: Simple background sound effect playback

References <65314F0A9A824416A920374265BD359C@JakePC> <CALwzidmGOzhnHVxbYrk3DesEuqOddZGzLkcG5pR5Jg6SJ40SyA@mail.gmail.com> <A1A2E1322A6E49C5947B304C28628092@JakePC>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2014-12-17 13:20 -0700
Subject Re: Simple background sound effect playback
Newsgroups comp.lang.python
Message-ID <mailman.17016.1418847675.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Dec 17, 2014 at 12:41 PM, Jacob Kruger <jacob@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Simple background sound effect playback Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-17 13:20 -0700

csiph-web