DOSBox-X emulates a rich set of DOS-era audio hardware. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/joncampbell123/dosbox-x/llms.txt
Use this file to discover all available pages before exploring further.
[mixer] section governs the global audio pipeline; [midi] controls MIDI output including MT-32 and FluidSynth; [sblaster] emulates Creative Sound Blaster cards with AdLib/OPL; [gus] emulates the Gravis UltraSound; and [speaker] covers the PC speaker, Tandy 3-voice, and Disney Sound Source. Configuring these correctly is often the difference between silence and authentic DOS audio.
[mixer] — Global audio pipeline
The mixer controls the combined audio output that all emulated sound devices feed into.
Run DOSBox-X in silent mode. Sound hardware is still emulated and programs behave normally, but no audio is sent to the host. Useful for automated testing or when running headless.
Host audio sample rate in Hz. All emulated devices will be resampled to this rate. Higher rates improve fidelity but increase CPU usage.Valid values:
8000, 11025, 16000, 22050, 32000, 44100, 48000, 96000, 192000Audio buffer block size in samples. Larger blocks reduce the risk of audio dropouts on slower or heavily loaded systems but increase latency.Valid values:
256, 512, 1024, 2048, 4096, 8192Milliseconds of audio data to buffer on top of
blocksize before playback begins. Increase this value if you hear stuttering or crackling.The
sample accurate option (default false) enables sample-accurate mixing at the cost of some CPU. Enable it for demos or games that require precise Tandy/OPL timing, such as those using digitized speech through OPL tricks.[midi] — MIDI output and synthesis
The device or synthesizer that receives MIDI data from DOSBox-X’s MPU-401 emulation.
| Value | Description |
|---|---|
default | Use the OS default MIDI output |
win32 | Windows MM MIDI output (specify device with midiconfig) |
alsa | ALSA sequencer (Linux; specify port with midiconfig) |
oss | OSS MIDI (Linux) |
coreaudio | macOS CoreAudio synthesizer (optionally specify a soundfont via midiconfig) |
coremidi | macOS CoreMIDI output port |
synth | Internal software synthesizer (specify a soundfont via midiconfig) |
mt32 | MT-32 emulation via Munt (requires ROM files) |
fluidsynth | FluidSynth software synthesizer (requires SF2 soundfont) |
timidity | TiMidity++ soft synth |
none | Disable MIDI output entirely |
Device-specific configuration string. For
win32, specify a Windows MIDI device ID or part of its name. For alsa, specify the ALSA port (e.g. 128:0). For coreaudio or synth, you can specify a soundfont path here instead of using fluid.soundfont.MT-32 emulation
DOSBox-X includes Munt-based MT-32 emulation. You must provide your own ROM files (legally obtained from a real MT-32 unit).Directory containing the MT-32 Control and PCM ROM files. DOSBox-X looks for files named
MT32_CONTROL.ROM and MT32_PCM.ROM (or their CM-32L equivalents).Model of MT-32 synthesizer to emulate.
| Value | Description |
|---|---|
auto | Automatically select based on available ROM files |
mt32 | Emulate the original Roland MT-32 |
cm32l | Emulate the Roland CM-32L (superset of MT-32) |
FluidSynth settings
Path to an SF2 or SF3 soundfont file for FluidSynth. This is required when
mididevice = fluidsynth. Popular free soundfonts include GeneralUser GS and FluidR3 GM.FluidSynth synthesizer output gain (0.0 to 10.0). The default FluidSynth gain is used if not set. Reduce this if FluidSynth output is clipping against other audio sources.
FluidSynth example
[sblaster] — Sound Blaster emulation
DOSBox-X emulates the full Creative Sound Blaster family, from the original SB1.0 through to the SB16.
The Sound Blaster model to emulate.
| Value | Card emulated |
|---|---|
sb1 / sb1.0 / sb1.5 | Sound Blaster 1.x |
sb2 / sb2.0 / sb2.01 | Sound Blaster 2.0 |
sbpro1 | Sound Blaster Pro (OPL2 stereo) |
sbpro2 | Sound Blaster Pro 2 (OPL3) |
sb16 | Sound Blaster 16 (most compatible, default) |
sb16vibra | Sound Blaster 16 Vibra variant |
ess688 / ess1688 | ESS Technology ES688/ES1688 |
reveal_sc400 | Reveal SC400 |
gb | Game Blaster (CMS) |
none | Disable Sound Blaster emulation |
I/O base address of the Sound Blaster.Valid values:
220, 240, 260, 280, 2a0, 2c0, 2e0Most DOS games expect the default of 220h.IRQ number for the Sound Blaster.Valid values:
3, 5, 7, 9, 10, 11, 12IRQ 7 is the most commonly expected value; some games default to IRQ 5.Low DMA channel for 8-bit audio transfers.Valid values:
0, 1, 3, 5, 6, 7High DMA channel for 16-bit audio transfers (SB16 only).Valid values:
0, 1, 3, 5, 6, 7OPL / AdLib settings
Type of OPL chip to emulate. On
auto, the mode is determined by the sbtype setting.| Value | Description |
|---|---|
auto | Choose based on sbtype |
opl2 | OPL2 (AdLib compatible, mono) |
dualopl2 | Dual OPL2 (SB Pro stereo) |
opl3 | OPL3 (YMF262, stereo) |
opl3gold | OPL3 Gold variant |
esfm | ESS FM (ESS Technology variant) |
none | Disable OPL emulation |
hardware / hardwaregb | Pass through to real OPL hardware |
OPL emulation provider.
| Value | Notes |
|---|---|
default | DOSBox-X built-in emulator |
compat | May provide better quality for some titles |
nuked | Most accurate, most CPU-intensive |
fast | Fastest, least accurate |
mame | MAME OPL core |
OPL chip sample rate. Use
49716 for the highest quality (and set mixer rate to match).Valid values: 8000, 11025, 16000, 22050, 32000, 44100, 49716Sound Blaster quick-reference
[gus] — Gravis UltraSound
Enable Gravis UltraSound emulation. Must be
true for any GUS settings to have effect.GUS hardware variant to emulate.
| Value | Card |
|---|---|
classic | Original GUS chipset |
classic37 | Original GUS with ICS Mixer (rev 3.7) |
max | GUS MAX (with CS4231 codec) |
interwave | GUS Plug & Play (InterWave) |
GUS I/O base address. Valid values:
210, 220, 230, 240, 250, 260, 280, 2a0, 2c0, 2e0, 300GUS IRQ. Valid values:
3, 5, 7, 9, 10, 11, 12GUS DMA channel. Valid values:
0, 1, 3, 5, 6, 7GUS RAM size in KB. Set to
-1 for the default amount appropriate to the selected gustype.Path to the Ultrasound directory. This directory should contain a
MIDI subfolder with GUS patch files. Patch sets for TiMidity++ are compatible.[speaker] — PC speaker and simple sound
Enable PC speaker emulation. The PC speaker is used for simple beeps and sound effects in many early DOS games and BIOS alerts.
Sample rate for PC speaker synthesis.Valid values:
8000, 11025, 16000, 22050, 32000, 44100, 48000, 49716, 65536Enable Tandy 3-voice sound emulation.
| Value | Behaviour |
|---|---|
auto | Enable only when machine=tandy |
on | Always enable Tandy sound |
off | Always disable Tandy sound |
Tandy 3-voice synthesis sample rate.Valid values:
8000, 11025, 16000, 22050, 32000, 44100, 48000, 49716Enable Disney Sound Source emulation (also compatible with the Covox Voice Master and Speech Thing). Connects to the parallel port.
[innova] — Innovation SSI-2001
The SSI-2001 was an ISA sound card built around the MOS 6581 SID chip (the same chip used in the Commodore 64).
Enable Innovation SSI-2001 emulation.
SID chip base I/O port. Valid values:
220, 240, 260, 280, 2a0, 2c0, 2e0, 300SID emulation quality level (0–3). Higher values are more accurate but use more CPU.
Audio configuration examples
- Standard DOS gaming
- FluidSynth MIDI
- MT-32 games
- Tandy / PCjr
Sound Blaster 16 with high-quality OPL emulation — the best choice for the vast majority of DOS games.