How can i record only specific tracks of my interface with sox rec

0

i used this to try to record 2 channels from my behringer x32 via usb.

AUDIODEV="hw:XUSB,0" rec -q --buffer 262144 -c 2 -C 256 $FILENAME silence 1 0.1 2% 1 3:00 2% gain -9

I get the following error:

rec WARN alsa: can't encode 0-bit Unknown or not applicable
rec WARN alsa: can't encode 16-bit Signed Integer PCM
rec WARN formats: can't set 2 channels; using 32

How can i tell rec to record only channels 1&2 or 7&8 of my interface?

nurx

Posted 2020-01-05T17:03:28.357

Reputation: 51

Is this question too complicatet or just not understandable? – nurx – 2020-01-07T15:50:08.680

Maybe i have to create an .asoundrc file and a virtual device that contains only those channels? OMG thats sooooo complicated! – nurx – 2020-01-08T17:36:12.037

No answers