fsobolev / cavalier

Audio visualizer based on CAVA. 🎵 Written in Python using LibAdwaita.
https://github.com/NickvisionApps/Cavalier
Other
91 stars 5 forks source link

Automatic Sensitivity Increase #56

Open LinuxinaBit opened 1 year ago

LinuxinaBit commented 1 year ago

When Automatic sensitivity is on, sensitivity can decrease when audio is peaking but doesn't automatically lower when audio volume is reduced for an extended period of time. This causes problems when changing to tracks or applications which are quieter, and it becomes a pain to get the sensitivity correct.

fsobolev commented 1 year ago

The automatic sensitivity is handled by CAVA, so it's not something that can be dynamically changed on the Cavalier side. And as far as I remember indeed automatic sensitivity in CAVA can only decrease sensitivity, but not increase, so I understand the issue, but I think the only thing I can do is to add a menu item and a hotkey to restart CAVA and as result the process of sensitivity adjustment will restart too.

fsobolev commented 1 year ago

Also I think I can add setting to automatically restart CAVA whenever a track changes (by monitoring MPRIS Dbus interface, which most GUI media players support).

LinuxinaBit commented 1 year ago

@fsobolev Apparently there is one already, but it's pretty basic and doesn't work that quickly, see the issue on the CAVA Github. It could be worth implementing in the GUI anyway, until a better method exists.