alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Recording sound from microphone isn't good working that playback sound is distortion.
@ 2012-07-31  7:00 Xiaoyong Wen
  2012-08-04  0:10 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoyong Wen @ 2012-07-31  7:00 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-kernel-cn

Hi, alsa-devel
		 Platform: S3C6410, WM9713G codec with AC'97, Linux kernel 2.6.36.  ALSL 1.0.23 lib and utils.
         Test process:
		 1. aplay WAV file is good working
		 #aplay -D 'hw:0,0' -c 2 /opt/music.wav

		 2. arecord WAV file from Line in is good working.
		#arecord -D 'hw:0,0' -r 48000 -f S16_LE -c 2 | aplay -D 'hw:0,0' -c 2 &

		 3. Recording sound from microphone isn't good working that playback sound is distortion. 
		 #arecord -D 'hw:0,0' -r 48000 -f S16_LE -c 2 | aplay -D 'hw:0,0' -c 2 &
		 or
		 #arecord -d 10 -fdat test2.wav
		 I hear the sound is very distortion and low.
	     ~~~~~~~~~~~~~~~~~~~~~~~~~~
		 If I excute "amixer cset numid=9 3; amixer cset numid=7 31; amixer cset numid=87 on; amixer cset numid=6 31,31" command, and then volume is high.
		Please help me to fix up this bug, thanks.
		
Best regards.
Xiaoyong Wen, <wen_kernel@163.com>, 2012-07-31, 14:46:17. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Recording sound from microphone isn't good working that playback sound is distortion.
  2012-07-31  7:00 Recording sound from microphone isn't good working that playback sound is distortion Xiaoyong Wen
@ 2012-08-04  0:10 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-08-04  0:10 UTC (permalink / raw)
  To: Xiaoyong Wen; +Cc: alsa-devel, linux-kernel-cn

On Tue, Jul 31, 2012 at 03:00:16PM +0800, Xiaoyong Wen wrote:

> 		 3. Recording sound from microphone isn't good working that playback sound is distortion. 
> 		 #arecord -D 'hw:0,0' -r 48000 -f S16_LE -c 2 | aplay -D 'hw:0,0' -c 2 &
> 		 or
> 		 #arecord -d 10 -fdat test2.wav
> 		 I hear the sound is very distortion and low.
> 	     ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 		 If I excute "amixer cset numid=9 3; amixer cset numid=7 31; amixer cset numid=87 on; amixer cset numid=6 31,31" command, and then volume is high.

This sounds fairly normal - microphones do need quite a bit of gain
applying to get useful signals.  I don't know what controls those are
(the control names are much more useful, the numids do change between
boards) but I would expect that microphone configuration wouldn't be
ideal out of the box and would need some tuning for your system.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-04  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31  7:00 Recording sound from microphone isn't good working that playback sound is distortion Xiaoyong Wen
2012-08-04  0:10 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).