diff --git a/staticmic.sh b/staticmic.sh index 7ce1179..65fefca 100755 --- a/staticmic.sh +++ b/staticmic.sh @@ -2,7 +2,10 @@ # Run the following command to find your input device # $ pacmd list-sources | grep name -INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo 50000" -while sleep 0.1;do +LEVELS="40000" +INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo ${LEVELS}" + +echo "Keeping Mic Level Static" +while sleep 0.1;do pacmd set-source-volume ${INPUTDEVICE} done