How to record audio from Microphone?

1,196 views
Skip to first unread message
Message has been deleted

Ivan Getta

unread,
Dec 10, 2010, 12:47:43 PM12/10/10
to pandaboard
Hi guys,

As I know from FAQ, we have low gain and only one channel available
for the microphone audio input (top connector) on Pandaboard. But I
still can't get sound from the microphone input. I tried on two panda
boards, revision 750-2152-002 (D1).

My source for the sound recording is microphone on a headset connected
to Panda board using "Audio In/Out" 3.5 MM jacks (assumed bottom
connector as audio output and top as input). Headset model is "Sven
GD-900 stereo headphones".

I am running Ubuntu, daily build from 6th December 2010, downloaded
from here: http://cdimage.ubuntu.com/ubuntu-netbook/daily-preinstalled/current

My kernel is (L24.10?) 2.6.35-903-omap4 (buildd@cushaw) (gcc version
4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)) #17-Ubuntu SMP PREEMPT Tue Oct
26 18:12:00 UTC 2010 (Ubuntu 2.6.35-903.17-omap4 2.6.35.3).

I use basic ALSA utilites to record and test the sound:
arecord -Dplughw:0,0 recordtest00.wav
arecord -Dplughw:0,1 recordtest01.wav
arecord -Dplughw:0,2 recordtest02.wav
arecord -Dplughw:0,5 recordtest05.wav
arecord -Dplughw:0,8 recordtest08.wav
aplay -Dplughw:0,0 recordtest00.wav
aplay -Dplughw:0,0 recordtest01.wav
aplay -Dplughw:0,0 recordtest02.wav
aplay -Dplughw:0,0 recordtest05.wav
aplay -Dplughw:0,0 recordtest08.wav

And I was able to get only low noise from microphone (audio output
work fine (I can play & hear music in my headphones)).

I run alsamixer utility and enabled all recoding channels, all gain
levels up, etc. But it didn't help.


Please, can you give an advice how exactly I need to configure my ALSA
settings to get an audible signal from the microphone connected to
Panda?


Thanks & Regards,
-Ivan


p.s. Here more details on my current configuration:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SDP4430 [SDP4430], device 0: Multimedia null-codec-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 2: Voice null-codec-dai-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 3: Tone Playback null-codec-dai-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 4: VIB-DL null-codec-dai-4 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 5: MODEM null-codec-dai-5 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 6: Multimedia null-codec-dai-6 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 7: HDMI HDMI-7 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 8: Multimedia FM Digital-8 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 9: Headset Playback twl6040-dl1-9 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 11: HS Playback twl6040-dl1-11 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 13: HF Playback twl6040-dl2-13 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 14: Vibra twl6040-vib-14 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 15: BT Bluetooth-15 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 16: FM FM Digital-16 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 17: MODEM MODEM-17 []
Subdevices: 1/1
Subdevice #0: subdevice #0


# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: SDP4430 [SDP4430], device 0: Multimedia null-codec-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 1: Multimedia Capture null-codec-
dai-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 2: Voice null-codec-dai-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 5: MODEM null-codec-dai-5 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 8: Multimedia FM Digital-8 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 10: DMIC Capture dmic-hifi-10 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 12: Analog Capture twl6040-ul-12 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 15: BT Bluetooth-15 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 16: FM FM Digital-16 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 17: MODEM MODEM-17 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 18: DMIC0 dmic-hifi-18 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 19: DMIC1 dmic-hifi-19 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SDP4430 [SDP4430], device 20: DMIC2 dmic-hifi-20 []
Subdevices: 1/1
Subdevice #0: subdevice #0


# amixer contents -c0
numid=61,iface=MIXER,name='Aux FM Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=11,1
| dBscale-min=18.00dB,step=6.00dB,mute=0
numid=35,iface=MIXER,name='Capture Mixer Media Playback'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=32,iface=MIXER,name='Capture Mixer Tones'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=34,iface=MIXER,name='Capture Mixer Voice Capture'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=33,iface=MIXER,name='Capture Mixer Voice Playback'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=59,iface=MIXER,name='Capture Preamplifier Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=1,step=0
: values=1,1
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=60,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=4,step=0
: values=0,0
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=22,iface=MIXER,name='AMIC Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'High-pass with 20kHz cut-off frequency. Gain = 1'
; Item #1 'High-pass with 20kHz cut-off frequency. Gain = 0.25'
; Item #2 'High-pass with 20kHz cut-off frequency. Gain = 0.125'
: values=0
numid=26,iface=MIXER,name='AMIC_UL MM_EXT Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=25,iface=MIXER,name='AMIC_UL PDM Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=13,iface=MIXER,name='AUDUL Media Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=14,iface=MIXER,name='AUDUL Tones Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=16,iface=MIXER,name='AUDUL Voice DL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=15,iface=MIXER,name='AUDUL Voice UL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=120
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=71,iface=MIXER,name='Analog Left Capture Route'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Headset Mic'
; Item #1 'Main Mic'
; Item #2 'Aux/FM Left'
; Item #3 'Off'
: values=3
numid=70,iface=MIXER,name='Analog Right Capture Route'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Headset Mic'
; Item #1 'Sub Mic'
; Item #2 'Aux/FM Right'
; Item #3 'Off'
: values=3
numid=28,iface=MIXER,name='DL1 BT_VX Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=4,iface=MIXER,name='DL1 Capture Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=19,iface=MIXER,name='DL1 Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Flat response. Gain = 1'
; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
: values=0
numid=27,iface=MIXER,name='DL1 MM_EXT Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=1,iface=MIXER,name='DL1 Media Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=45,iface=MIXER,name='DL1 Mixer Capture'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=46,iface=MIXER,name='DL1 Mixer Multimedia'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=43,iface=MIXER,name='DL1 Mixer Tones'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=44,iface=MIXER,name='DL1 Mixer Voice'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=29,iface=MIXER,name='DL1 PDM Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=2,iface=MIXER,name='DL1 Tones Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=3,iface=MIXER,name='DL1 Voice Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=8,iface=MIXER,name='DL2 Capture Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=20,iface=MIXER,name='DL2 Left Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Flat response. Gain = 1'
; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
: values=1
numid=5,iface=MIXER,name='DL2 Media Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=41,iface=MIXER,name='DL2 Mixer Capture'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=42,iface=MIXER,name='DL2 Mixer Multimedia'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=39,iface=MIXER,name='DL2 Mixer Tones'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=40,iface=MIXER,name='DL2 Mixer Voice'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=21,iface=MIXER,name='DL2 Right Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Flat response. Gain = 1'
; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
: values=1
numid=6,iface=MIXER,name='DL2 Tones Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=7,iface=MIXER,name='DL2 Voice Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=23,iface=MIXER,name='DMIC Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'High-pass with 20kHz cut-off frequency. Gain = 1'
; Item #1 'High-pass with 20kHz cut-off frequency. Gain = 0.25'
; Item #2 'High-pass with 20kHz cut-off frequency. Gain = 0.125'
: values=0
numid=65,iface=MIXER,name='Earphone Driver Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=64,iface=MIXER,name='Earphone Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=15,step=0
: values=0
| dBscale-min=-24.00dB,step=2.00dB,mute=0
numid=69,iface=MIXER,name='HF Left Playback'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'Off'
; Item #1 'HF DAC'
; Item #2 'Line-In amp'
: values=0
numid=68,iface=MIXER,name='HF Right Playback'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'Off'
; Item #1 'HF DAC'
; Item #2 'Line-In amp'
: values=0
numid=67,iface=MIXER,name='HS Left Playback'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'Off'
; Item #1 'HS DAC'
; Item #2 'Line-In amp'
: values=0
numid=66,iface=MIXER,name='HS Right Playback'
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 'Off'
; Item #1 'HS DAC'
; Item #2 'Line-In amp'
: values=0
numid=63,iface=MIXER,name='Handsfree Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=29,step=0
: values=0,0
| dBscale-min=-52.00dB,step=2.00dB,mute=0
numid=62,iface=MIXER,name='Headset Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=0,0
| dBscale-min=-30.00dB,step=2.00dB,mute=0
numid=58,iface=MIXER,name='MUX_UL00'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=57,iface=MIXER,name='MUX_UL01'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=56,iface=MIXER,name='MUX_UL02'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=55,iface=MIXER,name='MUX_UL03'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=54,iface=MIXER,name='MUX_UL04'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=53,iface=MIXER,name='MUX_UL05'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=52,iface=MIXER,name='MUX_UL06'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=51,iface=MIXER,name='MUX_UL07'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=50,iface=MIXER,name='MUX_UL10'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=49,iface=MIXER,name='MUX_UL11'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=48,iface=MIXER,name='MUX_VX0'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=47,iface=MIXER,name='MUX_VX1'
; type=ENUMERATED,access=rw------,values=1,items=13
; Item #0 'None'
; Item #1 'DMic0L'
; Item #2 'DMic0R'
; Item #3 'DMic1L'
; Item #4 'DMic1R'
; Item #5 'DMic2L'
; Item #6 'DMic2R'
; Item #7 'BT Left'
; Item #8 'BT Right'
; Item #9 'AMic0'
; Item #10 'AMic1'
; Item #11 'VX Left'
; Item #12 'VX Right'
: values=0
numid=18,iface=MIXER,name='SDT DL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=120
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=17,iface=MIXER,name='SDT UL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=24,iface=MIXER,name='Sidetone Equalizer Profile'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'Flat response. Gain = 1'
; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
: values=0
numid=30,iface=MIXER,name='Sidetone Mixer Capture'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=31,iface=MIXER,name='Sidetone Mixer Playback'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=72,iface=MIXER,name='TWL6040 Power Mode'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Low-Power'
; Item #1 'High-Performance'
: values=1
numid=9,iface=MIXER,name='VXREC Media Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=10,iface=MIXER,name='VXREC Tones Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=11,iface=MIXER,name='VXREC Voice DL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=12,iface=MIXER,name='VXREC Voice UL Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
: values=0
| dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=38,iface=MIXER,name='Voice Capture Mixer Capture'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=37,iface=MIXER,name='Voice Capture Mixer Media Playback'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=36,iface=MIXER,name='Voice Capture Mixer Tones Playback'
; type=BOOLEAN,access=rw------,values=1
: values=off

Getta, Ivan

unread,
Dec 16, 2010, 2:51:50 PM12/16/10
to panda...@googlegroups.com

Bercovitz, David

unread,
Dec 17, 2010, 9:10:32 AM12/17/10
to ivan...@ti.com, panda...@googlegroups.com
Ivan,

On the Pandaboard, this is a line-in connector. Use the output of PC for instance to test. The impedance is different from a MIC.
Also, I noticed a few wrong amixer values, please set the following for capture:
	amixer cset name='Analog Right Capture Route' 0
amixer cset name='Analog Left Capture Route' 0
amixer cset name='Capture Preamplifier Volume' 1
amixer cset name='Capture Volume' 4
amixer cset name='MUX_UL00' 10
amixer cset name='MUX_UL01' 9
amixer cset name='MUX_UL10' 10
amixer cset name='MUX_UL11' 9
amixer cset name='AMIC_UL PDM Switch' 1
amixer cset name='MUX_VX0' 10
amixer cset name='MUX_VX1' 9
amixer cset name='Voice Capture Mixer Capture' 1

Regards
David 


2010/12/16 Getta, Ivan <ivan...@ti.com>



--
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920

Bercovitz, David

unread,
May 11, 2011, 4:22:56 AM5/11/11
to Ashwani Kumar, panda...@googlegroups.com
Ashwani, I'm posting your question on the Pandaboard mailing list as I don't know this answer.

Regards
David

2011/5/11 Ashwani Kumar <ash...@gmail.com>
Thanks David.

I tried with iball  microphone but its is not working. may be the gain issue.
does mono mic require preamp?

or any suggested mono mic...



Regards
Ashwani




On Wed, May 11, 2011 at 1:36 PM, Bercovitz, David <d-ber...@ti.com> wrote:
Ashwani, The issue still exists on latest h/w. The only solution is to record in mono and have the cable only wired in mono otherwise the 2 lines will be mixed up.
Regards
David

2011/5/10 Ashwani Kumar <ash...@gmail.com>
I am using
PandaBoard RevA3
Assy: 750-2152-021(A)
S/N: 1311PANDA421

I think that is latest version: http://www.omappedia.org/wiki/PandaBoard_Revisions.

please confirm.

Regards
Ashwani


On Tue, May 10, 2011 at 1:35 PM, Bercovitz, David <d-ber...@ti.com> wrote:
I recall there was an H/W issue recording stereo input: http://omapedia.org/wiki/PandaBoard_Errata
If you are using a more recent revision of the EA1 boards, I'll have to go and check if the H/W has been fixed. Let me know.

Regards
David

2011/5/10 Ashwani Kumar <ash...@gmail.com>
Thanks David for your prompt reply.

My kernel version is "2.6.35-903-omap4"  and filesystem is  "Ubuntu 10.10".

Test Setup:
> I am using the audio output of PC connected to audio input (top connector) on Pandaboard.

> running audio on-the-fly gstreamer pipeline:
gst-launch-0.10  alsasrc  ! audio/x-raw-int, endianness=1234, signed=true, width=16, depth=16, rate=16000, channels=2 !  alsasink

>I am getting distorted sound with high noise.


p.s. Here more details on my current configuration:
ubuntu@ubuntu-desktop:~$ aplay -l
**********************************************************************

ubuntu@ubuntu-desktop:~$ arecord -l
**********************************************************************

ubuntu@ubuntu-desktop:~$ amixer contents -c0
numid=59,iface=MIXER,name='Aux FM Volume'

  ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
  : values=11,0

  | dBscale-min=6.00dB,step=6.00dB,mute=0
numid=33,iface=MIXER,name='Capture Mixer Media Playback'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=30,iface=MIXER,name='Capture Mixer Tones'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=32,iface=MIXER,name='Capture Mixer Voice Capture'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=31,iface=MIXER,name='Capture Mixer Voice Playback'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=57,iface=MIXER,name='Capture Preamplifier Volume'

  ; type=INTEGER,access=rw---R--,values=2,min=0,max=1,step=0
  : values=1,1
  | dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=58,iface=MIXER,name='Capture Volume'

  ; type=INTEGER,access=rw---R--,values=2,min=0,max=4,step=0
  : values=4,4

  | dBscale-min=6.00dB,step=6.00dB,mute=0

numid=22,iface=MIXER,name='AMIC Equalizer Profile'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'High-pass with 20kHz cut-off frequency. Gain = 1'
  ; Item #1 'High-pass with 20kHz cut-off frequency. Gain = 0.25'
  ; Item #2 'High-pass with 20kHz cut-off frequency. Gain = 0.125'
  : values=0
numid=24,iface=MIXER,name='AMIC_UL MM_EXT Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=23,iface=MIXER,name='AMIC_UL PDM Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on

numid=13,iface=MIXER,name='AUDUL Media Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=14,iface=MIXER,name='AUDUL Tones Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=16,iface=MIXER,name='AUDUL Voice DL Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=15,iface=MIXER,name='AUDUL Voice UL Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=120
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=69,iface=MIXER,name='Analog Left Capture Route'

  ; type=ENUMERATED,access=rw------,values=1,items=4
  ; Item #0 'Headset Mic'
  ; Item #1 'Main Mic'
  ; Item #2 'Aux/FM Left'
  ; Item #3 'Off'
  : values=0
numid=68,iface=MIXER,name='Analog Right Capture Route'

  ; type=ENUMERATED,access=rw------,values=1,items=4
  ; Item #0 'Headset Mic'
  ; Item #1 'Sub Mic'
  ; Item #2 'Aux/FM Right'
  ; Item #3 'Off'
  : values=0
numid=26,iface=MIXER,name='DL1 BT_VX Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=4,iface=MIXER,name='DL1 Capture Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=19,iface=MIXER,name='DL1 Equalizer Profile'
  ; type=ENUMERATED,access=rw------,values=1,items=4
  ; Item #0 'Flat response. Gain = 1'
  ; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
  ; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
  ; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
  : values=0
numid=25,iface=MIXER,name='DL1 MM_EXT Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=1,iface=MIXER,name='DL1 Media Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=43,iface=MIXER,name='DL1 Mixer Capture'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=44,iface=MIXER,name='DL1 Mixer Multimedia'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=41,iface=MIXER,name='DL1 Mixer Tones'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=42,iface=MIXER,name='DL1 Mixer Voice'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=27,iface=MIXER,name='DL1 PDM Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on

numid=2,iface=MIXER,name='DL1 Tones Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=110

  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=3,iface=MIXER,name='DL1 Voice Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=110

  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=8,iface=MIXER,name='DL2 Capture Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=20,iface=MIXER,name='DL2 Left Equalizer Profile'

  ; type=ENUMERATED,access=rw------,values=1,items=4
  ; Item #0 'Flat response. Gain = 1'
  ; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
  ; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
  ; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
  : values=1
numid=5,iface=MIXER,name='DL2 Media Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=39,iface=MIXER,name='DL2 Mixer Capture'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=40,iface=MIXER,name='DL2 Mixer Multimedia'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=37,iface=MIXER,name='DL2 Mixer Tones'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=38,iface=MIXER,name='DL2 Mixer Voice'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=21,iface=MIXER,name='DL2 Rigth Equalizer Profile'

  ; type=ENUMERATED,access=rw------,values=1,items=4
  ; Item #0 'Flat response. Gain = 1'
  ; Item #1 'High-pass with 800Hz cut-off frequency. Gain = 1'
  ; Item #2 'High-pass with 800Hz cut-off frequency. Gain = 0.25'
  ; Item #3 'High-pass with 800Hz cut-off frequency. Gain = 0.1'
  : values=1
numid=6,iface=MIXER,name='DL2 Tones Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=110

  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=7,iface=MIXER,name='DL2 Voice Playback Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=110

  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=63,iface=MIXER,name='Earphone Driver Switch'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=62,iface=MIXER,name='Earphone Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=15,step=0
  : values=0
  | dBscale-min=-24.00dB,step=2.00dB,mute=0
numid=67,iface=MIXER,name='HF Left Playback'

  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Off'
  ; Item #1 'HF DAC'
  ; Item #2 'Line-In amp'
  : values=1
numid=66,iface=MIXER,name='HF Right Playback'

  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Off'
  ; Item #1 'HF DAC'
  ; Item #2 'Line-In amp'
  : values=1
numid=65,iface=MIXER,name='HS Left Playback'

  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Off'
  ; Item #1 'HS DAC'
  ; Item #2 'Line-In amp'
  : values=1
numid=64,iface=MIXER,name='HS Right Playback'

  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Off'
  ; Item #1 'HS DAC'
  ; Item #2 'Line-In amp'
  : values=1
numid=61,iface=MIXER,name='Handsfree Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=29,step=0
  : values=15,15
  | dBscale-min=-52.00dB,step=2.00dB,mute=0
numid=60,iface=MIXER,name='Headset Playback Volume'

  ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
  : values=10,10
  | dBscale-min=-30.00dB,step=2.00dB,mute=0
numid=56,iface=MIXER,name='MUX_UL00'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=10
numid=55,iface=MIXER,name='MUX_UL01'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=9
numid=54,iface=MIXER,name='MUX_UL02'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=53,iface=MIXER,name='MUX_UL03'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=52,iface=MIXER,name='MUX_UL04'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=51,iface=MIXER,name='MUX_UL05'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=50,iface=MIXER,name='MUX_UL06'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=49,iface=MIXER,name='MUX_UL07'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=0
numid=48,iface=MIXER,name='MUX_UL10'
  ; type=ENUMERATED,access=rw------,values=1,items=13

  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=10
numid=47,iface=MIXER,name='MUX_UL11'
  ; type=ENUMERATED,access=rw------,values=1,items=13

  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=9
numid=46,iface=MIXER,name='MUX_VX0'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=10
numid=45,iface=MIXER,name='MUX_VX1'

  ; type=ENUMERATED,access=rw------,values=1,items=13
  ; Item #0 'None'
  ; Item #1 'DMic0L'
  ; Item #2 'DMic0R'
  ; Item #3 'DMic1L'
  ; Item #4 'DMic1R'
  ; Item #5 'DMic2L'
  ; Item #6 'DMic2R'
  ; Item #7 'BT Left'
  ; Item #8 'BT Right'
  ; Item #9 'AMic0'
  ; Item #10 'AMic1'
  ; Item #11 'VX Left'
  ; Item #12 'VX Right'
  : values=9

numid=18,iface=MIXER,name='SDT DL Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=120
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=17,iface=MIXER,name='SDT UL Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=28,iface=MIXER,name='Sidetone Mixer Capture'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=29,iface=MIXER,name='Sidetone Mixer Playback'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=70,iface=MIXER,name='TWL6040 Power Mode'

  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Low-Power'
  ; Item #1 'High-Performance'
  : values=1
numid=9,iface=MIXER,name='VXREC Media Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=10,iface=MIXER,name='VXREC Tones Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=11,iface=MIXER,name='VXREC Voice DL Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=12,iface=MIXER,name='VXREC Voice UL Volume'

  ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0
  : values=0
  | dBscale-min=-120.00dB,step=1.00dB,mute=1
numid=36,iface=MIXER,name='Voice Capture Mixer Capture'

  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=35,iface=MIXER,name='Voice Capture Mixer Media Playback'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=34,iface=MIXER,name='Voice Capture Mixer Tones Playback'

  ; type=BOOLEAN,access=rw------,values=1
  : values=off


Thanks
Ashwani


On Tue, May 10, 2011 at 12:20 PM, Bercovitz, David <d-ber...@ti.com> wrote:
Can you please describe your problem, software / kernel version you use?

Thanks
David

2011/5/10 Ashwani <ash...@gmail.com>
Hi Ivan/David,

have u solved audio recoring issue on pandaboard? I am also facing the
same problem.

Regards
Ashwani




On Dec 17 2010, 7:10 pm, "Bercovitz, David" <d-bercov...@ti.com>

wrote:
> Ivan,
>
> On the Pandaboard, this is a line-in connector. Use the output of PC for
> instance to test. The impedance is different from a MIC.
> Also, I noticed a few wrong amixer values, please set the following for
> capture:
>
>         amixer cset name='Analog Right Capture Route' 0
>         amixer cset name='Analog Left Capture Route' 0
>         amixer cset name='Capture Preamplifier Volume' 1
>         amixer cset name='Capture Volume' 4
>
>         amixer cset name='MUX_UL00' 10
>         amixer cset name='MUX_UL01' 9
>         amixer cset name='MUX_UL10' 10
>         amixer cset name='MUX_UL11' 9
>         amixer cset name='AMIC_UL PDM Switch' 1
>
>         amixer cset name='MUX_VX0' 10
>         amixer cset name='MUX_VX1' 9
>         amixer cset name='Voice Capture Mixer Capture' 1
>
> Regards
> David
>
> 2010/12/16 Getta, Ivan <ivange...@ti.com>
> ...
>
> read more »



--
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.92



--
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920



--
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920



--
Regards.
Ashwani Kumar
Embedded Engg.
Mob:+91-9019404409

Ashwani

unread,
May 31, 2011, 12:59:32 PM5/31/11
to pandaboard
Audio recording on pandaboard are working with ordinary mic also. I
use 1K biasing resistor. Now any mic we can use with pandaboard.

regards
Ashwani

On May 11, 1:22 pm, "Bercovitz, David" <d-bercov...@ti.com> wrote:
> Ashwani, I'm posting your question on the Pandaboard mailing list as I don't
> know this answer.
>
> Regards
> David
>
> 2011/5/11 Ashwani Kumar <ash1...@gmail.com>
>
> > Thanks David.
>
> > I tried with iball <http://iball.co.in/Product.aspx>  microphone but its
> > is not working. may be the gain issue.
> > does mono mic require preamp?
>
> > or any suggested mono mic...
>
> > Regards
> > Ashwani
>
> > On Wed, May 11, 2011 at 1:36 PM, Bercovitz, David <d-bercov...@ti.com>wrote:
>
> >> Ashwani, The issue still exists on latest h/w. The only solution is to
> >> record in mono and have the cable only wired in mono otherwise the 2 lines
> >> will be mixed up.
> >> Regards
> >> David
>
> >> 2011/5/10 Ashwani Kumar <ash1...@gmail.com>
>
> >>> I am using
> >>> PandaBoard RevA3
> >>> Assy: 750-2152-021(A)
> >>> S/N: 1311PANDA421
>
> >>> I think that is latest version:
> >>>http://www.omappedia.org/wiki/PandaBoard_Revisions.
>
> >>> please confirm.
>
> >>> Regards
> >>> Ashwani
>
> >>> On Tue, May 10, 2011 at 1:35 PM, Bercovitz, David <d-bercov...@ti.com>wrote:
>
> >>>> I recall there was an H/W issue recording stereo input:
> >>>>http://omapedia.org/wiki/PandaBoard_Errata
> >>>> If you are using a more recent revision of the EA1 boards, I'll have to
> >>>> go and check if the H/W has been fixed. Let me know.
>
> >>>> Regards
> >>>> David
>
> >>>> 2011/5/10 Ashwani Kumar <ash1...@gmail.com>
>
> >>>>> Thanks David for your prompt reply.
>
> >>>>> My kernel version is "2.6.35-903-omap4"  and filesystem is  "Ubuntu
> >>>>> 10.10".
>
> >>>>> *Test Setup:*
> >>>>> > I am using the audio output of PC connected to audio input (top
> >>>>> connector) on Pandaboard.
>
> >>>>> > running audio on-the-fly gstreamer pipeline:
> >>>>> gst-launch-0.10  alsasrc  ! audio/x-raw-int, endianness=1234,
> >>>>> signed=true, width=16, depth=16, rate=16000, channels=2 !  alsasink
>
> >>>>> >I am getting distorted sound with high noise.
>
> >>>>> *p.s. Here more details on my current configuration: *
> >>>>> **********************************************************************
> >>>>> *
> >>>>> **********************************************************************
> >>>>> *
> ...
>
> read more »

Surya

unread,
Jul 16, 2011, 3:02:19 AM7/16/11
to pandaboard
Hi,

I am also facing the same problem with audio Input, i am not able to
record audio with mic even after using 1K biasing resistor

Ashwani can you please share amixer settings and which mic you used.

Line in is working with the amixer settings which is shared by David.

Thanks,
-Surya

On May 31, 9:59 pm, Ashwani <ash1...@gmail.com> wrote:
> Audio recording on pandaboard are working with ordinarymicalso. I
> use 1K biasing resistor. Now anymicwe can use with pandaboard.
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Ashwani Kumar

unread,
Jul 18, 2011, 1:07:22 AM7/18/11
to panda...@googlegroups.com
I use below amixer settings:


amixer cset name='Analog Right Capture Route' 0
amixer cset name='Analog Left Capture Route' 0
amixer cset name='Capture Preamplifier Volume' 1
amixer cset name='Capture Volume' 4
amixer cset name='MUX_UL00' 10
amixer cset name='MUX_UL01' 9
amixer cset name='MUX_UL10' 10
amixer cset name='MUX_UL11' 9
amixer cset name='AMIC_UL PDM Switch' 1
amixer cset name='MUX_VX0' 10
amixer cset name='MUX_VX1' 9
amixer cset name='Voice Capture Mixer Capture' 1

for record:
arecord -Dplughw:0,0 test.wav

& play:
aplay -Dplughw:0,9 test.wav

tested with PC speaker out connect to mic in (pandaboard) and Electret mic with biasing resistor.

Regards
Ashwani

Surya

unread,
Jul 18, 2011, 3:22:00 AM7/18/11
to pandaboard
Thanks Ashwani i will try with Electret mic, just one more question is
recording possible with normal headset mic on pandaboard ?

Thanks,
-Surya

Ashwani Kumar

unread,
Jul 18, 2011, 3:39:06 AM7/18/11
to panda...@googlegroups.com
I think it could be possible because inside headset mic have electret mic.

xjun...@126.com

unread,
Aug 6, 2011, 3:24:43 AM8/6/11
to pandaboard
I am also facing the same problem with audio Input

On Jul 18, 1:07 pm, Ashwani Kumar <ash1...@gmail.com> wrote:
> I use below amixer settings:
>
> amixer cset name='Analog Right Capture Route' 0
> amixer cset name='Analog Left Capture Route' 0
> amixer cset name='Capture Preamplifier Volume' 1
> amixer cset name='Capture Volume' 4
> amixer cset name='MUX_UL00' 10
> amixer cset name='MUX_UL01' 9
> amixer cset name='MUX_UL10' 10
> amixer cset name='MUX_UL11' 9
> amixer cset name='AMIC_UL PDM Switch' 1
> amixer cset name='MUX_VX0' 10
> amixer cset name='MUX_VX1' 9
> amixer cset name='Voice Capture Mixer Capture' 1
>
> for record:
> arecord -Dplughw:0,0 test.wav
>
> & play:
> aplay -Dplughw:0,9 test.wav
>
> tested with PC speaker out connect to mic in (pandaboard) and Electret mic
> with biasing resistor.
>
> Regards
> Ashwani
>

Suman K

unread,
Aug 26, 2011, 6:52:56 AM8/26/11
to pandaboard
Ashwani, Surya,
I am facing a similar problem. I am not clear from this thread
whether we can use any mic once the biasing resistor is in place.
Please suggest whether I need to procure an electret mic or use the 1K
biasing resistor or both to get this problem fixed.
If it works only for specific type of mics, can you please let me know
the make and model number of the mic which you have tested.

Thanks,
Suman.
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages