[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] sound crackle fix? update version?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] sound crackle fix? update version?
- From: "Jake b" <ninmonkeys@xxxxxxxxx>
- Date: Wed, 24 Dec 2008 18:34:07 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 24 Dec 2008 19:34:21 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=GXOACrRPMsZlO4ViaEVwovKs366bVqJb78ThRpM6jIA=; b=BcMjv3yYQmjdA2BP3Eow2pXc+uladEnYdxlrnfITIUL9G64VXMu1QQ82erEy7LX430 YKBH9c5aHFPOCPgw0nJ4Ox9X7ZIRWmQaPVhxKEZk+hL+ZK30nsdeE3QhMP4tcc2C9yOE IHwcwakVWAiClO/IoQax40NAE8RW3q9CWTb/4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=haBowyhfqh7lHmrn22kiYYbqduVYO6tpA0ALEb6YFHZK+9paW+ZLlXTg2kNfHw9utU Q2y5Vhpp9ui1PRekB1Es5e0CX6OqZA+vOMGkHNDiGp2x7ACSxUCnetxlvkwaMKX775K/ LB8GoSmtEoDaaIVw58WlTfkh880LHozf2xJ5A=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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