control OS X microphone input volume
This file contains 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