Ubuntu: Best way to set microphone volume by command line

I have tried:

aumix -i 100

However that only seems to get me to about 3/4 of the maximum volume when I look at the change in the Sound Preferences panel.

Here is a screenshot of Sound Preferences panel with unexpected microphone volume:

enter image description here

I am using Xubuntu 9.10.


Solution 1:

Try:

amixer set Capture 5%+
amixer set Capture 5%-

to increase or decrease the mic volume.

Solution 2:

You could try alsamixer. It's a simple CLI mixer for Alsa.