Skip to contentSkip to conversation

Arggh, midi is driving me nuts.

DISCUSSION Mark J. Small 2 participants 2 messages Jun 13, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · you

Hello.

Quoted 2 lines · Mark J. Small

I have tried linking from ~/.dosemu/run/dosemu-midi to /dev/midi, /dev/amidi, /dev/snd/midiC0D0,1,2,3.

Quoted 14 lines

Here's what can get you on track. Remove the dosemu-midi entirely and play some midi from under dosemu. It will create the new dosemu-midi, just a regular file, and it should contain the raw midi data. If it does - on dosemu side everything is fine.
Then do something like
cat dosemu-midi >/dev/midi
It will write the recorded midi data to your device and you should hear some noice. If the noice is there, everything is allright.

Thanks for the reply.

I think I've got it figured out now. My problem was that I did most of my troubleshooting using the tie fighter installer. It doesn't seem to work well with doesmu's midi stuff. When I tried to test the midi settings within the tie fighter installer, the dosemu-midi file was created but was size zero. When I tried to play with megamid, things worked as you said.

Now a have a symlink from dosemu-midi to /dev/amidi, and megamid will play midi files happily from within dosemu.

I guess Tie Fighter does something that is incompatable with dosemu's midi support.

Digital sound is pretty choppy too when I play the game unless I set the resolution to 320x240. I guess an Athlon XP 2000 can't quite emulate an early Pentium. Doh.

Mark

Mark

#1 lore raw
Quoted 3 lines · Mark J. Small

Digital sound is pretty choppy too when I play the game unless I set the resolution to 320x240. I guess an Athlon XP 2000 can't quite emulate an early Pentium. Doh.

Hi,
did you try setting the hogthreshold to 0? The choppiness could be due to dosemu going to sleep every so often. I've run many games at 800x600 resolution on my 1.8GHz P4 with good performance if I set hogthreshold to 0. The choppiness gets very bad otherwise, especially if I don't use the mouse for a while.

Cheers,
Rob Komar