HackerPoet/Composer

Impossible to load my midi songs

aletote opened this issue · 1 comments

Loading Songs...
Music\Shake It Off.mid
ERROR Music\Shake It Off.mid
Music\ifineeded.mid
ERROR Music\ifineeded.mid
Music\Eight Days a Week.mid
ERROR Music\Eight Days a Week.mid
Saving 0 samples...
Done

I'm using a Mac. I debugged it a bit and I get the exception on the line -> mid = MidiFile(fname) that is in midi.py file. It's strange because when I use the python interpreter with any midi file there's no problem.

Ok, it's something to do with the Mac. I fixed it by changing the line on load_songs.py:
path = root + "\" + file
to:
path = file
and then copying all midi files in Music folder to Composer-master folder.