alsac Command Line Sound Controller

less than 1 minute read

When i’ve installed ubuntu with openbox window manager, there were no task bars and no menus. that was a problem for me to control the sound using command line.

alsac To solve this i wrote some lines quickly to create a simple and easy command line tool allows me to control sound volume.

alsac works only with alsa devices and tested only on Ubuntu 12.10, based on alsa command and its parmeters.


curl | sh 


$ alsac [-|+] [value]
$ alsac [value] 
$ alsac [mute | unmute]



  • alsac - 10 : decrease sound of 10%

  • alsac + 18 : increase sound of 18%

  • alsac 45 : set sound to 45%

  • alsac mute : mute sound

  • alsac unmute: unmute sound

Github page:

Leave a comment