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

Re: [pygame] Mixer latency



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!
>
>