04-23-2019, 06:38 PM
(04-23-2019, 12:44 PM)TheOldPresbyope Wrote: Just a suggestion. Instead of using amixer, why not use the moOde utility script /var/www/vol.sh?
That script is cognizant of moOde configuration and both adjusts the volume and updates the volume knob in the UI.
Regards,
Kent
Hey.
I know this scenario, it works fine with a rotary encoder, buttons, and IR remote control, but with a potentiometer, its operation will be incorrect. It is difficult to work out a working algorithm - for example, if, while the potentiometer is in the extreme right position, you change the volume in the browser to 0, then either the volume will not increase at all, or if you turn it, it will again become maximum.
If you have any suggestions how to implement it, I will be glad to try them. But I like what happened at the moment.
Thanks for the advice.