[plug] Modifying audio devices volume by channel

James Henstridge james at jamesh.id.au
Thu Oct 23 19:39:48 UTC 2014


On Thu, Oct 23, 2014 at 2:36 AM, Luke John <email at lukejohn.me> wrote:
> Dear Pluggers,
>
> Does anyone know if any of the common command line audio
> tools to modify an audio sinks volume by channel?
>
> I've found a patch for pactl that adds the feature but I would prefer
> to use something that is standard on most machines.

amixer should do what you're after.  Pulse Audio is exposed as an ALSA
device, so standard tools like this should do what you're after.

For example, you can list the controls with "amixer scontrols".  You
can get the value of a particular control with e.g. "amixer sget
Mic,0", and change the value with "amixer sset Mic,0 value".

James.


More information about the plug mailing list