How to capture sound with selected channels on scarlett 4i4?
Hello together,
I am starting to understand basics in ALSA and already managed to setup the most with the help of entries in this forum or other sources. One task still remains unsolved which is to record only with selected channels using the focusrite scarlett 4i4. I've connected the interface to a raspberry pi which has the latest release of debian bookworm installed. The problem I am facing is that I want to record only one specific channel or multiple specific channels (for example only channel 4 or only channel 2 and 4. The question is how do I do that. Right I am selecting channels by just recording with up to 4 channels:
Code: Select all
arecord -D plughw:CARD=3,DEV=0,SUBDEV=0 -f S32_LE -r 48000 -d 10 -c 4 testrecord_c4.wavWhat I rather would want to do is:
Code: Select all
arecord -D plughw:CARD=3,DEV=0,SUBDEV=3 -f S32_LE -r 48000 -d 10 -c 1 testrecord_ch4.wavor for multiple channels:
Code: Select all
arecord -D plughw:CARD=3,DEV=0,SUBDEV=[1,3] -f S32_LE -r 48000 -d 10 -c 1 testrecord_ch4.wavThe problem is that my interface is only recognized with one device and one subdevice:
Code: Select all
~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 3: USB [Scarlett 4i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0and
Code: Select all
~ $ arecord -L
... (other cards) ...
hw:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Direct hardware device without any conversions
plughw:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Hardware device with all software conversions
sysdefault:CARD=USB
Scarlett 4i4 USB, USB Audio
Default Audio Device
front:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Front output / input
dsnoop:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Direct sample snooping device
usbstream:CARD=USB
Scarlett 4i4 USB
USB Stream OutputMaybe someone knows, how to record like this? Would be a big help. Thanks in advance!
If I just didn't manage to find an entry related to this please just post the link and I'll delete this post rightaway.