I want to write a program that uses shell commands to make changes to audio such as:
pactl set-sink-volume 0 +10%
As I need it during my podcast I want to be able to quickly interact with it via GUI and also use the keyboard to activate functions. Which language would you suggest for programming it? My first guess would be C++ and QT but maybe there are better options.
system
, 2nd usecheck_call
), but you can do directly a script if there is nothing more than using shell command; also, don't forget that you can optimize a lot your code with C++ – damadam Nov 07 '19 at 11:46pavucontrol
application? It might already provide all features you need. For the rest, I'd personally just use simple bash scripts too and either call them with keyboard shortcuts or make e.g. a .desktop launcher for them. You can also write simple dialog windows with help of e.g.zenity
. – Byte Commander Nov 07 '19 at 12:34