I made a game-oriented music engine for one project and reused it for Thwaite and two other games in the bundle, as well as its menu. NovaYoshi has been using it for his own project. I wrote NSF and NES wrappers, as seen in my NSF of these games. Memory consumption is on the order of 36 bytes zero page and 80 bytes BSS.
Right now, music is coded as .byt statements, with symbols for phrase bytecode and macros for song commands. Perhaps I should polish it up and write a compiler for a proper input language inspired by MML but not compatible with any MCK.
Right now, music is coded as .byt statements, with symbols for phrase bytecode and macros for song commands. Perhaps I should polish it up and write a compiler for a proper input language inspired by MML but not compatible with any MCK.