from ZILtoid1991@lemmy.world to programming_languages@programming.dev on 30 May 2024 19:12
https://lemmy.world/post/15991827
Design documentation: github.com/ZILtoid1991/…/m2.md
It has some weird solutions due to my limited experience with the subject and the target usage favor preallocation instead of live allocation. I took some inspirations from Music Macro Language, Assembly, and Lua. Due to the lack of a MIDI 2.0 format, I thought I’d come up with my own, adding capabilities to program adaptive soundtracks (emitting MIDI commands with calculated values, conditional emitting of MIDI commands, conditional looping and pattern playback, etc).
I initially gave it the name .m2
but while M.2 is an entirely different thing, an MML format by the name .m2
does exist on the PC98, thus I’m looking for some new name for mine. The only thing I can come up on the spot is MASM (or MIDI Assembly), but it’s close to an already existing MASM (Microsoft Macro Assembler).
threaded - newest
Compiled MIDI, cmid
MIDI bytecode / Musical Bytecode, .MBC
MIDI Replay, .rmid
Whatever the magic number of your file are .gif
Midi bytecode gets my vote.
Another point I wanted to make after thinking about this.
Take extra care not to include executable code in your file format if you wanna see adoption.
That was a lesson learned the hard way for the AI models.