External MIDI Devices not obeying master volume slider

Post bugs that have to do with sound and/or in-game music here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Mug of Bro
Posts: 6
Joined: Sun May 31, 2020 7:44 pm

External MIDI Devices not obeying master volume slider

Post by Mug of Bro »

I found a bug while testing GZDoom v4.4.1, and rather than posting again in the release thread I figured I'd outline it in a place where it belongs.

When using an external MIDI solution (such as OmniMIDI or VirtualMIDISynth) I noticed that the playback volume did not reflect the master volume slider on launch of the sourceport.
While it can be remedied by adjusting the slider again or using the Windows Volume Mixer, it would obviously be more ideal if it worked as intended.
This bug also does not appear to be a result of the recent major update, as it was in fact plaguing previous versions of GZDoom despite my claim in the other thread.

Steps to reproduce:
Set master volume to 0.05
Change MIDI device to OmniMIDI or VirtualMIDISynth
Close and relaunch GZDoom
The title screen music should now be very noticeably louder than the menu and sound effects.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49143
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: External MIDI Devices not obeying master volume slider

Post by Graf Zahl »

This is because the master volume slider only affects the internal sound playback - those external devices are independent of it.
Mug of Bro
Posts: 6
Joined: Sun May 31, 2020 7:44 pm

Re: External MIDI Devices not obeying master volume slider

Post by Mug of Bro »

If that is the intended behavior, why does the independent music slider adjust midi playback on relaunch of GZDoom and not the master one?
I find it a bit of a strange inconsistency.
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: External MIDI Devices not obeying master volume slider

Post by StroggVorbis »

Just chiming in to report that (at least for me) this also happens with the Microsoft GS Wavetable Synth on v4.4.2

Return to “Audio/Music Bugs”