pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#89 sounds aren't played at the expected moment

Reported anonymously

You can check this with the example 3 from this archive: http://jlpo.free.fr/pygame_tutorial.zip

The sounds are played erratically: 3 sounds at a similar interval, then the fourth at a different interval. And yet the orders are sent regularly: I checked this by printing the time to the console.

I noticed this with pygame 1.9.2-pre and Python 2.7 (Windows XP). The problem doesn't appear with pygame 1.7.1 and Python 2.5 (Windows XP) and pygame 1.7.1 and Python 2.4 (Linux Xandros for eeePC).

similar problem: I noticed (in this example or a similar, I can't remember for sure) that orders to stop a sound were ignored. Sounds were queued to the channel instead of interrupting the previous one.

Status: new Responsible: nobody Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Anonymous

    written

    I did the same test with pygame 1.8.1release and Python 2.6.6 (Linux Debian 6.0.4 stable) and the problem doesn't appear.

  2. #2 bitcraft1

    written

    With pygame 1.9.1 and python 2.7 on my OS X lion macbook, the sounds are also not played 'at the right time'. They are often delayed, or in the case when they should be overlapping, they are played in sequence.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?