Scenario: I play loud music. I leave the computer for an hour. I come back, and resume the music, not remembering that the volume is set to "full".
Question: Is there something a can install, such as a pulseaudio plugin, that will allow me to specify:
Given that no audio has been played for A
seconds, and the volume is above B
, when audio begins playback, play it at volume C
, gradually increasing volume back to B
over a time of D
seconds.
It would be strongly preferable if this could be done "globally", so it doesn't matter what the source of the sound is.