Created
June 16, 2020 12:56
-
-
Save alexlopes/e200d6baee8183820413f948c13f04f9 to your computer and use it in GitHub Desktop.
Mac Os Low Volume - Keep Input Volume Mic under 50 %
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
# thanks to https://apple.stackexchange.com/a/236425/379437 | |
#!/bin/bash | |
while true ; do | |
while (( `osascript -e "input volume of (get volume settings)"` > 50 )); do | |
osascript -e "set volume input volume (input volume of (get volume settings) - 2)"; | |
sleep 0.01; | |
done; | |
sleep 1; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment