Stable: 2.5.2
Development: 2.6-alpha3
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.
tomaszg
Sun, 2016-10-09 12:17
Permalink
I've been doing some work in
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.
tomaszg
Sun, 2016-10-09 12:30
Permalink
Just realized my thing works
Just realized my thing works only for ALSA mixer. I'll try to copy it over to softmixer as well and let you know.
tomaszg
Sun, 2016-10-09 16:17
Permalink
Pushed new commit https:/
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).
McIntosh
Sun, 2019-09-22 06:51
Permalink
Hello
Hello
Will the work done by tomaszg be included into MOC?
I think it would be a really nice improvement on the music player.
jcf
Sun, 2019-09-22 07:51
Permalink
Probably
Significant work on the sound drivers is scheduled to happen in MOC version 2.7 (when we get there), so that's the time to be looking at it.