Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'tutorial': 0.03; '"the': 0.07; 'ignored': 0.07; 'snippet': 0.09; 'it."': 0.16; 'it."': 0.16; 'jacob': 0.16; 'optional': 0.16; 'pygame': 0.16; 'subject:effect': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'trying': 0.19; 'options': 0.25; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; '[1]': 0.29; "doesn't": 0.30; 'dec': 0.30; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'checking': 0.33; '"the': 0.34; 'could': 0.34; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'library.': 0.36; 'subject:Simple': 0.36; 'url:ref': 0.36; 'url:org': 0.36; 'should': 0.36; 'list': 0.37; 'being': 0.38; 'depends': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'itself': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'skip:p 20': 0.39; 'skip:u 10': 0.60; 'solve': 0.60; 'simple': 0.61; 'more': 0.64 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sptxfGtzptPL+4YK01jHBG5JT3q4kvcP3PKc7+FpYDI=; b=NIq3SyrA3auCbhcE2h1qU/LzkQYDrwwOiMwQXqxaYdObHDG/D5ozsQ0BSlrWg/sf5S FJLVuBDUwJKsd4RW9FCJapsqbbC5qyqVMWIBsZ3XTQVj/8ZWgdk2hM5YuiABw8uPk7Xz /wfMyZGOF09WIgQMk9wt68agF3Oz2BN2RF25nm0iTtANUiDIM/k1uucjDVIyWsaC/zko juv5nlVwM/QQk8hp7wGd3IM+qhf1KR/sR559MScFZNlFr14zBg1oFDR+SniIc3leRExm NwzGLS6zc5qq9bDq1+D9L8ZTFhZXKbjSVNqVixvptMWfOYXF5iA5wWHGLnmQzRvGOtiH 4itw== X-Received: by 10.66.141.144 with SMTP id ro16mr23009577pab.120.1418847667342; Wed, 17 Dec 2014 12:21:07 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <65314F0A9A824416A920374265BD359C@JakePC> From: Ian Kelly Date: Wed, 17 Dec 2014 13:20:27 -0700 Subject: Re: Simple background sound effect playback To: Python Content-Type: multipart/alternative; boundary=001a1133316c33d4f6050a6f375b X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418847675 news.xs4all.nl 2879 [2001:888:2000:d::a6]:40917 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82612 --001a1133316c33d4f6050a6f375b Content-Type: text/plain; charset=UTF-8 On Wed, Dec 17, 2014 at 12:41 PM, Jacob Kruger 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... - 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 --001a1133316c33d4f6050a6f375b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Dec 17, 2014 at 12:41 PM, Jacob Kruger <jacob@blindza.co.za> wrote:
><= br>> Ok, trying simple code from a pygame tutorial snippet - nothing hap= pens - just silent, but with no errors being returned:
> =C2=A0
&g= t; [SNIP]
> =C2=A0
> 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 op= tional and depends on SDL_mixer. Your program should test that pygame.mixer= =C2=A0is available and intialized before using it." [1]

=
Have you tried checking that SDL_mixer is installed and pygame.m= ixer 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. Unfortunate= ly I don't have the experience to be able to recommend any specific lib= rary.

--001a1133316c33d4f6050a6f375b--