Decibel volume control - need log, not linear

Feature requests for VLC.
E-H
New Cone
New Cone
Posts: 1
Joined: 22 Sep 2009 02:08

Decibel volume control - need log, not linear

Postby E-H » 22 Sep 2009 02:40

The volume control is currently linear rather than log. All volume controls on audio hardware (and nearly all software) are logarithmic, which makes the position of the control match the perceived loudness. Currently the linear control in VLC MP makes most of the perceived volume change in the first few percent of the slider's range.

The VLC MP volume control should be changed to match the standard practice. The volume display should be changed at the same time so that what is now "100%" becomes "0 dB", 200% becomes "+3 dB" and mute becomes something like "-120 db" or "-[infinity symbol] dB" (if vsf=volume scaling factor, e.g.: vsf=1 = 100%, then dB=10*log(vsf); if vsf=0 then display "-[infinity symbol] dB" / check for vsf > 0 before attempting to take the log, obviously.)

This should only take changing a line or two of code.

(I'd like to see similar changes to some of the other slider controls such as effects and playback speed, but for this post I'll stick to the single easiest and most essential improvement that this great program could use.)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Decibel volume control - need log, not linear

Postby Jean-Baptiste Kempf » 23 Sep 2009 01:17

Yeah, we are thinking about this for 1.1. But no, it isn't "a line or two"

And btw, speed playback is already log.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

SubStr8
New Cone
New Cone
Posts: 1
Joined: 03 Dec 2009 08:59

Re: Decibel volume control - need log, not linear

Postby SubStr8 » 03 Dec 2009 09:03

I would very much like to see this feature also. I understand you would need to leave it the same by default. It would be nice to have the option though. I for one would almost always use the Log volume.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: MSN [Bot] and 2 guests