Last active
October 21, 2020 19:37
-
-
Save akhepcat/e4158d317a1dc5012ca5d710356d0c98 to your computer and use it in GitHub Desktop.
Linux PulseAudio config for split audio channel routing
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
#!/usr/bin/pulseaudio -nF | |
.include /etc/pulse/default.pa | |
# Set up some mono-single-channel maps | |
load-module module-remap-sink sink_name=Left-to-Mono sink_properties="device.description='Stereo-to-Left-Only'" master=combined channels=2 master_channel_map=left,left channel_map=left,left | |
load-module module-remap-sink sink_name=Right-to-Mono sink_properties="device.description='Stereo-to-Right-Only'" master=combined channels=2 master_channel_map=right,right channel_map=right,right | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put the contents of this file in ${HOME}/.config/pulse/default.pa
You can then use the 'Applications' side of the mixer, right-click in the application hamburger menu there,
and assign the output to either Left or Right channel.
Also, you can use 'pactl' and add those two lines 'live' so there's no need to logout-login to get these running the first time.