VOGONS


DOSBOX midi in Os X

Topic actions

First post, by doc.horny

User metadata
Rank Newbie
Rank
Newbie

Dear Dosbox people,
First of all, thank you for the wonderful program. It’s fantastic. Unbelievable I’m running DOS in OS X 10.4 and with 2 new Intel Core DUO processors it fells very good!

Now to my little problems:
Sound (SB16 emulated) works properly, but midi doesn’t. I’m quite sure that Discworld (the game I’m playing) use midi to produce speech. I don’t know if the settings of my Dosbox are wrong. Do I have to activate/change something in OS X? Which of the soundcards in the game I should choose (I took SB16 for music, but there was only “SoundBlaster or compatible” for speech)?

Here is my command.conf :

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=20

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=coreaudio
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# 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=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

I think here is the problem. I also tried default, but did not work.

Thank you very much for helping me and wisdom to all who know that DOS is DiskOpparatingSystem and not only Denial of Service 😁

Reply 1 of 2, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

MIDI = Musical Instrument Digital Interface.

A short, in-correct, explation is that MIDI is like remote-control of instruments (synthesizers, organs, guitars, ...).

So I don't believe that speech would ever be done with MIDI. The SoundBlaster is what you want for speech (and sound effects).

But I don't know the answer to how to use MIDI in MacOSX.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 2, by collector

User metadata
Rank l33t
Rank
l33t

Shouldn't this be in the DOSBox forum?