Score:1

Split multi-input USB audio interface (Focusrite Vocaster One) with pulseaudio

br flag

I have a Focusrite Vocaster One USB audio interface that I operate with an XLR microphone on my Ubuntu 22.04. It pops up as a Microphone input with the name "Vocaster One USB Multichannel".

What I noticed was that in web conferences, my audio interface would output sounds from PC audio even though the microphone was muted through the hardware button. It seems the default channel used for input is the mixing channel for recording, which contains both the XLR input and the loopback from the computer audio.

How can I select the individual inputs with pulseaudio which doesn't include the mix?

Score:1
br flag

The pulseaudio configuration allows to remap partial sources of the multi-input device, however the exact channel used for different functions is guesswork. It's not entirely clear to me what values the master_channel_map can receive, but I had success in selecting front-center which gives me the mic input without any mixes, and hardware mute button correctly silences everything.

First, find out the device name of the multinput audio interface:

$ pacmd list-sources | grep name:
    name: <alsa_output.usb-Focusrite_Vocaster_One_USB_V1AR19B2601E24-00.analog-surround-40.monitor>
    name: <alsa_input.usb-Focusrite_Vocaster_One_USB_V1AR19B2601E24-00.multichannel-input>

In my case, the master name is alsa_input.usb-Focusrite_Vocaster_One_USB_V1AR19B2601E24-00.multichannel-input

Then add this line to the /etc/pulse/default.pa at the bottom:

load-module module-remap-source source_name=vocaster-mic source_properties=device.description=Vocaster master=alsa_input.usb-Focusrite_Vocaster_One_USB_V1AR19B2601E24-00.multichannel-input remix=no channels=1 master_channel_map=front-center channel_map=mono

This adds a new input called "Vocaster" with the front-center channel of the multi-input device.

Optionally, mark this device as the default so you don't have to switch on boot time:

set-default-sink alsa_output.usb-Focusrite_Vocaster_One_USB_V1AR19B2601E24-00.analog-surround-40.monitor
set-default-source vocaster-mic

Afterward, restart or use pulseaudio -k to kill the previous pulseaudio daemon. Note that doing this breaks audio in apps until they are restarted.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.