Last active
March 26, 2017 18:54
-
-
Save lpenz/218b6efc05689ec73446fb223b518d07 to your computer and use it in GitHub Desktop.
Join audio sink channels into a single mono channel, for stereo audio files with sound in only a channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e -x | |
pacmd load-module module-remap-sink sink_name=mono master=$(pacmd list-sinks | grep -m 1 -oP 'name:\s<\K.*(?=>)') channels=2 channel_map=mono,mono |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment