I don’t know what a .webp file is but I don’t like it. They’re like a filthy prank version of the image/gif you’re looking for. They make you jump through all these hoops to find the original versions of the files that you can actually do anything with.
I’m looking at a MIDI file in a hex editor right now, it’s literally not a plain text file. Plain text files use carriage return and/or line feed characters to end a line of text. MIDI uses null to separate instrument notes and attributes.
Also, when was the last time you tried opening a MIDI file? Seems like half the media player apps and even some operating systems don’t even natively support it anymore.
Ok apologies. But you get my point, it’s a set of instructions made for actual hardware with built-in samples. I don’t think there’s any such thing in modern computers even beyond emulation on OS level.
Sound players are made to play sound, not instructions, and most people don’t need to play MIDIs. Even so, the actual playback experience then depends on the OS/hardware/whatever, which again is not something you expect from a sound player.
You can always use specific software to play MIDIs, which are better equipped for it with stuff like MIDI font support, instrument selection and other stuff.