Anton, 2011-04-22 06:01:15 -0700
Hi,
I'm trying to play a karaoke file via pykaraoke (http://kibosh.org/pykaraoke/index.php)
It uses pygame.mixer and a big number of files wouldn't play from my collection. I've figured that this is a possible bug in pygame library. Bellow is the error message:
$ python pykar.py ty_u_menya.kar
File "pykar.py", line 1450, in <module>
sys.exit(main())
File "pykar.py", line 1444, in main
player = midPlayer(None, None)
File "pykar.py", line 1068, in __init__
pygame.mixer.music.load(audio_path)
pygame.error: /usr/share/timidity/eawpatches/xgmap2.cfg: Corrupt MIDI file.
I've tried to play it with 3 different timidity patches:
[1] eawpatches
[2] shompatches
[3] freepats
but the error is the same (corrupt MIDI file).
I'm attaching "ty_u_menya.kar" for your tests.
Please let me know if you need more information.
Thank you.
Anton, 2011-04-22 06:01:55 -0700
Created attachment 44
a test karaoke file
Attachments:
ty_u_menya.kar
Anton, 2011-04-22 06:04:31 -0700
One more thing.
I've tried to play it using timidity library:
timidity ty_u_menya.kar
and it works fine.
so it really look like a pygame bug.