Since upgrading to OS Sierra on my iMac, I had noticed a horrible buzzing noise coming from my external desktop speakers. The pop would occur after a short timeout and seemed to indicate that sierra had put the audio driver to sleep, leaving no output to the external speakers. The initial switching off of the speakers would cause the pop and then the speakers would buzz until a system sound woke up the audio driver & played a sound.
This hissing & buzzing of the external iMac speakers was driving me mad. A few years ago I remember a fix called Antipop which was a small Daemon which would play a system narration consisting of no actual sound, but enough to keep the sound driver from sleeping.
Antipop has not been updated for years & didn’t seem to work with El Capitan & Sierra, so I decided to make a quick fix using the same kind of empty narration speech and Sierra Launch Control. This fix will persist after sleeping the system & also after a reboot. On my system it has eradicated the annoying pop of the driver going to sleep & also stopped the speakers buzzing by maintaining power through the aux cable and my externally powered & amplified speakers.
- Open Terminal and use nano to create our plist file for launchctl using the following terminal command:
sudo nano /Library/LaunchDaemons/com.antipop.plist
- Paste the following text into terminal (nano) using ctrl + v
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd“>
<string>while true; do say ‘ ‘; sleep 10; done</string>
- Press ctrl + o to save the file and hit enter to confirm.
- Exit nano with ctrl + x
- To start the plist and set it as a persistent service use the following command in terminal
sudo launchctl load /Library/LaunchDaemons/com.antipop.plist
Those few simple steps will give you a pop around 10 seconds after running the last terminal command, after that you should find that your external speakers no longer pop & because the driver won’t go to sleep you wont get the buzzing & hissing on your external monitor speakers.
I hope this helps, please do let me know how you get on. This was put together using research from around the internet & by looking into how antipop used to work.
If you want to revert the changes you made, simply unload the plist from launchctl using the following command in terminal:
sudo launchctl unload /Library/LaunchDaemons/com.antipop.plist