[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] sound crackle fix? update version?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] sound crackle fix? update version?
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Thu, 25 Dec 2008 11:40:49 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 24 Dec 2008 19:40:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tL6aDA8MpsjfUyShCjJC1mAu4rdGJi7W9DDvWFjYS0g=; b=vuH3e2+gyRjBR7aii+SVmLJ6RuP/5KGi7P2Sl6JC7r7DCIXYxYi+51rJtj1YdPwcBY wlGDPTsrzuMRC7jzM3kIu9R+YHksWx0vCcP1MZuDfMZEPiwA7sBHiik4+xRQYgjUZNDR EY5Cbc/A6ZXCB96fpUMQp81As23mNz6GD+IAI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UTZDGKWPs0mgWbalYAYtFdk+JPN4QC9h6BuP7f0pgOq/Ksj/XgkjHfzQCLJu83nRhX keQt+jrBfe/qu+i98LjxKX/xMEYGJslhNCSEhfYj59H1bfDPhp9uZKUcTmUkxNT2K3rH vQBu+hN1y6ZxVaS17w4Ebb4W1BGT11vWq6Ua4=
- In-reply-to: <dc44bb3e0812241634w63ac1512yf165091cff9498f8@xxxxxxxxxxxxxx>
- References: <dc44bb3e0812241634w63ac1512yf165091cff9498f8@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
hi,
yeah, try pygame 1.8.1 :) Or even better, the prerelease 1.9.0pre
from here http://thorbrian.com/pygame/builds.php
That should fix the crackle.
cheers,
On Thu, Dec 25, 2008 at 11:34 AM, Jake b <ninmonkeys@xxxxxxxxx> wrote:
> I haven't used sound in pygame, so its my first time trying it. My
> code causes sound to make a 'crackle'. The few sounds I tested all
> make this same sound. ( At first I thought maybe I bugged the source
> sound files, but, they sound right in winamp / audacity. )
>
> To see if its my code, I tested it in idle. This code causes crackle
> as well. ( Maybe more of a click than crackle?)
>
> pygame.mixer.init()
> s = pygame.mixer.Sound( path + "\CMaj.mp3" )
> s.play()
>
> I tested if the filepath is right, if its wrong, I get no sound.
>
> Any Ideas what to do? Mailing list looked like maybe certain
> mixer.pre_init(...) values may, or may not help.
>
> And could it be certain versions work better? [ pygame 1.8.0 , win32 XP ]
>
> (side note: does the sound format matter? I believe its monno-channel,
> mp3. wierd thing is windows says duration is 0:00:00 , but load it
> into winamp / audacity it looks right. )
>
> --
> Jake
>