Maes
I like big butts!

Posts: 3826
Registered: 07-06 |
Sorry to break it for you (and the guys at that blog) but there's a much more elegant way to play midis with an FM sound, which I have pimped discussed many times here at DW, including this thread.
To make a long story short, get fmmidi, a free FM OPL4 emulator that plays MIDI files directly using programmable FM timbres and real-time (emulated) FM synthesis.
There's also Adplug, which is a plug-in module (also for Winamp) that allows real-time FM synthesis emulation, and the ability to play back a lot of classic DOS era FM music files in obscure and exotic format (dunno if they extended it to a complete MIDI driver though).
To anyone doubting the quality of the emulated FM synthesis: it's bit-accurate. Surprisingly, the OPL2/OPL3/OPL4 line didn't use any analog oscillators or filters: the waveforms were generated digitally via lookup tables, channel manipulation was purely digital, mixing was done digitally, and the result was played back by a DAC external to the chip, at over 48KHz. So, perfect emulation is possible (of course, it may not sound like your "1000W P.M.P.O. MULTIMEDIA SPEAKERS" sounded in 1995).
Also, remember that not all DOS games using "midi" sound used the same timbres ;-)
Doom used a particularly good set, other games used generic Miles/Voyetra timbres that sounded bland, and a rare minority used direct control of the FM chip with feedback etc.
Ask me about FM synthesis ;-)
|