@nothings@mastodon.gamedev.place
Post #1694253
2026-04-21 17:05 UTC
@Tijn As a person who has authored a few MIDI files AND who has written code to manipulate & generate MIDI data programatically and who has read and understood the spec -- I too have no idea how this could happen. You'd never get anything like this from corrupted or random data, AFAIK.
Replies (1)
-
@nothings@mastodon.gamedev.place 2026-04-21 18:44
@Tijn Ok, I don't think this is what happened to your file, but I looked for interesting ways to corrupt a MIDI file, and I found that swapping the bottom two bits works on some of mine (but you have to be careful to only do it to the MIDI data, if you apply this corruption to whole file it fails). Rendered corrupted file: