Last active
October 16, 2017 16:33
-
-
Save paincompiler/56adb36fd646d8c84f57 to your computer and use it in GitHub Desktop.
control OS X microphone input volume
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osascript -e "set volume input volume 100" | |
# Check every minute for mic input < 100%; if it is, dial it up elegantly | |
* * * * * while (( `osascript -e "input volume of (get volume settings)"` < 100 )); do osascript -e "set volume input volume (input volume of (get volume settings) + 3)"; sleep 0.1; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment