Convert DOOM-type .mus files to .mid format. Based on a file from the PRBOOM source code, which is in turn based on mmus2mid by Jim Flynn, which is in turn based on QMUS2MID by Sebastien Bacquet. - Keywords: midi sound doom

Pedro Gimeno 66942f4060 Add README.md před 9 roky
LICENSE.txt bd43de565d Add LICENSE.txt před 9 roky
Makefile d9c78e89fc Fix Makefile před 9 roky
README.md 66942f4060 Add README.md před 9 roky
lprintf.h 29539dbcb0 Make lprintf.h report also the first argument. před 9 roky
mmus2mid.c 9731144f14 Add note on what the changes are and date of modification as required by the license. před 9 roky
mmus2mid.diff 4d7b218ebe Add .diff file comparing mmus2mid.c with https://github.com/klange/prboom/blob/ed7899c82670c58317c76ca3a5d08cb3e61abae0/src/mmus2mid.c for reference. před 9 roky
mmus2mid.h 29cd44339e Initial commit před 9 roky

README.md

This repository contains a simple standalone version of mmus2mid.c by Jim Flynn / Sebastien Bacquet.

It will only work on little-endian machines. If you need to make it work on big endian machines, change the Makefile to adapt the macro doom_wtohs so that it swaps bytes. See https://github.com/klange/prboom/blob/ed7899c82670c58317c76ca3a5d08cb3e61abae0/src/m_swap.h#L88 for a swap macro (copy the definition of doom_swap_s to doom_wtohs).