Keyboard for Volume Up Down should obey VolStep INI setting

Started by robertcollier4,

robertcollier4

I map keyboard shortcuts "Up" and "Down" arrow to "DSP - Volume Up" and "DSP - Volume down".

Currently when I push Up or Down there is a a volume step of 2 in linear mode.

I would like the ability to set the volume more precise - 1 percent or even 0.5 percent or 0.2 percent. This helps for slow volume changes also such as when in a DJ presenting situation. If less than 1 percent is not possible, then even 1 percent is fine and is twice as better as 2 percent.

I noticed there is a VolStep INI setting but that only works for the mousewheel.
Any chance we could get VolStep for the keyboard as well?

Ian @ un4seen

Internally, the volume slider (and its XMPLAY.INI setting) only has 100 steps, so 1% increments would be the smallest possible change. Here's an update that adds the ability to set the keyboard shortcut's step size in a "VolStepKey" XMPLAY.INI entry:

    www.un4seen.com/stuff/xmplay.exe

If it still isn't quite working as wanted, have you tried enabling logarithmic mode? I think that usually works better, with a consistent audible difference between each step.

robertcollier4

I set VolStepKey=1

Works perfectly. In linear mode I am now getting 1% keyboard movement and in logarithmic mode I am getting 0.4 dB keyboard movement.

Thanks!