fbpx
Skip to main content

MIDI Forum

I can't open a down...
 
Notifications
Clear all

I can't open a downloaded midi file

12 Posts
6 Users
0 Reactions
6,690 Views
Erez
 Erez
Posts: 2
New Member
Topic starter
 

Hello,
I downloaded a midi file fromvuela alto

When I try to open it in windows media player, musescore3
or Aria Maestosa I get these error messages

And

I triede to contact the website admin and support. I got an error from the web server.

What is the problem with the file?
Can it be fixed? How ?

 
Posted : 09/05/2023 1:30 pm
Geoff
Posts: 1045
Noble Member
 

Hello,

I've just gone to the website you indicate, and downloaded the .mid file.

The file I got shows the size 52,461 bytes, and it is a .mid file. There are other files on the same page, that are larger, and NOT .mid files, so the first thing is to make sure you're getting the correct file.

I loaded the file I got into SYNTHFONT, and it loaded fine. I then played the file, and it plays fine. Although, near the end, there are some LONG (too long) notes sounding, but they stopped eventually. May not be an error in the data, just sounded wrong.

The file I got is a Karaoke file, with a lot of lyric data, but if the software you use cannot cope with that, it should merely disregard it.

I suggest you try the download again, and make sure the file is the correct size, and .mid

If it is still not working, and the software you mention should be ok, then attach the file to your next message (you need to ZIP the file and attach the .zip file, not the original .mid). I'll have a look at the file you've actually downloaded.

Geoff

 
Posted : 09/05/2023 2:08 pm
Bavi_H
Posts: 267
Reputable Member
 

The MIDI file is apparently shorter than it should be:

• The beginning of the MIDI file indicates it is supposed to contain 15 tracks, but the file only contains 10 tracks.

• The last track says it is supposed to contain 2077 bytes, but the file ends after 1013 bytes.

• The last track ends with three notes starts, but there isn't any matching note ends for them. Also, the last track doesn't end with a proper "End of Track" meta event.

The attached BPS patch file will make the following changes:

• Changes the beginning of the MIDI file to indicate it contains 10 tracks.

• Changes the end of the last track to remove the unending notes and to add a proper "End of Track" meta event.

• Changes the beginning of the last track to indicate the proper number of bytes in the track.

To use the attached BPS patch file:

1. Go to https://www.romhacking.net/patch/ or https://bbbradsmith.github.io/ipstool/

2. Drag and drop the MIDI file into the spot for "ROM file" (or click the Browse button and select the MIDI file).

3. Drag and drop the BPS file into the spot for "patch file" or "IPS file" (or click the Browse button and select the BPS file).

4. Click the "Apply Patch" or "Download" button to get the patched MIDI file.

 
Posted : 09/05/2023 2:35 pm
Geoff
Posts: 1045
Noble Member
 

Bavi,

Just for the record, the file that I downloaded and was commenting on has 15 tracks, BUT tracks 11 to 15 are in fact empty. They can be treated as valid tracks though. Surely this should NOT be considered as a problem?

Geoff

 
Posted : 09/05/2023 2:50 pm
Bavi_H
Posts: 267
Reputable Member
 

[quotePost id=18540]The file I got shows the size 52,461 bytes, and it is a .mid file. [...] I loaded the file I got into SYNTHFONT, and it loaded fine. I then played the file, and it plays fine. Although, near the end, there are some LONG (too long) notes sounding[/quotePost][quotePost id=18542]the file that I downloaded and was commenting on has 15 tracks, BUT tracks 11 to 15 are in fact empty.[/quotePost]
Hello Geoff. We are both looking at the same MIDI file. The page that Erez mentioned only has one MIDI file on it that I can see and it is 52461 bytes, or 51.23 kibibytes, as the page says.

As a quick and dirty way to confirm the file only contains 10 tracks, here's something you can try:
1. Open Notepad.
2. Drag and drop the MIDI file into the Notepad window.
3. Go to the Edit menu and choose the Find command. Enter in MTrk and click the Find button.
4. Keep repeating the Find command and you will discover the "MTrk" text can only be found 10 times in the file.

I just downloaded SynthFont 1.770 and it behaves like you describe. It appears SynthFont doesn't care that the number of tracks indicated in file's header is incorrect or that the number of bytes indicated in the last track's header is incorrect. I guess SynthFont creates 15 empty tracks based on the file's header information, then fills in the tracks with whatever events are in the file until the end of the file is reached. The last events in the file are the beginning of the never-ending notes.

Another app that can play the MIDI file is vanBasco's Karaoke Player, it also displays the lyrics in the file. But it still plays the never-ending notes.

All of the other MIDI player software I tried give an error message, crashed, or refused to open the MIDI file (Windows Media Player, MuseScore, Sekaiju, Notation Player, Synthesia, Cakewalk, MIDITrail, MAMPlayer, VLC Media Player). Patching the MIDI file as I described gets it to open in all of these apps and also removes the never-ending notes.

 
Posted : 09/05/2023 4:52 pm
Jason
Posts: 441
Honorable Member
 

Sema's test-mid-files run of the downloaded original file:

WARNING: offset 10 -- Incorrect number of tracks (15)
WARNING: offset 52461 -- Incomplete data (1064)

 
Posted : 09/05/2023 7:20 pm
Bavi_H
Posts: 267
Reputable Member
 

Additional: I found another version of the MIDI file that has all 15 tracks in it: Julio Iglesias - Vuela Amigo Vuela Alto.kar

(This is a ".kar" file, but that format is actually a MIDI file, so you can just rename it to end in ".mid". On Windows, open any folder window, go to the View toolbar, look in the "Show/hide" section and make sure the checkbox "File name extensions" is checked. Then you can change the end of the filename from ".kar" to ".mid".)

However this file has a different annoying issue: The last track is called "Reset" and has three System Exclusive messages at tick 3 -- a General MIDI Reset, a Roland GS Reset, and a Yamaha XG Reset. However, all the Program Changes in the file are at tick 0, so those System Exclusive messages are sent after all the Program Changes and they reset everything back to default piano sounds! You'll probably want to just delete the last "Reset" track.

 
Posted : 10/05/2023 6:01 am
Geoff
Posts: 1045
Noble Member
 

Interesting point here?

What OUGHT a piece of software do in a situation like this.

Seems that most of the systems tested here spot the errors, give an error message, treat the error as 'terminal' and abort. SynthFont seems to try to 'fix' the problem and continue, not giving any message at all. I'd feel that this is wrong, but the 'merely abort' is not very helpful?

I have noted with SynthFont that sometimes the system will highlight data in red that is faulty, but it did NOT do this with the current midi file.

Maybe the difference is dependant on the ability of the prog to edit the data? SynthFont does have an Events list, and data can be edited. I was able to use SF to fix the elongated notes at the end of the last track. When I checked this, I saw the note ON events, with a VERY long duration (which I assume was the data in the original midi file) then note OFF events at the end of the file (as per delta time) which I assume had been added by SF?

In the case of this file, I assume that someone has been editing the file (or trying to, using ???), and has left the file in a bit of a mess. Not a major problem to fix, but this could be a major disappointment for many?

Geoff

 
Posted : 11/05/2023 1:46 pm
Erez
 Erez
Posts: 2
New Member
Topic starter
 

Hello Geoff & Bavi_h

I downloaded Synthfont and Vanbasco

Both indeed play thr file

Yet, track 7, named Melodia has volume 0

I tried to change it as this is the main sound of the number. I couldn't find how to hear the melodia track

How to I chage the volume of this channel ?

Thanks

 
Posted : 27/05/2023 6:07 am
JohnG
Posts: 227
 

Try this one:

JohnG

 
Posted : 27/05/2023 6:46 am
Geoff
Posts: 1045
Noble Member
 

Erez,

If you've got SynthFont, then you can make edits to the midi file.

If you've got the file loaded, you'd normally be in the 'Plug and Play' screen. Select instead the Midi Events option.

In that, you'll see an option re the Current Track, via that select Tr 7, which will present a list of all the eventa for that track. You should see an item near the top for Volume (Course). Click on that line. This will change the options to the right of the Events listing. There will be some Up/Down arrows next to Volume there, click on the little arrows to change the value. In the file that I saw earlier this was set as 0, JohnG has changed it to 100. You can change it further to suit, 127 being the maximum.

You could save the file immed, using the SAVE option at the top of the screen, or you could now play the file and see if the volume is now ok, and repeat the process if not.

Save again to save any further changes.

You could do similar regarding any other settings that you might want to change.

The same screens will allow you to add new events, the details for any event allow the setting of 'When' which will define the point to insert the item into the list.

If you want to change the volume of a single note, you could change the Velocity of that Note On event. If you want to change a block of notes, you could add in Volume Controllers before the block you want to change, and put the setting back to whatever it was at the end of the block.

Treat the Controller (7) as the 'course' or 'rough' setting, and the Velocity setting as the 'fine' control for indiv notes and experiment, especially for something like the Melody (Vocal) track.

Geoff

 
Posted : 27/05/2023 9:45 am
rogerio
Posts: 1
New Member
 

I found another version to download the midi file
Here it plays normally in winamp
Maybe this version can help you.
Thanks

 
Posted : 31/05/2023 2:04 pm
Share: