This project consists of two parts:
- A library, AutoQuietLib, which can watch for and enumerate audio sessions based on process name (using ProcessAudioWatcher) and expose them in objects that allow the consumer to watch for events and perform actions on them (using AudioSession).
- A console app, AutoQuietConsole, which will watch one process for audio and lower the volume of another process when audio begins perceptibly playing.
Check out the latest release.
Usage: AutoQuietConsole.exe process-to-dim priority-process-to-monitor [level-to-lower-volume-to]
The level to lower the volume to when the priority process makes noise defaults to 10% if not specified.
Example: AutoQuietConsole.exe chrome firefox 10
To use:
- Windows 7 or above
- Visual C++ 2015 32-bit Redistributable
- .NET Framework 4.5.2
To develop:
- Visual Studio 2015 Community (or higher)