Re: [pygame] playing sound on Windows

2013-06-27 Thread Christoph Gohlke
Works for me on Windows after replacing `pygame.init()` with `pygame.mixer.init()` Christoph On 6/27/2013 8:11 AM, sarah wrote: Hi all, I've just subscribed to this list hoping someone can hplease elp me with the following problem: I wrote the class bellow (I also attached it) that simply pl

Re: [pygame] playing sound on Windows

2013-06-27 Thread James Paige
I don't know why this problem is happening, but I can reproduce it. I tested your script (with my own 0.wav file) and it worked fine on Linux, but on Windows 7 (64 bit) with both python 2.6 + pygame 1.9.1 and python 2.7 and pygame 1.9.2 there is no sound. Although this does not solve your probl

[pygame] Unsubscribe

2013-06-27 Thread anthony . flury

Re: [pygame] playing sound on Windows

2013-06-27 Thread sarah marques
Yes, I meant that. Sorry, I translated my code from Portuguese to send it to the list, and this word 'som' slipped. Sarah Barreto Marques 2013/6/27, James Paige : > On Thu, Jun 27, 2013 at 08:11:39AM -0700, sarah wrote: >> Hi all, >> I've just subscribed to this list hoping someone can hplease el

Re: [pygame] playing sound on Windows

2013-06-27 Thread James Paige
On Thu, Jun 27, 2013 at 08:11:39AM -0700, sarah wrote: > Hi all, > I've just subscribed to this list hoping someone can hplease elp me with the > following problem: I wrote the class bellow (I also attached it) that simply > plays a sound > file when its method play_file() is called. It works on L

[pygame] playing sound on Windows

2013-06-27 Thread sarah
Hi all, I've just subscribed to this list hoping someone can hplease elp me with the following problem: I wrote the class bellow (I also attached it) that simply plays a sound file when its method play_file() is called. It works on Linux perfectly, but on Windows, no sound is played and I do need