VOGONS

Common searches


First post, by dandu386

User metadata
Rank Newbie
Rank
Newbie

Hello everyone out there in Vogons land. I am having a problem getting the old adlib/soundblaster midi sound to work on Windows 3.1. I installed the Soundblaster 1.5 driver, and when I play a midi I get the crappy modern General Midi sound. I know I have been able to set it up correctly once before but I have forgotten how. My current system is a 2013 iMac desktop. I have gotten it to work on a 2008 iMac.

Reply 1 of 10, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Midi gets passed through to your systems midi which is crappy on OS X unless you provide an advanced soundfont.

Also install the SB16 drivers as per the windows 3.x guide.
And then add adlib through the drivers control panel (similar to installing the joystick drivers in the guide).

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 3 of 10, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

I might have time to take a look later.
You can make Dosbox use a soundfont for better midi than the default OS X one. Again, will need to take a look later so I'm not telling you wrong stuff 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 10, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator
dandu386 wrote:

Thank you but that did not work. It still gives me the crappy midi and it won't recognize ad-lib.

What won't recognize Adlib? AFAIK the program or game will need to support Adlib music. Adlib is not a replacement for your midi device, it is a seperate option in games.

As for making Midi in OS X sound better, you can indeed change the soundfont OS X uses to playback midi music:
in dosbox preference file change this in the [midi] section
mididevice=coreaudio
midiconfig=path-to-your-soundfont

Note that you might need an SVN snapshot, I have no idea whether this was already in the 0.74 release. Also I know that sf2 soundfonts work, I have no idea whether others do.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 10, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

Here is how I get Adlib MIDI music working with an installed copy of Windows 3.x running under DOSBox. Refer to the attached pic for the various Windows settings and installed Adlib driver, and here are the pertinent sound settings in my "DOSBox.conf" file:

[mixer]
# nosound: Enable silent mode, sound is still emulated though.
# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
# Possible values: 2048, 4096, 8192, 1024, 512, 256.
# prebuffer: How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=44100
blocksize=2048
prebuffer=10

[midi]
# mpu401: Type of MPU-401 to emulate.
# Possible values: intelligent, uart, none.
# mididevice: Device that will receive the MIDI data from MPU-401.
# Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use. See README for details.

mpu401=intelligent
mididevice=default
midiconfig=

[sblaster]
# sbtype: Type of sblaster to emulate.
# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, none.
# sbbase: The IO address of the soundblaster.
# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
# irq: The IRQ number of the soundblaster.
# Possible values: 7, 5, 3, 9, 10, 11, 12.
# dma: The DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# hdma: The High DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
# Possible values: auto, cms, opl2, dualopl2, opl3, none.
# oplemu: Provider for the OPL emulation. compat or old might provide better quality (see oplrate as well).
# Possible values: default, compat, fast, old.
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
# Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.

sbtype=sb16
sbbase=220
irq=5
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=default
oplrate=44100

[gus]
# gus: Enable the Gravis Ultrasound emulation.
# gusrate: Sample rate of Ultrasound emulation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# gusbase: The IO base address of the Gravis Ultrasound.
# Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
# gusirq: The IRQ number of the Gravis Ultrasound.
Show last 30 lines
#           Possible values: 5, 3, 7, 9, 10, 11, 12.
# gusdma: The DMA channel of the Gravis Ultrasound.
# Possible values: 3, 0, 1, 5, 6, 7.
# ultradir: Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=false
gusrate=44100
gusbase=240
gusirq=7
gusdma=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker: Enable PC-Speaker emulation.
# pcrate: Sample rate of the PC-Speaker sound generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
# Possible values: auto, on, off.
# tandyrate: Sample rate of the Tandy 3-Voice generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).

pcspeaker=true
pcrate=44100
tandy=off
tandyrate=44100
disney=false

Lastly, also attached is an MP3 file with a small snippet of the Windows 3.11 Media Player playing "CANYON.MID" with all of the above 😀

Attachments

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 6 of 10, by chickenpee

User metadata
Rank Newbie
Rank
Newbie

I am having trouble getting Adlib to show up as a possible midi device. I installed the stock Adlib driver from the Windows 3.1 disks and restarted, and reconfigured SB16 as IRQ 5, but the only midi devices I see in Windows are Creative music synthesizer and SB16 midi out. Is there another Adlib driver I should be using that has midi capability?

Reply 7 of 10, by Jo22

User metadata
Rank l33t++
Rank
l33t++
chickenpee wrote:

I am having trouble getting Adlib to show up as a possible midi device. I installed the stock Adlib driver from the Windows 3.1 disks and restarted, and reconfigured SB16 as IRQ 5, but the only midi devices I see in Windows are Creative music synthesizer and SB16 midi out. Is there another Adlib driver I should be using that has midi capability?

The Creative Music Synthesizer is Creative's "AdLib" (OPL3) driver.
Another one I know of is the Voyetra Synthesizer (opl3.drv).
It shipped with the PAS16, but I think it works with any OPL3-equipped audio card also.

And last but, not least, there's a third one named FM Midi Synth driver.
It is Freeware, as far as I do understand the readme file.

Anyway, these drivers do translate MIDI commands in OPL register writes.
If you're only interested in an AdLib MIDI- player, check out SEAL.
That's a graphical shell for DOS, with an internal audio player (MIDI, MOD, WAVE).
http://sealsystem.sourceforge.net/

PS: DOSBox defaults to IRQ7 for maximum compatibility.

Attachments

  • Filename
    FMSYNTH.ZIP
    File size
    60.71 KiB
    Downloads
    193 downloads
    File comment
    "Vendors may freely distribute then FM MIDI Synth driver provided
    that no more than a reasonable fee is charged for distribution.
    It may be included on a disk containing other software."
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 10 of 10, by olddos25

User metadata
Rank Member
Rank
Member

Why do you want to use Adlib for General MIDI anyway? There are much more convienent ways to make General MIDI work easier and sound better, for example with a soundfont.

Just another user that likes old OSes and videogames, nothing interesting to see here...
Other places to find me:
DraStic: http://drastic-ds.com (as dsattorney)