[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Is there a file limit on sound files?



Have you tried converting the sound file to an oggvorbis sound file? I have had a lot more luck with those files then with MP3s.

Paul Vincent Craven

On Sep 14, 2015, at 1:33 PM, Bob Irving <bobirv@xxxxxxxxx> wrote:

Bumping into some sound issues....

Students are using wav and mp3 files and getting "cannot open" errors. The files are named correctly in the code and match spelling in the folder. However, large (over 3-4Mb) files seem to be giving this error.

To make it more complicated, some students are running Python in Win7 in a VirtualBox on their Macbooks....

I tried the same files on my native Win7 laptop and didn't encounter the same problem. Sound files played as expected.

But I'm wondering if the sheer size of the files could be causing this error?

TIA,
Bob Irving