Skip to contentSkip to conversation

Sound advice sought

DISCUSSION Jan Willem Stumpel 1 participant 1 message Oct 19, 2003

lore
Share & tools
lore
#0 lore raw

Today, for the first time, I got midi sound out of dosemu (1.1.99)! By trial & error -- because I know practically nothing about midi.

My soundcard (ens1371 chip) does not have a hardware midi synthesizer. I have sound in the kernel (2.4.20) by means of

CONFIG_SOUND=y
CONFIG_SOUND_ES1371=y

Now if I do

timidity -ir 3 &

as root, and then as user

midid -p3 ~/.dosemu/run/dosemu-midi &

I can produce midi sounds from dosemu, playing .mid files through midi-player programs for DOS, like GSPLAY. I have not yet found a *game* that can make midi music in this way.

In the above commands, '3' can be any number it seems; but it must be the same in both commands.

Questions:

-- is this the 'right' way? Or is there a simpler way? -- is there a correct value for the 'magic number' (3 in the
example above)?
-- the sound is a bit weird: a bit too slow, and the tempo is
somehow "wobbly" (the notes don´t seem to arrive always exactly at the correct time). Anyway it sounds much 'snappier' if I just say timidity [somefile].mid outside dosemu. Also, if I stop gsplay, there is some 'afterburst' of music (a few notes). Is this normal?

Regards, Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html