Skip to content

Instantly share code, notes, and snippets.

@akhepcat
Last active October 21, 2020 19:37
Show Gist options
  • Save akhepcat/e4158d317a1dc5012ca5d710356d0c98 to your computer and use it in GitHub Desktop.
Save akhepcat/e4158d317a1dc5012ca5d710356d0c98 to your computer and use it in GitHub Desktop.
Linux PulseAudio config for split audio channel routing
#!/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
@akhepcat
Copy link
Author

akhepcat commented Oct 21, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment