Author Topic: Request: a command to change sound volume  (Read 352 times)

aha

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Request: a command to change sound volume
« Reply #15 on: November 29, 2018, 09:22:55 AM »
The original request was about a cli command, which I'll try to make. If somebody else wants to create a GUI for it, they can.
Great!
Thank you both! I am looking forward for it!

paolone

  • Junior Member
  • **
  • Posts: 71
    • View Profile
Re: Request: a command to change sound volume
« Reply #16 on: November 29, 2018, 03:28:59 PM »
The original request was about a cli command, which I'll try to make. If somebody else wants to create a GUI for it, they can.
What do you think about this one? :-)

It will basically work like this:

1. at the beginning, it will launch your command without values, to get the current volume (a numeric value between 0 and 100)
2. the knob in the slide will move accordingly
3. if I tick Mute, your command with the 0 value will be shot immediately
4. if Unmute, your command with the initial value will be shot
5. when exiting the value in the knob will be applied

The "AHI Mixer" button already opens prefs/AHI, this will let user do the fine tuning without opening Prefs every time. I will have to manage things in a way that exiting it won't change volume in this case, if necessary.