Alternative volume-level algorithm

Hello

I use moc, with software mixer to control the volume (I'm not sure if that is relevant information or not).

I think that the effect of the volume control is too weak and an alternative volume-level algorithm would be good to have.
If I compare moc with audacious, audacious uses a (in my opinion) much better algorithm for controlling the volume. I'm no expert on the subject but I guess it could be a issue of linear scale versus logarithmic.

Forums:

I've been doing some work in this area - namely I used alsamixer algorithm which allows for a logarithmic volume setting. If you want to play with it, you can grab it from my github fork: https://github.com/tomaszg7/mocp . It's in commit: https://github.com/tomaszg7/mocp/commit/169a0f322866639d618d6dc6f25d1bb29f28caea but I'm not sure if it would work with current SVN head on its own.

Just realized my thing works only for ALSA mixer. I'll try to copy it over to softmixer as well and let you know.

Pushed new commit https://github.com/tomaszg7/mocp/commit/6c1aa4bb32bcc5e692bc629d9a6367bd00c7e4f6 which makes softmixer behave non-linearly. Used the functions from http://www.dr-lex.be/info-stuff/volumecontrols.html

The code should work also with current MOC version, you can grab patch here http://tomaszg.pl/moc/softmixer.patch (don't worry about reported offsets).