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 9 éve
LICENSE.txt bd43de565d Add LICENSE.txt 9 éve
Makefile d9c78e89fc Fix Makefile 9 éve
README.md 66942f4060 Add README.md 9 éve
lprintf.h 29539dbcb0 Make lprintf.h report also the first argument. 9 éve
mmus2mid.c 9731144f14 Add note on what the changes are and date of modification as required by the license. 9 éve
mmus2mid.diff 4d7b218ebe Add .diff file comparing mmus2mid.c with https://github.com/klange/prboom/blob/ed7899c82670c58317c76ca3a5d08cb3e61abae0/src/mmus2mid.c for reference. 9 éve
mmus2mid.h 29cd44339e Initial commit 9 éve

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).