Commit graph

8 commits

Author SHA1 Message Date
Simon Howard
8c0a4bc4c5 genmidi: Import DMXOPL instruments.
This is ConSiGno's OPL instrument patch table, found here:
<https://github.com/sneakernets/DMXOPL>

This is the result of many years' development and probably the
highest quality Doom OPL instrument set that's ever been developed. I've
obtained permission from ConSiGno to submit it to Freedoom, with the
following small omissions from the upstream version:

* Instrument 107 (Shamisen)
* Percussion 36 (Bass Drum 1)
* Percussion 69 (Cabasa)
* Percussion 76 (Hi Wood Block)
* Percussion 77 (Low Wood Block)

In doing due diligence I found that the patch data for these instruments
matched the patch data from Doom's GENMIDI table. Just to be
meticulously safe we'll keep the old versions of these (nothing, in the
case of the Cabasa). Other than these, every other instrument has been
replaced with a new patch.
2023-06-24 01:09:42 -04:00
Simon Howard
dba8b84744 genmidi: Improve music for GOTHICDM MAP06.
This music sounded really horrible with Freedoom's GENMIDI lump, which
was a shame because this is a really beautiful level. So adjust a
couple of the more prominent instruments used for this music track:

 * Instrument 104 (Sci-fi):
   This instrument was using a frequency multiplier that put it 2
   octaves and a 5th above, making it (intentionally, because it's
   a "sci-fi" effect?) discordant. Rework this so that it isn't
   discordant any more.
 * Instrument 51 (SynthStrings #1):
   This had a slow attack phase which had the effect of offsetting
   the notes slightly, so that they seemed out of sync. Adjust this
   and also increase the feedback so that the instrument sounds more
   "stringy" (?)
2014-08-02 15:28:02 -04:00
Simon Howard
80b212d1b1 genmidi: Fix GENMIDI waveform warnings.
Some of the instruments were using OPL3 waveforms, but GENMIDI is
for OPL2 chips and these are not necessarily supported. Adjust the
instrument settings to only use the original four OPL2 waveforms,
while trying to maintain something resembling the same sound.
2014-08-01 23:31:49 -04:00
Simon Howard
b108fea226 genmidi: Fix waveform warnings for some instruments.
This tweaks some of the problem instruments to use only OPL2
waveforms, silencing the warnings and improving playback.
2012-01-07 00:15:02 +00:00
Simon Howard
ac1d81b4ff genmidi: Import remaining horncomposer changes.
This adds the remaining changes from horncomposer's modified version
of the old GENMIDI lump. Details from his accompanying text file
follow:

2/6/11- Replaced Electric Piano 2 (patch 5) - with the high pitched attack :)
        Replaced Acoustic Piano (patch 0) - Serves as model for other pianos
        Replaced Bright Acoustic Piano (patch 1)
        Replaced Electric Grand Piano (patch 2)
        Replaced Honky-tonk piano (patch 3) - Added "out of tune"
        Accidentally discovered a good Electic Piano 1 (patch 4) - with chorus
2012-01-04 04:57:14 +00:00
Simon Howard
507931694e genmidi: Add some missing percussion instruments.
This adds a good number of the missing percussion instruments. These
come from a dump of Matt Cadirao (horncomposer)'s modified version of
the old GENMIDI lump.
2012-01-04 04:15:37 +00:00
Simon Howard
a21e76c70c genmidi: Add config file for GENMIDI builder.
Config lists the instrument files to use to build the GENMIDI lump.
Some instruments are not yet provided and are nulled out using a dummy
SBI file that doesn't play anything.
2012-01-03 00:03:15 +00:00
Simon Howard
1eabaa74cd genmidi: Add dumped instrument patches.
Split out OpenBSD OPL instrument patches into separate SBI files.
These can then be individually edited and compiled into a full GENMIDI
lump.
2012-01-03 00:03:15 +00:00