[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] How do you do the sound?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] How do you do the sound?
- From: inigo delgado <inigo.delgado@xxxxxxxxx>
- Date: Thu, 10 Dec 2009 21:36:10 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 10 Dec 2009 15:36:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=U/z/HzeHjm5oXQAsPNkXe4XWDvPuQ/mHvUtCLYRN4w4=; b=WMRynpWoGxlXxbMsaGAEJdmFrOdiUCVHry435iqPI5lV4oQePdoNFLgCr+4bqg1n+c Tahjm4hoEwzv8QglFm8fWlJWKgLZtPAM/x44doFw3UbEhcesDamoghYmJ9oEdsXbOQqD H3Eu10TAUZWb/j7MLQYW4DWOLrwqWNtjmZwKM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IVPa9m0WAcHEB+B/71ZyFvwGmhXi+w7DS/hB4vKHzGQ7zGqTeAvf2OBOj2Berxj7tV MSkJNmQO1jU8ztQ0ASIFXvU6h7o4Ba1nMNuEP1K5K1UeBcRViI1idGGPS0HZq7P+xTcr BrWCV5uLQoS49Gqt2Q+Y2c6bQjUfVQy6okQOI=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi all:
And sorry but my not to good english
I'm pretty new in pygame, and in my freetime i'm doing a shooter based en star wars -sssssh!!! don't tell it to George, he don't know nothing-.
Well, that's my problem. I'd and pretty xwing firing lasers and frying ties, so I decided to do the sound with pygame.mixer and...
#~@|!#¬[ !!!!! It's and incredible lag between the 'key is pressed' and 'the sound is played' (about one second)!!!!
I have a Ubuntu 9.10, so I googled and saw that the problem should be (and is) in SDL's interaction with pulseaudio (or in pulseaudio itself... i don't know). Well, I solved it unistalling pulseaudio and installing esound... but I think thats not the best solution... How do you do ubuntu compatibility?
I've ear about pyaudio but I don't know... I'll prefer to ear your experiences before learning a new API....
How do you do the sound?
--
Nota: Tildes omitidas para evitar incompatibilidades.
:wq