Page 1 of 1
Midi problem with love 0.71 on Windows
Posted: Sat Feb 26, 2011 12:11 pm
by dodyg
Hi,
I am a noob. I try to upload a midi file as a background music
"music = love.audio.newSource("music/almost unreal.mid", "stream")"
This will generate "Could not load file with ModPlug".
Is there anything I am missing to make this work?
Re: Midi problem with love 0.71 on Windows
Posted: Sat Feb 26, 2011 12:22 pm
by Robin
My first thought, though unlikely to be the problem: have you tried renaming the file so that it has no spaces in its name?
Re: Midi problem with love 0.71 on Windows
Posted: Sat Feb 26, 2011 1:26 pm
by dodyg
Done. It's still give the same error.
Is there any specific requirement for the midi to work?
Re: Midi problem with love 0.71 on Windows
Posted: Sat Feb 26, 2011 2:05 pm
by Robin
Hm, the
issue tracker shows some signs of MIDIs misbehaving, but not like it can't play it at all.
You could try converting it to another format, like Ogg Vorbis (.ogg).
Re: Midi problem with love 0.71 on Windows
Posted: Sat Mar 05, 2011 3:54 pm
by Lap
In a similar issue I've also noticed a lot of static on mp3's and have since had to switch to using ogg, which always works perfectly.