VOGONS


First post, by dbarton

User metadata
Rank Member
Rank
Member

I'm having a problem with MIDI, and I don't know whether there's a way to solve, as it's very very intermittent.

I'm running a MIDI sequencer under DOSBox. If it's been running for 30-60 minutes, it will sometimes suddenly start to play notes very very slowly, rather than at the correct song tempo.

If I stop the sequencer for just a fraction of a second and restart, all is back to normal. This wouldn't be an issue except I am using Sequencer Plus / DOSBox on stage for live performances, and this is a bit problematic.

It's a core 2 duo and seems to have no CPU issues, and most services are disabled.

Any tips at all would be a great help!!

Reply 1 of 8, by valnar

User metadata
Rank Oldbie
Rank
Oldbie
dbarton wrote:

This wouldn't be an issue except I am using Sequencer Plus / DOSBox on stage for live performances, and this is a bit problematic.

I don't have an answer for you, but I admire your b@lls to use DOSBox during a live performance. 😲

Have you checked to make sure Windows (or your host OS) isn't firing up a screensaver or any other kind of power management? It might not even be DOSBox related. One way to test that is to run DOSBox under a Linux distro just to see if it still happens.

And out of curiosity, is there a reason you can't use a PC that runs DOS?

Reply 2 of 8, by dbarton

User metadata
Rank Member
Rank
Member

I'd prefer to use a PC that runs DOS, but there needs to be MIDI hardware.

To run a USB interface I need Windows.
I could instead boot DOS and use a serial port interface, but laptops don't generally have real serial ports anymore.

Of course, I'm not sure if it's DOSBox or Windows causing the problem. I dont know Linux enough to know how to try Dosbox.

I have disabled as much stuff as I can think of. No network, no screen savers, no power management, no anti virus, no firewall.

Reply 3 of 8, by valnar

User metadata
Rank Oldbie
Rank
Oldbie

Are you using a laptop now? So is buying an older laptop with a serial interface a viable solution?

Since it's a DOS app, any 'ol laptop you can find will run DOS.

I'm surprised the real-time nature of midi (for performance reasons) works so well on DOSBox. 'Noted.

Reply 4 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

srecko made a patch a while ago to add midi in support. I think he made some small changes to current interface as well.

You could also try with midi=uart.

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 8, by dbarton

User metadata
Rank Member
Rank
Member

I cant try sreckos patch because Im already using a patched version that Don Wells did. (DVWJR) It was testmt32 for .70

His changes are actually for the MT32 issues, but that actually fixes some other major MIDI issues. Without his patch notes stumble, and timing is quite poor. With the DVWJR patch, MIDI is almost perfect, save this one issue I write about.

I very much look forward to when srecko and DVWJR are both added.

I'm using .70 since that's the last patched version I have. Have any other MIDI fixes been made that I might be missing?

Reply 6 of 8, by dbarton

User metadata
Rank Member
Rank
Member

I can't find any detailed info on the core= settings. Are these settings a big change?
Is there any chance that the core setting will make a difference?
Should I be using core=full??

At 5000 cycles, my CPU is only about 15%, so I have some headroom.

By the way, Qbix I did try midi=uart, but the Sequencer will not run without MPU401 intelligent mode.

Reply 7 of 8, by valnar

User metadata
Rank Oldbie
Rank
Oldbie
dbarton wrote:

I'd prefer to use a PC that runs DOS, but there needs to be MIDI hardware.

There are also several old Dolch PAC (Network Associates Sniffer) boxes for sale on eBay. I have one myself. Since the relatively slow LCD is not a problem for your application, it would be a perfect thing to buy for the stage. You can install ISA cards too.

http://shop.ebay.com/?_from=R40&_trksid=m38.l … -All-Categories