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

Re: [pygame] Mixer latency



It is a laptop, but I don't see this problem on any other applications. Being a Mac, there are lots of audio / video applications, and all work in real time without problem. It seems to be specific to Python.

Anyways, thanks for your help - I will look around to see if I can find any settings which affect the output; if I do, I will post them here.

Cheers

René Dudfield wrote:
Latency is really reliant on the sound card, driver and OS.

If you've got an inbuilt sound card, the latency is generally pretty bad.

Do you get bad latency with other programs?

cheers,


On Sun, Mar 30, 2008 at 3:16 PM, Wyatt Olson <wyatt.olson@xxxxxxxxx> wrote:
Hello all,

 I am in the process of making a real time drum sequencer program, but I
 am experiencing some problems with using Pygame mixer.  There seems to
 be approximately a 100ms delay between issuing the sound.play() command
 and actually hearing the sound play.  To reach an acceptable level, I
 must decrease this to a maximum of about 10ms.

 I have tried adjusting the buffer size, the number of sounds loaded,
 etc, to no avail.

 I am running pygame 1.7.1 on OS X.


 Does anyone have any suggestions on what I can try?

 Thanks!



Attachment: signature.asc
Description: OpenPGP digital signature