Giter Site home page Giter Site logo

gobidev / voicemeeter-auto-affinity Goto Github PK

View Code? Open in Web Editor NEW
223.0 6.0 12.0 34 KB

Automatically sets the affinity of "audiodg.exe" to only one core on computer start to fix the crackling noises that can occur in VoiceMeeter.

License: The Unlicense

Batchfile 54.31% PowerShell 45.69%
voicemeeter audiodg-exe audiodg voicemeeter-banana crackling lasso process-lasso hacktoberfest

voicemeeter-auto-affinity's Introduction

voicemeeter-auto-affinity

Github Downloads all Releases Github Downloads latest Release License GitHub issues

Automatically sets the affinity of "audiodg.exe" to only one core on computer start to fix the crackling noises that can occur in VoiceMeeter.

New in v2

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.

How to Install

To install the script, download the install.bat file from the latest release and run it. That's it!

How to Uninstall

If you no longer want the audiodg affinity to be set at login, run the following command from an administrator command prompt:

schtasks /delete /f /tn audiodg-affinity

The Problem

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.

voicemeeter-auto-affinity's People

Contributors

anderconsu avatar gobidev avatar itslightmind avatar syserr0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

voicemeeter-auto-affinity's Issues

This made crackling worse for me

This seems to set the affinity to only core 0 but that's an SMT/HT thread for me, and I need more than one core selected as my 1950x doesn't have very high single-core performance. Using process lasso with Disable SMT and manually disabling the last 8 cores on the secondary cpu package and setting process priority to high solved it for me.

not working

After installing, I tried to run set-audiodg-affinity.vbs to see if it's going to work. but it didn't
image

V2

I downloaded v2 and after install and reboot it does not show affinity set to 1 cpu it has all selected still. Not sure if its my machine or the bat file. Installed as admi as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.