[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Mixer latency
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Mixer latency
- From: Wyatt Olson <wyatt.olson@xxxxxxxxx>
- Date: Sat, 29 Mar 2008 22:16:00 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 30 Mar 2008 00:16:40 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type; bh=mR/B6XAsw4/aqnWRsjYphznXuyMpq6emnW2gpiVcPY8=; b=VomXUrY/m85rREKlZ4jhYSPb+xCZ8pgaeFvuO6ccFI0rCo1BBdRwAjVx6qXV7lNfaRyN/sNLORRq8X7WA2z+RF2w5O5cA4b0lvwlLWuBnggvhmFjTxtY7TWOWiFQGeMOf02S3ZNKMMg2bzquHjitrhSwO+peD7+0a16SQVvOe94=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type; b=lsmpHnyWT/D6PbZNA2DoH5pmbUbVxzM/y0m3vIo2i5JxShYKtc+o7FpjYG1tYPbJO1Nw3STPv6OPfIkg7rYRHxco7yMwAyXZZqNxbsPQkjChA/bL5K5PXmk5tPOuy4WfJIEWCzAwjVuptD/KKJhFSF2BqXsW5Iz6IJ6aIHGOUG0=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
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