Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popping sound after idle #23

Open
alxgarza opened this issue Oct 26, 2015 · 6 comments
Open

Popping sound after idle #23

alxgarza opened this issue Oct 26, 2015 · 6 comments

Comments

@alxgarza
Copy link

I am getting a popping sound after a while of no audio playing.

I tried adding AFGLowPowerState false in clover with no luck.

Is their a way to get rid of the popping?

Thanks!

@TheRealMaN
Copy link

I have the same problem

@alxgarza
Copy link
Author

I installed antipop. Had to modified it since it was not working. But I would prefer a simpler solution.

@TheRealMaN
Copy link

can you share the modified version of antipop?

@alxgarza
Copy link
Author

What I did was install antipop. Then I erased all his script and just added:

#!/bin/bash
say " " -a 88
sleep 10

I erased all his script since it was checking laptop parameters which I do not use.

@TheRealMaN
Copy link

ok) where the script locates?

@thislg
Copy link

thislg commented Dec 17, 2015

Antipop is basically running say " " once in a while to prevent the audio from sleeping. If you want to do it yourself you can use launchd. In your user home /Users/YOURUSERNAME/Library/LaunchAgents add a file named local.nosoundpop.plist containing this :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Disabled</key>
    <false/>
    <key>Label</key>
    <string>local.nosoundpop</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/say</string>
        <string> </string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StartInterval</key>
    <integer>10</integer>
</dict>
</plist>

It runs say " " once every 10 seconds when YOURUSERNAME is logged in.
This solution works well but it is not really fixing the issue which is the audio going to standby mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants