Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to record audio from Microphone?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ivan Getta  
View profile  
 More options Dec 10 2010, 12:47 pm
From: Ivan Getta <ivange...@gmail.com>
Date: Fri, 10 Dec 2010 09:47:43 -0800 (PST)
Local: Fri, Dec 10 2010 12:47 pm
Subject: How to record audio from Microphone?
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
...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Getta, Ivan  
View profile  
 More options Dec 16 2010, 2:51 pm
From: "Getta, Ivan" <ivange...@ti.com>
Date: Fri, 17 Dec 2010 01:21:50 +0530
Local: Thurs, Dec 16 2010 2:51 pm
Subject: How to record audio from Microphone?
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'
 ;
...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bercovitz, David  
View profile  
 More options Dec 17 2010, 9:10 am
From: "Bercovitz, David" <d-bercov...@ti.com>
Date: Fri, 17 Dec 2010 15:10:32 +0100
Local: Fri, Dec 17 2010 9:10 am
Subject: Re: [pandaboard] How to record audio from Microphone?

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 »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bercovitz, David  
View profile  
 More options May 11 2011, 4:22 am
From: "Bercovitz, David" <d-bercov...@ti.com>
Date: Wed, 11 May 2011 10:22:56 +0200
Local: Wed, May 11 2011 4:22 am
Subject: Re: How to record audio from Microphone?

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>

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ashwani  
View profile  
 More options May 31 2011, 12:59 pm
From: Ashwani <ash1...@gmail.com>
Date: Tue, 31 May 2011 09:59:32 -0700 (PDT)
Local: Tues, May 31 2011 12:59 pm
Subject: Re: How to record audio from Microphone?
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:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Surya  
View profile  
 More options Jul 16 2011, 3:02 am
From: Surya <sury...@gmail.com>
Date: Sat, 16 Jul 2011 00:02:19 -0700 (PDT)
Local: Sat, Jul 16 2011 3:02 am
Subject: Re: How to record audio from Microphone?
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:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ashwani Kumar  
View profile  
 More options Jul 18 2011, 1:07 am
From: Ashwani Kumar <ash1...@gmail.com>
Date: Mon, 18 Jul 2011 10:37:22 +0530
Local: Mon, Jul 18 2011 1:07 am
Subject: Re: [pandaboard] Re: How to record audio from Microphone?

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

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Surya  
View profile  
 More options Jul 18 2011, 3:22 am
From: Surya <sury...@gmail.com>
Date: Mon, 18 Jul 2011 00:22:00 -0700 (PDT)
Subject: Re: How to record audio from Microphone?
Thanks Ashwani i will try with Electret mic, just one more question is
recording possible with normal headset mic on pandaboard ?

Thanks,
-Surya

On Jul 18, 10:07 am, Ashwani Kumar <ash1...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ashwani Kumar  
View profile  
 More options Jul 18 2011, 3:39 am
From: Ashwani Kumar <ash1...@gmail.com>
Date: Mon, 18 Jul 2011 13:09:06 +0530
Local: Mon, Jul 18 2011 3:39 am
Subject: Re: [pandaboard] Re: How to record audio from Microphone?

I think it could be possible because inside headset mic have electret mic.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xjun_...@126.com  
View profile  
 More options Aug 6 2011, 3:24 am
From: xjun_...@126.com
Date: Sat, 6 Aug 2011 00:24:43 -0700 (PDT)
Local: Sat, Aug 6 2011 3:24 am
Subject: Re: How to record audio from Microphone?
I am also facing the same problem with audio Input

On Jul 18, 1:07 pm, Ashwani Kumar <ash1...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Suman K  
View profile  
 More options Aug 26 2011, 6:52 am
From: Suman K <ksu...@gmail.com>
Date: Fri, 26 Aug 2011 03:52:56 -0700 (PDT)
Local: Fri, Aug 26 2011 6:52 am
Subject: Re: How to record audio from Microphone?
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 pm, xjun_...@126.com wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vasu  
View profile  
 More options Oct 4 2012, 7:48 am
From: Vasu <sriniv...@live.in>
Date: Thu, 4 Oct 2012 04:48:07 -0700 (PDT)
Local: Thurs, Oct 4 2012 7:48 am
Subject: Re: How to record audio from Microphone?

Ashivini, Can you please let us know how you added the 1K ohm bias resistor
to the pandaboard.  
I am able to record audio from line-in when connected to PC, but failed
when ordinary mic-in is connected.
i think we need to amplify the mic-in signal to line-in level to record it
successfully.
if possible please provide a rough schematic of the change.
Thanks in advance.

regards
vasu.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »