voctoweb icon indicating copy to clipboard operation
voctoweb copied to clipboard

Make volume slider logarithmic

Open piegamesde opened this issue 4 years ago • 2 comments

It seems to me that the volume control for http://media.ccc.de is using a linear slider instead of a logarithmic one. Please change this, it results in a sub-optimal UX.

https://www.dr-lex.be/info-stuff/volumecontrols.html

piegamesde avatar Apr 06 '20 23:04 piegamesde

Hello! I think this is a great idea. I work on audio software in my dayjob, so I warmly welcome better audio UX. I have a few audio curves for faders flying around, that I could contribute. But I would need to know, where to put them in the code. Since we would likely want them to affect all volume controls (the slider, up and down arrow key, ... more?) I guess it makes sense to put them in a central place that get called before the audio is actually set. I don't know enough about the voctoweb architecture, to know where to put it. Maybe it even makes sense to put it in underlaying libraries for the player (if i understand correctly mediaelement is used?). One of the devs probably knows more :) Great idea though!

edit: I probably also makes sense to do some measurements what volume curve is being used right now, because to me the current one does not feel quite linear....

Foaly avatar Jan 08 '21 20:01 Foaly

because to me the current one does not feel quite linear....

@Foaly This is probably due to your non-linear volume perception (and the exact issue. If you't made it logarithmic, it'd "feel" linear). Of course, there is no way to tell without looking at the code. But I find it highly improbable that somebody coded a non-linear slider like this. Either people know about human perception and do it right, or they don't and then it's linear.

piegamesde avatar Jan 10 '21 21:01 piegamesde