Well, thanks to mattia's answer, I found that there is a difference between sinks
and sources
. A sink is an output, a source is an input. First, I ran pacmd list-sources
and found the line channel map: front-left,front-right
. These are the inputs I am trying to separate. I then formed this line to put in /etc/pulse/defaults.pa
:
load-module module-remap-source source_name=2i2_Left_Mic source_properties="device.description='2i2 Left In'" master=alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y8J9ZC3950FFF9-00.analog-stereo master_channel_map=front-left channel_map=front-left
The master
value came from pacmd list-sources
, and the channel maps at the end are the what make this work. I am taking the physical left from the input, and mapping it to the virtual left for my reamp source. Here is what the line for the other side looks like:
load-module module-remap-source source_name=2i2_Right_Mic source_properties="device.description='2i2 Right In'" master=alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y8J9ZC3950FFF9-00.analog-stereo master_channel_map=front-right channel_map=front-right
You can also attach this source to your running sound server without changing /etc/pulse/defaults.pa
by using pactl load-module
, in which case you'll need to escape the spaces in the description with literal backslashes like '"foo\ bar"'
(looks wrong but works, and avoids a cryptic "Failure: Module initialization failed" error):
pactl load-module module-remap-source \
master=alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y78PVD021E19F4-00.analog-stereo \
source_name=Scarlett_Left_Mic \
source_properties=device.description='"Scarlett\ Solo\ Left\ Mic"' \
channels=1 \
master_channel_map=front-left \
channel_map=mono \
;