Check out Programming /dev/mixer.
In reply to Re: Changing volume in Linux with Perl? by eg in thread Changing volume in Linux with Perl? by PipTigger