Tag Info

New answers tagged


So, I found a solution. Turns out that if I run the media via two separate processes (i.e. "play a.mp3 &; play b.mp3") then pavucontrol will allow my to control their volume separately. I can unlock the channels, set one to 0% left, the other to 0% right, and this will work. However, I feel like this doesn't quite answer the question - it works for my ...


With sox(Sound eXchange); if you have two files with similar bitrates or already set to one channel: play -M A.mp3 B.mp3 Otherwise: play -m "|sox A.mp3 -p remix 0 1-2" "|sox B.mp3 -p remix 1-2 0" What this does is simply play the output of two sox commands which output to pipe(-p); the first one remixes L/R to R and the second remixes L/R to L. If ...


The hints in @derobert and @Graeme's comments are helpful, but the output format is inconvenient, so I wrote a parser to transform it to 0 Name 0.0, which is easier to parse. While doing so, I also added a helper to change the volume easily. It's possible to embed this into a loop and to do whatever you want. This is in the Nim language. import osproc, ...


I found a simple solution to this issue. I simple installed the pavucontrol package. Once I rebooted, the microphone was enabled by default.


for getting a volume I'm trying this one: echo `(pactl list sinks | grep "Volume: 0:")| awk '{print $3}'`


I believe the command is pacmd. EDIT: If you go to: /usr/share/pulseaudio/alsa-mixer/profile-sets You will find a number of configuration files. You may want to try editing default.conf.


https://wiki.archlinux.org/index.php/PulseAudio#Per-application_volumes_change_when_the_Master_volume_is_adjusted It's a pulseaudio default setting to link all the volumes together. Setting flat-volumes = no in /etc/pulse/daemon.conf should fix that!

Top 50 recent answers are included