mic volume auto adjusting ubuntu code example
Example: microphone auto adjusting ubuntu
while sleep 0.1; do pacmd set-source-volume alsa_input.???-?????.analog-stereo 90000; done
Note that 65535 corresponds to 100%, so 90000 is about 135%. The name of the device (alsa_input.???-?????.analog-stereo) should be substituted with whatever you find by running pacmd list-sources | grep name: