[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] playing mp3s
Hi,
> i've still been able to find some mp3's that just don't work
> well.
If they are less than a couple of Mbytes then email them to me,
or point me to them for download, and I will see if I can
find out why they don't work.
There was other strange code in SMPEG audio that wasn't
exercised by the MP3 test files I had available,
cheers,
John.
----- Original Message -----
From: "Pete Shinners" <shredwheat@mediaone.net>
To: <pygame-users@seul.org>
Sent: 04 September 2001 06:39
Subject: Re: [pygame] playing mp3s
> > I just downloaded the windows pygame 1.2 executable, but when I
> > played an mp3, it still sounded horrible.
>
> i've still been able to find some mp3's that just don't work
> well. there's not too much pygame can do here, since the decoding
> is all handled by SMPEG and SDL_mixer.
>
> first, try a couple different mp3s and see if any are working?
> at this point just about all of them work for me. also, if it
> sounds like the sampling is wrong (too slow or too fast) you
> can initialize pygame.mixer to a different frequency (it
> defaults to 22050)
>
> >>> import pygame, pygame.mixer
> >>> pygame.mixer.pre_init(41000)
> >>> pygame.init()
>
>
>
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org