joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

decreasing volume in dosbox.conf #1464

Open ovitus opened 4 years ago

ovitus commented 4 years ago

The game I'm playing uses Soundblaster and the volume starts way too high even when my system audio is at normal level. I tried putting this in dosbox.conf to half it:

[autoexec] mixer master 50:50

But that's not lowering it. Is there some other parameter to configure this?

joncampbell123 commented 4 years ago

You should be able to lower master volume from the Sound menu.

However if the Mixer command is not working properly, that is a bug that needs to be fixed.

Allofich commented 4 years ago

Testing now, and I've found that the volume adjustment works for Sound Blaster 16 digital sound and Sound Blaster 16 MIDI, but has no effect on MPU-401 MIDI.

joncampbell123 commented 4 years ago

It depends on how MIDI is being rendered. Here on Linux, MIDI is rendered with Fluidsynth as a mixer channel like anything else. On Windows and Mac OS X, MIDI is sent to and rendered by the system's framework, which is not affected by the mixer volume.

crocket commented 3 years ago

If I execute dosbox-x something.exe, autoexec commands are executed after something.exe exits.

autoexec should be executed before something.exe is executed by dosbox-x.

By the way,

mixer master 50

is equivalent to

mixer master 50:50
crocket commented 3 years ago

I think this issue is actually https://github.com/joncampbell123/dosbox-x/issues/2925