# Sdl\_mixer issue with a midi file

**URL:** <https://discourse.libsdl.org/t/sdl-mixer-issue-with-a-midi-file/18431>\
**Category:** SDL Development\
**Created:** [August 31, 2011, 2:41pm UTC](https://discourse.libsdl.org/t/sdl-mixer-issue-with-a-midi-file/18431 "2011-08-31T14:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rene\_Dudfield](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/rene_dudfield/32/3235_2.png) [@Rene\_Dudfield](https://discourse.libsdl.org/u/Rene_Dudfield)\
**Post date:** [August 31, 2011, 2:41pm UTC](https://discourse.libsdl.org/t/sdl-mixer-issue-with-a-midi-file/18431/1 "2011-08-31T14:41:03Z")

</div>

Hi,

we have a bug on the pygame issue tracker to do with sdl\_mixer and a midi  
file:

> **[pygame.mixer.music.load Corrupt MIDI file](https://bitbucket.org/pygame/pygame/issues/69/pygamemixermusicload-corrupt-midi-file)**
>
> == 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...

The midi file appears to work on the windows builds with sdl\_mixer. But not  
on the OSX or linux builds.

The file works if run manually with timidity on linux, but playmus.c fails.

Here is the midi file:  
[http://www.pygame.org/old\_bug\_attachments/44/ty\_u\_menya.kar](http://www.pygame.org/old_bug_attachments/44/ty_u_menya.kar)

Any ideas?
