#Pulseaudio volume control command line software
![pulseaudio volume control command line pulseaudio volume control command line](https://i.stack.imgur.com/5M9Uy.png)
If your sound card can't control the volume on the hardware side or the driverĭoesn't support this feature of your sound card, a possible workaround is toĭefine a new virtual pcm device in the ~/.asoundrc file, which controls the volumeįirst we need to know the name of our soundcard, thus aplay -L (PulseAudio JACK Source is only used for microphones and won't play back the input.) Or alternatively, is there a way to add a PulseAudio input module to the right side of the JACK connections to connect Reaper and all other JACK software and route them through the PulseAudio JACK Sink? Is there any way to control the JACK Output volume via terminal that I could replace my mouse button commands with? Unfortunately, I can not control my ALSA master volume via amixer -q sset Master X, because ALSA does not offer any controls for my only USB sound card.
![pulseaudio volume control command line pulseaudio volume control command line](https://lh5.googleusercontent.com/---4u0K7RKJI/UvqIg4AuM4I/AAAAAAAAALs/vHvX5Jc0oHM/w540-h810-no/PaWebControl.png)
If you refer to the screenshot: I am able to manipulate the master volume of the red-marked output (PulseAudio JACK Sink), but I actually need to access the one marked green to control all sound (system out). The problem is that I use some programs that have a direct JACK output, such as Reaper, my DAW, and also some media players.Īs long as the software uses the PulseAudio JACK Sink output, I can control the output volume via mouse wheel, but when the software does not use PulseAudio, it is directly connected to JACK and always at max volume.
![pulseaudio volume control command line pulseaudio volume control command line](https://docs.huihoo.com/audacity/2.0.3/m/images/1/1b/pavucontrol_capturemonitor.png)
Being a musician, I use Ubuntu for software monitoring and I would like to control my output master volume with my mouse wheel.įor this purpose, I currently use EasyStroke with the commands amixer -D pulse sset Master 5%+ (Mouse wheel up) and amixer -D pulse sset Master 5%- (Mouse wheel down), which works fine.