First post, by rcblanke
- Rank
- Oldbie
Hi all,
Since it gets more and more problematic to have any influence on the midi device numbering in Windows, and adding and removing midi devices can alter the ordering of the devices in unpredictable ways, I thought it might be handy to also allow mididevice selection with DOSBox by using its name (or part of its name) in addition to its number/id. Please see the attached patch and compiled Windows executable. It works like in this example:
Z:\mixer /listmidi
0 "Microsoft GS Wavetable Synth"
1 "E-MU XMidi1X1 Tab"
2 "UM-1G"
Z:\midiconfig=1
(Status window shows: MIDI:win32 selected E-MU XMidi1X1 Tab MIDI:Opened device:win32)
Z:\midiconfig=um
(Status window shows: MIDI:win32 selected UM-1G MIDI:Opened device:win32)
Z:\midiconfig=xmidi
(Status window shows: MIDI:win32 selected E-MU XMidi1X1 Tab MIDI:Opened device:win32)
I hope someone will find this useful.
Regards,
Ronald