I sometimes play games and also open my music player, but the sound from the game drowns out the music, so I need to go into the sound mixer on KDE and manually lower the game's volume every time.
I was wondering, is there a way to do this process automatically? As in setting up conditions like "if music is playing (some MPRIS API?) then lower all other apps' volumes)", maybe even crazier "if some app is outputting voice then set its volume back up and lower music app's volume or pause its playback altogether for some specified timeout that keeps being refreshed for as long as voice is heard".
I imagine the latter is a bit of a dream, but maybe for the first, even some quick sound profile selector would go a long way, say switching from "normal profile" to "background music profile", etc. which specify preconfigured volumes for those apps.
Is that a thing?
Yep! I know, it's not quite what you were after. But physical controls to adjust each volume source feels quite automated.
I grew really tired of adjusting music, game, and voice chat volumes. I found that there was never a volume level that was right in all situations, and I'd always be switching or minimising windows to make adjustments. I backed PCPanel on Kickstarter in 2017 and can't fault it, but the software is only for Windows. Deej says it supports Linux as well, plus you get the fun of having to build it! 😁