From: Thomas Frohwein Subject: Re: New: munt - library and apps emulating Roland MT-32 synthesizers To: Jonathan Gray Cc: ports@openbsd.org Date: Wed, 17 Sep 2025 16:30:49 -0400 On Fri, 5 Sep 2025 14:30:11 -0400 Thomas Frohwein wrote: > On Thu, 28 Aug 2025 23:13:39 +1000 > Jonathan Gray wrote: > > > On Wed, Aug 27, 2025 at 06:51:39AM -0400, Thomas Frohwein wrote: > > > On Wed, 27 Aug 2025 00:00:28 +1000 > > > Jonathan Gray wrote: > > > > > > > On Tue, Aug 26, 2025 at 09:16:36AM -0400, Thomas Frohwein > > > > wrote: > > > > > On Mon, 11 Aug 2025 10:54:25 -0400 > > > > > Thomas Frohwein wrote: > > > > > > > > > > > Hello ports@, > > > > > > > > > > > > This is a new port for munt which provides a library mt32emu > > > > > > that can emulate high-quality synthesizers like Roland > > > > > > MT-32, CM-32L, LAPC-I. This library can be enabled by > > > > > > dosbox-staging with the attached diff (it's actually > > > > > > enabled by default; had to disable it without the munt > > > > > > port) to use this emulated audio device. It's also picked > > > > > > up by games/exult, which is why I'm including a diff here. > > > > > > > > > > > > For audio to work, ROMs from the synthesizers are needed to > > > > > > produce the sounds. dosbox-staging has some detailed info > > > > > > about those [1] and how to enable MT-32 MIDI. The address > > > > > > for the device has been 330 when software asks for it. I > > > > > > tested this successfully with a few games in dosbox-staging > > > > > > (Tie Fighter, Realms of Arkania: Blade of Destiny, and > > > > > > Jagged Alliance). The instructions for Ultima VII via > > > > > > games/exult are here [2]. > > > > > > > > > > > > The port also includes (GUI) applications to work more with > > > > > > these emulated synthesizers for those with an interest in > > > > > > making MIDI music. > > > > > > > > > > > > I've checked several other games/emulators that cover that > > > > > > era of MIDI music to see if they pick up libmt32emu (dosbox, > > > > > > dosbox-x, scummvm, sdlpop, shockolate), but that's not the > > > > > > case. We might need to be on the lookout if anything else > > > > > > from that era picks it up. > > > > > > > > A more general way would be to use the sndio midi interface like > > > > fluidsynth does. Then you could use scummvm's support for sndio > > > > midi. Which is the same way you'd connect to a real MT-32. > > > > > > scummvm actually includes mt32emu from munt for MT-32 emulation. > > > The files are in scummvm under audio/softsynth/mt32/. The way to > > > make use of the MT-32/CM32L ROMs is described at [1] (it works by > > > the way). > > > > > > munt would basically be the way to make this available to other > > > ports via a shared library. I'm not sure if fluidsynth or sndio > > > midi would know what to do with the MT-32 ROMs without the mt32emu > > > layer. > > > > I meant something like the alsa midi support munt seems to have, > > but for sndio. > > > > Not a requirement but would be nice to have. > > *ping* > > Still looking for an ok. This would improve/complete the > dosbox-staging port. Re-attached for convenience. ping. Still looking for ok; to help with high-quality MIDI/MT-32 emulation for several ports.