How to use mic-to-USB sound card in Xenial64? (Solved)

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
number77
Posts: 804
Joined: Fri 22 Oct 2010, 19:30

How to use mic-to-USB sound card in Xenial64? (Solved)

#1 Post by number77 »

I am running xenial64 on a vostro 1320. I run the USB audio output from the laptop to a USB DAC and into my amplifier.
The problem comes when I try to play an MP3 player audiobook to the mic input of the laptop. If I enable mic input in retrovol, it plays through the laptop speakers using the internal sound card but nothing using external DAC sound card.
Is there any way to play the MP3 using DAC sound card.
PS I don't have any spare audio inputs to the amplifier.
Thanks
number77

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Read here.

number77
Posts: 804
Joined: Fri 22 Oct 2010, 19:30

#3 Post by number77 »

rcrsn51 wrote:Read here.
Thanks that seems the area.
Is there a way I can select the recording device and the output device from terminal. I can list both with aplay -l and arecord -l but how to select them.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#4 Post by rcrsn51 »

You select them by building the ALSA config file /root/.asoundrc as described in the post.

number77
Posts: 804
Joined: Fri 22 Oct 2010, 19:30

#5 Post by number77 »

My terminal skills are improving but basic
root# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: 92HD81B1C5 Analog [92HD81B1C5 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

and
root# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: 92HD81B1C5 Analog [92HD81B1C5 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: pcsp [pcsp], device 0: pcspeaker [pcsp]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: DAC [USB AUDIO DAC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

And I can start a .asoundrc in root but what to write for card 0 for input and
card 2: DAC as output

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

Delete that .asoundrc file.

I messed around and got the following to work:

1. Card 0 is the internal sound card.
2. A cassette player has its audio output connected to the Mic input of Card 0 with a 3.5mm male-male cable.
3. UNmute the Card 0 Mic input in Alsamixer.
4. Card 2 is a USB sound card adapter.
5. Its output is connected to some headphones
6. From the terminal, run

Code: Select all

arecord -f cd | aplay -f cd -D hw:2,0
7. Play a cassette. The audio comes out the headphones.
Last edited by rcrsn51 on Tue 03 Mar 2020, 18:02, edited 1 time in total.

number77
Posts: 804
Joined: Fri 22 Oct 2010, 19:30

#7 Post by number77 »

Yes that plays from the USB DAC so I will load that whenever I listen to an audio book. I wont make it permanent as I mainly play from internal files.
Thanks for spending the time.
number77

Post Reply