Adding a microphone - question - Raspberry Pi Forums


since pi doesn't support microphone input, i've attempted add small usb sound card fix problem.
card seen my
linux pi 3.6.11+ #474 preempt thu jun 13 17:14:42 bst 2013 armv6l gnu/linux
kernel , dmesg reports this:
[19591.036582] hid-generic 0003:04d9:1503.000d: input,hidraw2: usb hid v1.10 device [ usb keyboard] on usb-bcm2708_usb-1.3.4/input1
[19591.967838] usb 1-1.3.1: new full-speed usb device number 14 using dwc_otg
[19592.078669] usb 1-1.3.1: new usb device found, idvendor=1130, idproduct=f211
[19592.078700] usb 1-1.3.1: new usb device strings: mfr=0, product=2, serialnumber=0
[19592.078717] usb 1-1.3.1: product: usb audio
[19592.091217] usbmixer: volume control quirk tenx tp6911 audio headset
[19592.091277] usbmixer: volume control quirk tenx tp6911 audio headset
[19592.099032] input: usb audio /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.3/input/input13
[19592.102416] hid-generic 0003:1130:f211.000e: input,hidraw3: usb hid v1.10 device [usb audio ] on usb-bcm2708_usb-1.3.1/input3
[19592.106879] input: usb audio /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.4/input/input14
[19592.108899] hid-generic 0003:1130:f211.000f: input,hidraw4: usb hid v1.10 device [usb audio ] on usb-bcm2708_usb-1.3.1/input4


when in /dev/snd have following entries:
pi-root: ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 60 jul 24 15:46 by-id
drwxr-xr-x 2 root root 80 jul 24 15:46 by-path
crw-rw---t+ 1 root audio 116, 0 jul 24 10:17 controlc0
crw-rw---t 1 root audio 116, 32 jul 24 15:46 controlc1
crw-rw---t+ 1 root audio 116, 16 jul 24 15:55 pcmc0d0p
crw-rw---t 1 root audio 116, 56 jul 24 15:46 pcmc1d0c
crw-rw---t 1 root audio 116, 48 jul 24 15:46 pcmc1d0p
crw-rw---t+ 1 root audio 116, 1 jul 24 10:17 seq
crw-rw---t+ 1 root audio 116, 33 jul 24 10:17 timer


aplay -l tells me this:
aplay -l
**** list of playback hardware devices ****
card 0: alsa [bcm2835 alsa], device 0: bcm2835 alsa [bcm2835 alsa]
subdevices: 7/8
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
subdevice #7: subdevice #7
card 1: audio [usb audio], device 0: usb audio [usb audio]
subdevices: 1/1
subdevice #0: subdevice #0


, following pcms reported:
pi-root: aplay -l
null
discard samples (playback) or generate 0 samples (capture)
pulse
pulseaudio sound server
default:card=alsa
bcm2835 alsa, bcm2835 alsa
default audio device
sysdefault:card=alsa
bcm2835 alsa, bcm2835 alsa
default audio device
default:card=audio
usb audio, usb audio
default audio device
sysdefault:card=audio
usb audio, usb audio
default audio device
front:card=audio,dev=0
usb audio, usb audio
front speakers
surround40:card=audio,dev=0
usb audio, usb audio
4.0 surround output front , rear speakers
surround41:card=audio,dev=0
usb audio, usb audio
4.1 surround output front, rear , subwoofer speakers
surround50:card=audio,dev=0
usb audio, usb audio
5.0 surround output front, center , rear speakers
surround51:card=audio,dev=0
usb audio, usb audio
5.1 surround output front, center, rear , subwoofer speakers
surround71:card=audio,dev=0
usb audio, usb audio
7.1 surround output front, center, side, rear , woofer speakers
iec958:card=audio,dev=0
usb audio, usb audio
iec958 (s/pdif) digital audio output


question is: tell sox use input device?

this pure speculation on part. :)

if:
"aplay -l tells me this:
aplay -l
**** list of playback hardware devices ****"

'arecord -l' , 'arecord -l' give info on input/recording devices?


raspberrypi



Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial