fbpx
Skip to main content

MIDI Forum

Can A File Be Un-Co...
 
Notifications
Clear all

Can A File Be Un-Corrupted?

10 Posts
4 Users
0 Reactions
6,940 Views
Max
 Max
Posts: 4
Active Member
Topic starter
 

I started this file in 2011, gave up forever, and last week I decided to try to finish it. I think I did - but the last save I made suddenly corrupted it? I guess? The program didn't crash or anything, and the file still plays perfectly in the program I wrote it in, but it won't load in anything else.

 
Posted : 09/05/2022 2:47 am
JohnG
Posts: 226
 

The file you've put here is, as far as I can tell, not a file in MIDI format.
Certainly, in a hex editor, it doesn't look much like the header of an SMF at the beginning.
Embedded within the file tho' is "fall.sng" so it could be in the proprietary format of MidiSoft Studio.

Try renaming it "FALL.SNG" and see if you can open it then.

JohnG.

 
Posted : 09/05/2022 3:45 am
Geoff
Posts: 1043
Noble Member
 

You need to try to load the file back into the software that you were using, and that you say still plays the file. If you can load it back into that, if you want to save it as MIDI (SMF) then you need to look for a specific SAVE option that allows the file to be saved that way. I expect that a 'normal' SAVE will use the software's default format, which clearly is NOT midi (SMF).

Geoff

 
Posted : 09/05/2022 4:46 am
Max
 Max
Posts: 4
Active Member
Topic starter
 

SNG is what the program suggests, but it also allows for MID saves. I have two versions saved as SNG (although literally nothing else I have recognizes SNG files) and three versions saved as MID. None of the MID versions open in anything but the original program.

 
Posted : 09/05/2022 3:04 pm
Jason
Posts: 439
Honorable Member
 

Which program were you using to edit/save it last?

 
Posted : 09/05/2022 8:33 pm
Jason
Posts: 439
Honorable Member
 

Here you go. Loaded and saved with Win98/Midisoft Studio

 
Posted : 09/05/2022 8:43 pm
Geoff
Posts: 1043
Noble Member
 

Please note, the extension (i.e. the ,sng or .mid) does NOT necessarily give the correct file type. It OUGHT to, but many programs will allow an extension to be specified inappropriately. It sounds here as if you've got files that have been saved as .mid, but they are NOT actually midi files (SMF). Not so long ago we had a case of files saved as .mid that turned out to be digital sound files, something akin to .wav files. Caused MUCH confusion! A correct format midi file will be relatively small, often just a few k, and close to the beginning there will be text items 'MThd' and 'MTrk'.

Geoff

 
Posted : 10/05/2022 4:41 am
JohnG
Posts: 226
 

This second file, FALL.SNG.mid, is a valid MIDI file it seems.
At least it opens in a few sequencing programs I have, namely Sekaiju, Anvil Studio, XGworks, SOL2.

A song saved with a .SNG extension, although it will contain MIDI data, is not saved in the SMF format, but in the proprietary format of MidiSoft studio.
Note the difference between the two files as displayed below.

The first should have the .SNG extension, not .MID (note the "FALL.SNG" embedded within the file.

The second is the valid MIDI file in SMF format. Note the MThd header and the MTrk track start markers.

JohnG

 
Posted : 10/05/2022 5:58 am
Max
 Max
Posts: 4
Active Member
Topic starter
 

[quotePost id=14528]Which program were you using to edit/save it last?[/quotePost]

Midisoft Recording Session. (It came with Windows 3.1)

 
Posted : 11/05/2022 10:41 pm
Max
 Max
Posts: 4
Active Member
Topic starter
 

[quotePost id=14529]Here you go. Loaded and saved with Win98/Midisoft Studio[/quotePost]

Dude, you have made my month! Thank you so much!

 
Posted : 12/05/2022 12:11 am
Share: