There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Is there an app that can program audio configuration?

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?

nichtburningturtle ,
@nichtburningturtle@feddit.org avatar

deleted_by_author

  • Loading...
  • QuazarOmega OP ,

    On a quick skim I don’t see a way on it to set volume profiles, let alone program behavior based on certain events, is there some menu I might have missed?

    unlawfulbooger ,

    The details depend a bit on the audiostack of your distro, but they all have a cli program with which you can change inputs/outputs and volume; e.g. pactl for pulseaudio and wpctl for wireplumber.

    You’ll need a mechanism to find your triggers (I create a firefox tab with youtube/spotify, I have a music player active) and then you can act on it.

    Detecting voice in an audiostream is probably technically possible, but that sounds pretty hard to setup.

    QuazarOmega OP ,

    So what I’m getting is that I would have to come up with something myself, right? I mean that would be super cool to do, but I don’t have the time to put into that

    2xsaiko ,
    @2xsaiko@discuss.tchncs.de avatar

    I’m fairly sure you can do this with Wireplumber hooks. …pages.freedesktop.org/…/events_and_hooks.html

    QuazarOmega OP ,

    This is the architecture though, I’m asking about an application that can interact with it

    boredsquirrel ,
    @boredsquirrel@slrpnk.net avatar

    There is a great video on that in German

    www.youtube.com/watch?v=I7KzeHtS0Kc

    QuazarOmega OP ,

    55 minutes? Uhm, could you tell me the relevant section of the video, please?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines