MID File
[Magic Home][Home]
This is a page for MID file analysis. | |
File contents analysisFile signature analysis (Header analysis)MIDI file (Starts with 0x4D 0x54 0x68 0x64)Additional scanning signature analysisPossible: [MIDI file, sig: 4D546864] Count: 1 File hex characters[00000000] 4D 54 68 64 00 00 00 06 00 01 00 0C 01 80 4D 54 MThd..........MT Base-64 conversionTVRoZAAAAAYAAQAMAYBNVHJrAAAAYgD/AwRUb3duAP8CG6kyMDAwIE1pY3Jvc29mdCBDb3Jw |
Sample code
public string getTif(System.IO.Stream file) { string TextBox1 = ""; byte[] b = ReadFully(file, file.Length); TextBox1 = "Starting tag (should be II - Big Indian): " + (char)b[0] + (char)b[1] + "<br/>"; TextBox1 += "Version: " + Global.intToHex(b[2]) + "<br/>"; return (TextBox1); }