Sorry, I forgot to mention: this was solved on IRC. The problem was that I had specified the wrong location for the sounds and was catching all pygame.errors at the time when I was loading sounds.
On 11/14/12, Ian Mallett <[email protected]> wrote: > On Sun, Nov 11, 2012 at 5:48 PM, onpon4 <[email protected]> wrote: > >> (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 >> http://opengameart.org/content/single-key-press-sounds): >> >> http://www.webfilehost.com/?mode=viewupload&id=6150178 >> >> 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. >> > This is generally the fix to look at. If that doesn't work, I don't know. > > I was going to try to reproduce the problem, but the archive appears > broken. > > Ian >
