Record sound card output

March 10, 2017
Original ICON Utrack Satellite

I am trying to capture sound card output and encode it in Vorbis ogg format using the following command:

arecord -f cd -t raw | oggenc - -r -o file.ogg

However, the computer's microphone input is recorded rather than the sound card output.

The output of the command arecord -l is

**** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0

The output of the command arecord -L is contained in this pastebin entry.

The arecord man page indicates that the input device can be selected using the -D flag, but gives no syntactical examples.

I would like to know how to change the input for arecord from the microphone to the sound card. I am not interested in GUI-based alternatives such as Audacity. Thanks.

Edit: I am running Debian 7.0 (stable) with arecord version 1.0.25, vorbis-tools version 1.4.0, and ALSA driver version 1.0.24.

YOU MIGHT ALSO LIKE
HOW TO USE TASCAM SOUND CARD
HOW TO USE TASCAM SOUND CARD
Headphone Output/STEREO MIX To MIC Input For Recording
Headphone Output/STEREO MIX To MIC Input For Recording
What Is a Sound Card? - Definition, Function & Types
What Is a Sound Card? - Definition, Function & Types
Share this Post