[pygame] Webcam, OpenCV and Python/Pygame

2008-04-05 Thread Chris Hager
Hi all, On the pygame gsoc ideas page i saw the webcam project to integrate computer vision. I'm an enthusiastic pygame developer myself, mostly for the XO laptop. I am also soc mentor for OLPC and we have a very interesting OpenCV proposal. Both the student and I had previous contact with

Re: [pygame] mixer.music in runtime

2008-04-05 Thread Phil Hassey
Hey, I'm working on a game and just set up a fresh dev environment. I found that I was having the same issues with py2exe and pygame. Since (as I'll post in a minute) I was having issues with pygame-1.8's sound, I downgraded to 1.7 to fix that. However, the py2exe issues persisted. I

[pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Phil Hassey
Hey, I was trying out pygame 1.8 on my dell laptop with xp pro sp2 .. and the sound was horribly garbled. I downgraded to pygame 1.7 to resolve the issue. I'm guessing this is a sdl-mixer issue ... since I'm using a custom SDL.dll in both cases. So I guess this isn't even the right mailing

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Brian Fisher
were you using the same custom sdl binaries with both 1.7 and 1.8? were you using custom SDL_mixer or just custom SDL.dll? Why are you using custom ones? what happens if you use the installer ones? On Sat, Apr 5, 2008 at 11:57 AM, Phil Hassey [EMAIL PROTECTED] wrote: Hey, I was trying out

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Phil Hassey
Upon further investigation, I reinstalled pygame-1.8... And removed a line of code: pygame.mixer.pre_init(44100,-16,2, 1024 * 3) Now it isn't awfuly garbled, but there is some clicking .. I'll keep looking. -Phil Phil Hassey [EMAIL PROTECTED] wrote: I was using the same custom SDL.dll with

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Phil Hassey
I was using the same custom SDL.dll with both. I am not using a custom SDL_mixer. I have to use a custom one because I'm integrating a game with some 3rd party stuff that needs some special magic in SDL to work. If I use the installed SDL.dll, pygame doesn't receive any events because of

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Phil Hassey
I found that if I add this line (thanks mailing list :) os.environ['SDL_AUDIODRIVER'] = 'waveout' That mostly fixes it for me. Now it seems that the second time it plays through the music there is some added clicking artifacts, but the first time it plays fine ... I'm also noticing that

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Phil Hassey
So I then installed pygame-1.8.0, and copied the SDL_mixer friends dlls into the pygame folder from pygame-1.7.1 .. this made the music stop clicking when it played the second time around. However, the sound effects still aren't re-starting properly. -Phil Phil Hassey [EMAIL PROTECTED]

Re: [pygame] garbled sound in pygame-1.8 on xp-pro sp2 on a dell laptop

2008-04-05 Thread Michael Fiano
On Sat, 5 Apr 2008 13:14:27 -0700 (PDT) Phil Hassey [EMAIL PROTECTED] wrote: os.environ['SDL_AUDIODRIVER'] = 'waveout' That mostly fixes it for me. Now it seems that the second time it plays through the music there is some added clicking artifacts, but the first time it plays fine ...