[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Sounds not playing correctly
- To: Pygame Mailing List <pygame-users@xxxxxxxx>
- Subject: [pygame] Sounds not playing correctly
- From: onpon4 <onpon4@xxxxxxxxx>
- Date: Sun, 11 Nov 2012 19:48:30 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 11 Nov 2012 19:48:40 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qgvvTsx6yuKKfH0ycUx9i7Wmcscm5g2F03AC8rz+kSk=; b=VNxmNOSsXmnAJAw7e1oAAy/jLtoAyT1ZtpQE2g0PJO5M/rKCUPXHaF4jM+WigvPhwQ 6Oe9Fxzuwo585HInaurpPlSdStlDitecmyoUEoAAGiRSZcj3oAwZH1pIV+j/9QY8zFvb FmgigGVRbYUeWOIicR2llZb3jz8ZgjyptSa+x9jIahGsxGc3Pz/a6HDwXolXgs2skaow /Bpt1N3FM0hz+kpemOnTmMN+FEcvq6Lz5mSgSFGk4Cq/dfNQ5DuBfq+w8pz63o7Y8bbk XO6TM+DgmT+IQh1juZW528Kggy6wA3Q4LP/Kl1DC97Ya0clyrkcu56Fdwdqo0FiUgtZs mwYA==
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
(I sent this earlier, but I'm pretty sure I wasn't subscribed and I
didn't notice this, so here it is again. If this is actually a
duplicate, I apologize.)
Someone might have seen me on IRC earlier asking about this.
Obviously, I'm still stuck.
Here is my program packaged with the sounds I'm using (license info is
incomplete, by the way; the sounds are under CC BY 3.0 and are from
So basically, the sounds aren't playing correctly. Instead, I'm
getting this muffled, quiet sort of popping sound. This happens on
both Trisquel GNU/Linux and Windows.
I've tried changing all of the sound settings with
pygame.mixer.pre_init, but there is no effect on the sound (buffer
size affects how far apart the sounds are, but that's it). I also
tried using Audacity to change the sounds' frequency to 22050 (which
is what is in that Zip file), and there is no effect.
Does anyone have any other ideas? This is rather frustrating because
this program is pretty much ready to be distributed; all that's needed
now is some missing documentation and a fix for this problem.
Someone on IRC suggested PyAudio, and I took a look, but I don't
really understand how to use it. I'm also not really too fond of the
idea of adding a second dependency to such a small program.