From 87c062c1d4f7788620183f36b7239cdf28c4d2d1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 22 Jul 2006 16:43:12 +0000 Subject: New mus -> mid conversion code thanks to Ben Ryves This plays back a lot of music closer to Vanilla Doom - eg. tnt.wad map02 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 566 --- src/mus2mid.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/mus2mid.h (limited to 'src/mus2mid.h') diff --git a/src/mus2mid.h b/src/mus2mid.h new file mode 100644 index 00000000..cc0b7c80 --- /dev/null +++ b/src/mus2mid.h @@ -0,0 +1,37 @@ +// Emacs style mode select -*- C++ -*- +//----------------------------------------------------------------------------- +// +// $Id: z_zone.c 434 2006-03-24 19:55:04Z fraggle $ +// +// Copyright(C) 1993-1996 Id Software, Inc. +// Copyright(C) 2005 Simon Howard +// Copyright(C) 2006 Ben Ryves 2006 +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +// 02111-1307, USA. +// +// +// mus2mid.h - Ben Ryves 2006 - http://benryves.com - benryves@benryves.com +// Use to convert a MUS file into a single track, type 0 MIDI file. + +#ifndef MUS2MID_H +#define MUS2MID_H + +#include "memio.h" + +int mus2mid(MEMFILE *musinput, MEMFILE *midioutput); + +#endif /* #ifndef MUS2MID_H */ + -- cgit v1.2.3