Zardiw
Posts: 3
Joined: Sat Jan 26, 2019 1:53 pm

Microphone on USB and Speakers on 3.5mm Jack onboard

Sun Aug 11, 2019 12:46 am

Trying to have the speakers on the 3.5m plug on the board, and use the USB Card for the microphone.

Don't know if that's even possible.

Could use some help.

Have tried a LOT of different settings .....looked at a LOT of posts. Most of em are old though.

Current Values:

===========
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

.asoundrc file:

pcm.!default {
type hw
slave {
pcm "hw:0,0"
}
}

ctl.!default {
type hw
card 0
}


pcm.!default {
type hw
card 0
}

ctl.!default {
type hw
card 0
}

Some lines from alsa.conf

#
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000 # in us
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio

===========



Thanks in advance for any help with this

z

Zardiw
Posts: 3
Joined: Sat Jan 26, 2019 1:53 pm

Re: Microphone on USB and Speakers on 3.5mm Jack onboard

Sun Aug 11, 2019 7:09 pm

Why is simple stuff like this so hard to do on a Raspberry...........lol

User avatar
Sonic_Fox
Posts: 6
Joined: Thu Aug 01, 2019 8:30 am

Re: Microphone on USB and Speakers on 3.5mm Jack onboard

Tue Aug 13, 2019 5:47 am

i am interested in the answer too.
But i want to use bluetooth speaker with usb mic.
But they are on different sound cards.
Both are working. But default can be only one card.
So how to make default output one card and default mic the other?

User avatar
Sonic_Fox
Posts: 6
Joined: Thu Aug 01, 2019 8:30 am

Re: Microphone on USB and Speakers on 3.5mm Jack onboard

Tue Aug 13, 2019 7:25 am

try this: pcm.!default { type asym playback.pcm "plughw:0" capture.pcm "plughw:1" }
from this source:
https://raspberrypi.stackexchange.com/q ... rent-cards

Return to “General discussion”