[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Sound still glitchy in 1.8.1rc1 on Ubuntu



The following small program still produces glitchy audio using 1.8.1rc1 checked out from svn today. You can get the file w11.wav (a single spoken word from espeak) here: http://gb-cs.cs.unc.edu/tmp/w11.wav

import pygame
import time

print pygame.version.ver

pygame.init()

snd = pygame.mixer.Sound('w11.wav')

c = snd.play()
while c.get_busy():
    time.sleep(0.1)

I get the same bad audio with 1.8.

Other apps, including audacity and totem play it fine.

Is there any hope for pygame sound on Linux? Otherwise it is a great platform for our accessible games for children with disabilities.

Thanks
gb