We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1299 - sdl_mixer and playmus fail to play certain files with "Corrupt MIDI file" error message
Summary: sdl_mixer and playmus fail to play certain files with "Corrupt MIDI file" err...
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.11
Hardware: x86_64 Linux
: P1 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 22:24 UTC by Anton
Modified: 2011-12-31 20:43 UTC (History)
1 user (show)

See Also:


Attachments
sdl_mixer is unable to play that (39.89 KB, audio/midi)
2011-09-04 22:24 UTC, Anton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton 2011-09-04 22:24:36 UTC
Created attachment 696 [details]
sdl_mixer is unable to play that

This is a follow up on the bug I filed at pygame:
https://bitbucket.org/pygame/pygame/issue/69/

sdl_mixer is unable to play my midi file:

./playmus ty_u_menya.kar Opened audio at 22050 Hz 16 bit stereo (LE), 4096 bytes audio buffer Couldn't load ty_u_menya.kar: /usr/share/timidity/eawpatches/xgmap2.cfg: Corrupt MIDI file.
Comment 1 Pietro Battiston 2011-11-14 09:17:20 UTC
Just wanted to add that:
- I have a lot of .kar files exhibiting the same behaviour (not publicly releasable, but I can mail them privately if they can help)
- I can be totally wrong, but my impression is that the issue is raised only for non-english karaoke files, as if it had to do with the charset or particular characters.

(in case that comment's useless, sorry for the noise)
Comment 2 Ryan C. Gordon 2011-12-31 11:39:16 UTC
Bumping priority on a few SDL_mixer bugs. This is just so we know to look at them for an upcoming release, but once we look at them more closely, we may decide to flag them as WONTFIX or push them back to a later release, so don't take this change in priority as any promise of anything, yet.  :)

--ryan.
Comment 3 Sam Lantinga 2011-12-31 18:27:56 UTC
This is fixed for timidity.  It looks like native midi on Mac OS X can't handle these tracks, FYI.
http://hg.libsdl.org/SDL_mixer/rev/7a8f0018e23d
Comment 4 Anton 2011-12-31 18:58:04 UTC
Yes, confirmed, it's fixed. Thanks a lot!
Comment 5 Sam Lantinga 2011-12-31 20:43:16 UTC
You're welcome! :)