Automatically sets the affinity of "audiodg.exe" to only one core on computer start to fix the crackling noises that can occur in VoiceMeeter.
I learned about Windows Task Scheduler that allows to run the script in a way that does not open an admin prompt on every login and wrote a new script that makes use of that.
Note: If you had v1 of the script installed, it is automatically uninstalled if you install v2.
The affinity will now be set periodically in addition to only on login. For more information, see #11.
To install the script, download the install.bat
file from the
latest release
and run it. That's it!
To remove the Task Scheduler tasks, run the following commands from an administrator command prompt:
schtasks /delete /f /tn audiodg-affinity
schtasks /delete /f /tn audiodg-affinity-recurring
Some users of the program VoiceMeeter have a problem with a sound channel having
crackling noises. This can be fixed by setting the affinity of the windows
process audiodg.exe
to only one core. This, however can not be done
persistently in Windows itself, so a common solution is to use
Process Lasso. My problem with this solution was that the
free version of this program asks to buy the paid version on every boot and
constantly runs in the background although the only feature I use does not
require that. This is why I decided to write a simple script that is run once on
system boot and changes the affinity of audiodg to only one core.