Midi problem with love 0.71 on Windows

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
dodyg
Prole
Posts: 2
Joined: Sat Feb 26, 2011 11:58 am

Midi problem with love 0.71 on Windows

Post 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?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Midi problem with love 0.71 on Windows

Post 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?
Help us help you: attach a .love.
dodyg
Prole
Posts: 2
Joined: Sat Feb 26, 2011 11:58 am

Re: Midi problem with love 0.71 on Windows

Post by dodyg »

Done. It's still give the same error.

Is there any specific requirement for the midi to work?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Midi problem with love 0.71 on Windows

Post 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).
Help us help you: attach a .love.
User avatar
Lap
Party member
Posts: 256
Joined: Fri Apr 30, 2010 3:46 pm

Re: Midi problem with love 0.71 on Windows

Post 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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests