Prevents SPDIF/HDMI digital audio playback devices from sleeping. Uses WASAPI, requires Windows 7+.
To enable autorun, copy soundkeeper.exe into the startup directory (to open it, press Win+R, enter shell:startup, press Enter). To close the program, just mute the Sound Keeper in the Volume Mixer or kill the soundkeeper.exe process.
- Sound Keeper is fully automatic and doesn't require any user interaction.
- Sound Keeper can keep sound on many sound outputs simultaneously (e.g. SPDIF and HDMI).
- Sound Keeper detects new sound outputs on the fly (e.g. when you connected a TV via HDMI).
- Default behavior can be changed by changing file name of the Sound Keeper executable.
- Primary audio output is used by default. Add All to executable file name to enable Sound Keeper on all outputs.
- Inaudible stream is used by default. Add Zero to executable file name to use stream of digital zeroes (like it was in v1.0.0).
If the default inaudible stream doesn't help, try the new Sine stream type. It generates a sine wave, and can be customized. There are two parameters: F (frequency) and A (amplitude). The value goes right after the parameter character. For example, add SineF10A5 to executable file name to generate 10Hz sine wave with 5% amplitude. Low frequencies (below 20Hz) and high frequencies (above 20000Hz) with low amplitude (up to 10%) are inaudible.
Sound Keeper vs. SPDIF Keep Alive vs. SPDIF-KA
|Sound Keeper v1.0||SPDIF Keep Alive v1.2||SPDIF-KA v1.4|
|CPU usage (on Intel Core i5 4460):||0.004%||0.06%||0.06%|
|RAM usage (Private Working Set):||1636KB||13704KB||10600KB|
Known issue: streaming audio prevents automatic sleep mode
When a program streams any audio (even silence), the system don't go into sleep mode automatically. Sound Keeper uses the NtPowerInformation(SystemPowerInformation, ...) function to retrieve time when system is going to sleep, and disables itself right before this time. On Windows 7, it works perfectly. Windows 10 waits for 2 minutes more after any sound was streamed, so the PC goes into sleep mode after 2 minutes when Sound Keeper disabled itself. For some reason, Windows 11 always reports that the system is going to sleep in 0 seconds. The workaround had to be disabled on this OS until a better solution is found.
You can try to use the powercfg command to allow Windows go into sleep mode even when audio is streamed. To get required information about your audio driver that prevents the PC from sleeping when audio is streamed, execute the following command with administrator rights while Sound Keeper is running:
The required information about your audio device should look like this:
SYSTEM: [DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)
Execute such commands (but with your data from the previous command) as administrator to add this device into the ignore list:
powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device" SYSTEM powercfg /REQUESTSOVERRIDE DRIVER "HDAUDIO\FUNC_01&VEN_10EC&..." SYSTEM powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)" SYSTEM
To verify the ignore list, execute:
To revert your changes, execute:
powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device" powercfg /REQUESTSOVERRIDE DRIVER "HDAUDIO\FUNC_01&VEN_10EC&..." powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)"