Skip to content

A simple console based ALSA volume control with mouse support

Notifications You must be signed in to change notification settings

adamdruppe/volume-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This is a practical example of how to use terminal.d and simpleaudio.d's mixer
combined with eventloop.d's functionality.

Get those three files here: https://github.com/adamdruppe/arsd

Then you can compile and run this in a linux terminal. The controls are similar
to alsamixer, with the addition of mouse wheel support.

It doesn't look like much right now. I might spruce up the graphics but really,
all I wanted was mouse wheel support. I might also add a notification area icon
to the gui with wheel support at some point too, idk.

This is not a substitute for alsamixer in all cases, just in the specific case
I wanted mouse wheel support for. Newer versions of alsamixer scale the numbers
differently than my program (and older versions of alsamixer) too, but the same
range is available.

I suggest you keep alsamixer around to fill in the gaps, or if you want to extend
this program, you could. In simpleaudio.d, I hardcoded the "Master" element but if
you extend that with a query loop or whatever you could do it all.

About

A simple console based ALSA volume control with mouse support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published