Skip to content

Instantly share code, notes, and snippets.

@lpenz lpenz/pa-monofy-stereo
Last active Mar 26, 2017

Embed
What would you like to do?
Join audio sink channels into a single mono channel, for stereo audio files with sound in only a channel
#!/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
You can’t perform that action at this time.