Received: by 10.100.29.11 with SMTP id c11mr1035634anc.29.1314373544513; Fri, 26 Aug 2011 08:45:44 -0700 (PDT) X-BeenThere: pandaboard@googlegroups.com Received: by 10.101.189.5 with SMTP id r5ls5089624anp.6.gmail; Fri, 26 Aug 2011 08:45:41 -0700 (PDT) Received: by 10.101.198.27 with SMTP id a27mr1063160anq.12.1314373541132; Fri, 26 Aug 2011 08:45:41 -0700 (PDT) Received: by 10.151.138.5 with SMTP id q5msybn; Fri, 26 Aug 2011 03:52:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.172.2 with SMTP id u2mr99802wfe.53.1314355976889; Fri, 26 Aug 2011 03:52:56 -0700 (PDT) Received: by y39g2000prd.googlegroups.com with HTTP; Fri, 26 Aug 2011 03:52:56 -0700 (PDT) Date: Fri, 26 Aug 2011 03:52:56 -0700 (PDT) In-Reply-To: References: <1a799cd5-20e1-406a-817f-49f55500dfb6@k3g2000prl.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.20) Gecko/20110803 Firefox/3.6.20,gzip(gfe) Message-ID: Subject: Re: How to record audio from Microphone? From: Suman K To: pandaboard Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. On Aug 6, 12:24=A0pm, xjun_...@126.com wrote: > I am also facing the same problem with audio Input > > On Jul 18, 1:07=A0pm, Ashwani Kumar wrote: > > > I use below amixer settings: > > > amixer cset name=3D'Analog Right Capture Route' 0 > > amixer cset name=3D'Analog Left Capture Route' 0 > > amixer cset name=3D'Capture Preamplifier Volume' 1 > > amixer cset name=3D'Capture Volume' 4 > > amixer cset name=3D'MUX_UL00' 10 > > amixer cset name=3D'MUX_UL01' 9 > > amixer cset name=3D'MUX_UL10' 10 > > amixer cset name=3D'MUX_UL11' 9 > > amixer cset name=3D'AMIC_UL PDM Switch' 1 > > amixer cset name=3D'MUX_VX0' 10 > > amixer cset name=3D'MUX_VX1' 9 > > amixer cset name=3D'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 > > > On Sat, Jul 16, 2011 at 12:32 PM, Surya wrote: > > > 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 wrote: > > > > Audio recording on pandaboard are working with ordinarymicalso. I > > > > use 1K biasing resistor. Now anymicwe can use with pandaboard. > > > > > regards > > > > Ashwani > > > > > On May 11, 1:22 pm, "Bercovitz, David" 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 > > > > > > > Thanks David. > > > > > > > I tried with iball =A0microph= one but > > > its > > > > > > is not working. may be the gain issue. > > > > > > does monomicrequire preamp? > > > > > > > or any suggested monomic... > > > > > > > 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 soluti= on 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 > > > > > > >>> 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 > > > > > > >>>>> Thanks David for your prompt reply. > > > > > > >>>>> My kernel version is "2.6.35-903-omap4" =A0and filesystem i= s > > > =A0"Ubuntu > > > > > >>>>> 10.10". > > > > > > >>>>> *Test Setup:* > > > > > >>>>> > I am using the audio output of PC connected to audio inpu= t (top > > > > > >>>>> connector) on Pandaboard. > > > > > > >>>>> > running audio on-the-fly gstreamer pipeline: > > > > > >>>>> gst-launch-0.10 =A0alsasrc =A0! audio/x-raw-int, endianness= =3D1234, > > > > > >>>>> signed=3Dtrue, width=3D16, depth=3D16, rate=3D16000, channe= ls=3D2 ! > > > =A0alsasink > > > > > > >>>>> >I am getting distorted sound with high noise. > > > > > > >>>>> *p.s. Here more details on my current configuration: * > > > > > >>>>> ubuntu@ubuntu-desktop:~$ aplay -l > > > > > > >>>>> **** List of PLAYBACK Hardware Devices **** > > > > > >>>>> card 0: SDP4430 [SDP4430], device 0: Multimedia null-codec-= dai-0 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 2: Voice null-codec-dai-2= [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 3: Tone Playback > > > null-codec-dai-3 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 4: VIB-DL null-codec-dai-= 4 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 5: MODEM null-codec-dai-5= [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 6: Multimedia null-codec-= dai-6 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 7: HDMI HDMI-7 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 8: Multimedia FM Digital-= 8 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 9: Headset Playback > > > twl6040-dl1-9 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 11: HS Playback twl6040-d= l1-11 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 13: HF Playback twl6040-d= l2-13 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 14: Vibra twl6040-vib-14 = [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 15: BT Bluetooth-15 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 16: FM FM Digital-16 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 17: MODEM MODEM-17 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > > >>>>> * > > > > *********************************************************************= * > > > > > >>>>> * > > > > > > >>>>> ubuntu@ubuntu-desktop:~$ arecord -l > > > > > > >>>>> **** List of CAPTURE Hardware Devices **** > > > > > >>>>> card 0: SDP4430 [SDP4430], device 0: Multimedia null-codec-= dai-0 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 1: Multimedia Capture > > > > > >>>>> null-codec-dai-1 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 2: Voice null-codec-dai-2= [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 5: MODEM null-codec-dai-5= [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 8: Multimedia FM Digital-= 8 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 10: DMIC Capture dmic-hif= i-10 > > > [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 12: Analog Capture > > > twl6040-ul-12 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 15: BT Bluetooth-15 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 16: FM FM Digital-16 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 17: MODEM MODEM-17 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 18: DMIC0 dmic-hifi-18 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 19: DMIC1 dmic-hifi-19 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > >>>>> card 0: SDP4430 [SDP4430], device 20: DMIC2 dmic-hifi-20 [] > > > > > >>>>> =A0 Subdevices: 1/1 > > > > > >>>>> =A0 Subdevice #0: subdevice #0 > > > > > > >>>>> * > > > > *********************************************************************= * > > > > > >>>>> * > > > > > > >>>>> ubuntu@ubuntu-desktop:~$ amixer contents -c0 > > > > > >>>>> numid=3D59,iface=3DMIXER,name=3D'Aux FM Volume' > > > > > > >>>>> =A0 ; type=3DINTEGER,access=3Drw---R--,values=3D2,min=3D0,m= ax=3D15,step=3D0 > > > > > >>>>> =A0 : values=3D11,0 > > > > > > >>>>> =A0 | dBscale-min=3D6.00dB,step=3D6.00dB,mute=3D0 > > > > > >>>>> numid=3D33,iface=3DMIXER,name=3D'Capture Mixer Media Playba= ck' > > > > > > >>>>> =A0 ; type=3DBOOLEAN,access=3Drw------,values=3D1 > > > > > >>>>> =A0 : values=3Doff > > > > > >>>>> numid=3D30,iface=3DMIXER,name=3D'Capture Mixer Tones' > > > > > > >>>>> =A0 ; type=3DBOOLEAN,access=3Drw------,values=3D1 > > > > > >>>>> =A0 : values=3Doff > > > > > >>>>> numid=3D32,iface=3DMIXER,name=3D'Capture Mixer Voice Captur= e' > > > > > > >>>>> =A0 ; type=3DBOOLEAN,access=3Drw------,values=3D1 > > > > > >>>>> =A0 : values=3Doff > > > > > >>>>> numid=3D31,iface=3DMIXER,name=3D'Capture Mixer Voice Playba= ck' > > > > > > >>>>> =A0 ; type=3DBOOLEAN,access=3Drw------,values=3D1 > > > > > >>>>> =A0 : values=3Doff > > > > > >>>>> numid=3D57,iface=3DMIXER,name=3D'Capture Preamplifier Volum= e' > > > > > > >>>>> =A0 ; > > ... >