VMS Usability Intermittent - GM Compatibility only

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
Posts: 2
Joined: October 15, 2020 - 10:38
VMS Usability Intermittent - GM Compatibility only

Looks like games that support General Midi inside Dosbox are the only ones that seem to be writing to the VMS voice-table. 

Example: Quest for Glory 4 - Set as General Midi - About Tab shows 25-47 Voices active, varies as playback occurs. 
Same game - Set as Sound Blaster 16/Pro for Midi - About Tab shows 0 Voices Active, Sound Font sounds like MS GM Wavetable Audio

Master of Magic - No GM Midi Support using DosBox and GOG - About Tab shows 0 voices active. Sound Font sounds like MS GM Wavetable Audio

Both apps have the same default device, and output is configured to work correctly, device has been manually set to Device 0 (and 2 as well, both are VMS)

This bug was not an issue prior to Windows 10 2004

I have manually disabled the device driver for MSGMWA in Device Manager to no avail, the same results occur. 
There is no voice allocation happening to the VMS driver from any non-GM Midi supported games. This functionality existed prior, it would route all MIDI audio through the SoundFont regardless of GM capability or not.

Bugcheck steps: I've loaded multiple sound fonts, checked device preferences, and tested games WITH proper support. it works elsewhere once GM is selected, it seems that's the only layer that got imported with the new drivers. I can provide system specs if necessary, please let me know what I can share. Here is the Debug Log while running Sound Blaster Pro configuration in DOSBox - Ultima Underworld No General Midi Selected/Enabled (Is it only outputting IRQ3X0 to the soundfont/VMS??)

Edit: Bug Report #2 is a General Midi enabled output, with active voices shown.

Attachments (Only registered users)
VirtualMIDISynth_debug_report.txt
VirtualMIDISynth_debug_report2.txt
Posts: 1687
Joined: March 25, 2012 - 01:19
Re: VMS Usability Intermittent - GM Compatibility only
omegaone wrote:
Same game - Set as Sound Blaster 16/Pro for Midi - About Tab shows 0 Voices Active, Sound Font sounds like MS GM Wavetable Audio

I'm not such an expert on DosBox but... is the MIDI stream sent to VMS with this config?
Isn't it that the DosBox itself is rendering the audio? (just my 2 cents)

omegaone wrote:
I have manually disabled the device driver for MSGMWA in Device Manager to no avail, the same results occur.

As far as I can see from your debug, only the x64 version of the MS-Synth device has been removed; the x86 one is still in place.

MIDI Devices (x64)
==================
[0]: VirtualMIDISynth #1
[1]: Microsoft GS Wavetable Synth
MIDI Devices (x86)
==================
[0]: CoolSoft MIDIMapper
[1]: Microsoft GS Wavetable Synth
[2]: VirtualMIDISynth #1

Since I suppose DosBox is x86, you should try to remove the x86 version too.
The lists come from the enumeration of this registry keys:

  • x64: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
  • x86: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32

Compare their contents and try to remove MS-Synth from x86 too.

Posts: 2
Joined: October 15, 2020 - 10:38
Re: VMS Usability Intermittent - GM Compatibility only
coolsoft wrote:
I'm not such an expert on DosBox but... is the MIDI stream sent to VMS with this config? 
Isn't it that the DosBox itself is rendering the audio? (just my 2 cents)

Dosbox mounts virtual hardware just like a VM instance would. it's a synthetic Soundblaster Pro with MIDI set to IRQ 330/7?/1 (maybe 5/1) it's not at all rendering any audio on its own, it's outputting it to a synthetic sound device, and in this case, using whatever device is configured in DosBOX's config file. in this case it's ignoring the device when i'm telling it to use VMS and instead only outputting to it for General Midi certified capable games.
General Midi outputs to that port, otherwise, normal MIDI goes through the SoundBlaster IRQs which are set by default to 220/7/1. This is why i'm thinking it's having issues with the non-GM synthtable. It would have to be on the driver's end since that's the only thing that's changed since April 2020's 2004 patch. (Thank god microsoft finally fixed their patch naming conventions, 04/2020 = 2004)

coolsoft wrote:
As far as I can see from your debug, only the x64 version of the MS-Synth device has been removed; the x86 one is still in place.

That was disabled within Device Manager directly, through the Show Hidden Devices dialog box. this is the only way to see the device and try to disable it, however, x64 still shows the Wavetable Synth in x86 and x64. It's device position 1 in both x86 and in x64. The only thing missing is in x64 Coolsoft Midi Mapper isn't loading. I think this is irrelevant to function as dosbox does NOT operate in x64 anyways, so i don't believe this would be an issue.
I have a gut feeling it has something to do with the VMS application as it DOES initialize a midi stream, it just doesn't use any voices. if i close DosBOX it closes the connection inside VMS and stops showing it as in use. Anything i can provide you to help with this? This is my #1 use for VMS, to increase the quality of non-GM dos games with GM wavetables on standard midi sessions.

Attachments (Only registered users)
SCRDRV32x64.png
SCRDRV32x32.png
Posts: 82
Joined: September 25, 2013 - 16:38
Re: VMS Usability Intermittent - GM Compatibility only

Hi,

There is some misunderstanding here. Selecting Soundblaster/Soundblaster Pro/16 in DOS games almost always means OPL2/OPL3 FM synthesis that is emulated by DosBox itself. This has nothing to do with Midi. Especially in case of Quest for Glory 4 Soundblaster/Adlib option means mono OPL2 FM sound while Soundblaster Pro option means stereo dual OPL2/OPL3 FM sound.

So contrary what you suspect you do not hear MS/GS Soft synth when you select Soundblaster Pro but the FM synth emulation rendered by DosBox itself.