FAQ
Hey guys I am running Windows XP and am having an issue with a game
that my team has created. Whenever an audio file is played it creates
a very distorted, crackly sound. Any ideas what could be the issue?

Thanks

Search Discussions

  • Alain at Nov 30, 2007 at 8:54 am

    On Nov 30, 4:33 am, "Woot4... at gmail.com" wrote:
    Hey guys I am running Windows XP and am having an issue with a game
    that my team has created. Whenever an audio file is played it creates
    a very distorted, crackly sound. Any ideas what could be the issue?

    Thanks
    No,
    and the more i look at your post, the more i can't see why.
    Sorry for not being able to help.

    Alain
  • David Tweet at Nov 30, 2007 at 8:54 am
    Before calling pygame.init(), you can call pygame.mixer.pre_init.
    Make sure the sample rate and sample size matches your audio file.
    But most likely the issue is that the default audio buffer size of
    1024 doesn't cut it for some sound cards; try increasing to the next
    power of two.

    Ex.
    pygame.mixer.pre_init(44100, -16, 2, 2048)

    On Nov 29, 2007 7:33 PM, Woot4Moo at gmail.com wrote:
    Hey guys I am running Windows XP and am having an issue with a game
    that my team has created. Whenever an audio file is played it creates
    a very distorted, crackly sound. Any ideas what could be the issue?

    Thanks
    --
    http://mail.python.org/mailman/listinfo/python-list


    --
    -David

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedNov 30, '07 at 3:33a
activeNov 30, '07 at 8:54a
posts3
users3
websitepython.org

3 users in discussion

David Tweet: 1 post Alain: 1 post Woot4Moo: 1 post

People

Translate

site design / logo © 2022 Grokbase