Help! I'm getting very choppy sound playback on my code. Here's a quick example:There was a thread on this a couple of weeks ago called "sound crackling and fmod." Do you happen to be on Linux?
#!/usr/bin/python
import pygame
pygame.init() pygame.mixer.init (44100,-16,True,4096) foo=pygame.mixer.Sound("sound.ogg") foo.set_volume(1) foo.play()
Sound plays, but like a very dirty record, with lots of digi-noise. Sound on other programs works fine; any obvious issues that anyone can think of?