Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Nexus 4 mic gain too high / distorted input

OP andy o

14th December 2012, 05:57 AM   |  #1  
OP Senior Member
Thanks Meter: 119
 
685 posts
Join Date:Joined: May 2012
Please vote here to bring the issue more attention.

Hey guys, something I noticed. While testing several VoIP options, I found out that my voice with the Speex low bitrate codec was coming out on the other end significantly distorted. I thought at first it was the compression (the codec may apply dynamic compression). But as it turns out, it's the mic gain itself on the phone. The codec simply exacerbates the problem. I don't know if this is a hardware or an OS problem, but it's OS-wide.

If you're holding the phone like a handset on your face, then something a bit louder than a whisper will distort a bit. If you're talking loudly, for sure. This is not as noticeable with regular calls, cause the frequency range is limited, but for higher-quality streams it is a problem. If you don't have another smartphone at hand, you can test how high you can go with e.g. Skype's call testing service, or this number someone in another thread mentioned, where you can hear yourself in real time: (909)390-0003 (I'm in the US with T-mobile).

This is not only a problem with calls, which is my main concern, but also, if you're going for example to a concert, you better get something else to record your clips. There are some of the samples I could find with loud enough audio (which is not very loud) that it distorts.

First the most egregious one: http://www.symbiantweet.com/nokia-lu...ing-comparison

Since that comes from a WP forum, some of you may be rolling your eyes (although, faking that would be pretty childish even for the most staunch fanboy).

Here are a couple other videos I found that show the problem:

http://youtu.be/iF4MBGQUJYY:



http://youtu.be/1UJZYWqGNMQ:



The several VoIP apps that have a "mic gain" control (Groove IP, Talkatone, Sipdroid, CSipSimple) don't actually change the mic gain, but the app's gain which means the already distorted audio will go out with a lower volume, but the damage has already been done.

From searching, it seems that the only way to set actual gain lower in Android is if the kernel permits it, which means a custom kernel. Hopefully the CM guys or someone else can address this. Since the phone is not in the hands of too many people right now and it hasn't been long, the problem is not very widely known, but once people start going to concerts and trying to record clips, there's gonna be some complaints.
Attached Thumbnails
Click image for larger version

Name:	Nexus_4_1080P_video_Sample.PNG
Views:	16165
Size:	29.4 KB
ID:	1562031   Click image for larger version

Name:	LG_Nexus_4_Indoor_Video_Audio_Sample.PNG
Views:	16276
Size:	23.9 KB
ID:	1562039  
Last edited by andy o; 31st January 2013 at 03:12 AM.
The Following 7 Users Say Thank You to andy o For This Useful Post: [ View ]
22nd December 2012, 09:29 AM   |  #2  
Senior Member
Thanks Meter: 231
 
1,775 posts
Join Date:Joined: Dec 2009
More
It seems that LG messed up a lot that's microphone related. But this problem actually needs attention paid to it.
22nd December 2012, 05:07 PM   |  #3  
OP Senior Member
Thanks Meter: 119
 
685 posts
Join Date:Joined: May 2012
The Nexus 4 doesn't seem to have auto gain at all (e. g. for videos and audio recording). I'm not sure if this is an Android problem or one particular to this phone.

Also the gain on handset mode is pretty much the same (even seems a bit louder) than in speakerphone mode. I assumed it was a given that it should be significantly lower.
Last edited by andy o; 22nd December 2012 at 05:10 PM.
27th December 2012, 08:10 AM   |  #4  
Senior Member
Thanks Meter: 102
 
881 posts
Join Date:Joined: Apr 2011
Are there any kernels or ROMs or anything that fixes this yet that anyone knows of? I am using AOKP with Franco Kernel and it is really bad in the app Voxer that I use several times a day. My recordings sound terrible.
27th December 2012, 11:21 AM   |  #5  
Senior Member
Thanks Meter: 231
 
1,775 posts
Join Date:Joined: Dec 2009
More
Right now all we can do is hope that LG fixes it in an update or a developer fixes the issue with a patch.
27th December 2012, 01:35 PM   |  #6  
yahyoh's Avatar
Senior Member
Flag Riyadh
Thanks Meter: 1,888
 
4,675 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by andy o

The Nexus 4 doesn't seem to have auto gain at all (e. g. for videos and audio recording). I'm not sure if this is an Android problem or one particular to this phone.

its android problem ( no auto Gain ) which sucks if u r recording in loud environment u will get **** sound

(but in wolfson audio chips u can control mic gain with voodoo sound like GS1 or Nexus S )
27th December 2012, 05:31 PM   |  #7  
OP Senior Member
Thanks Meter: 119
 
685 posts
Join Date:Joined: May 2012
And here I was thinking that latency was the worst problem for recording apps on Android. They even supposedly improved latency on 4.1 and 4.2, but this is way worse. For recording, Android is even farther behind iOS than I thought, and if this has always been a problem and nobody cares, probably everybody will keep not caring for the N4. Ideally the CM guys would take notice, I wonder how difficult it would be to implement it for them.
27th December 2012, 07:04 PM   |  #8  
Senior Member
Thanks Meter: 231
 
1,775 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by andy o

And here I was thinking that latency was the worst problem for recording apps on Android. They even supposedly improved latency on 4.1 and 4.2, but this is way worse. For recording, Android is even farther behind iOS than I thought, and if this has always been a problem and nobody cares, probably everybody will keep not caring for the N4. Ideally the CM guys would take notice, I wonder how difficult it would be to implement it for them.

Remember, this phone hit a little over a month old a few days ago.
27th December 2012, 07:54 PM   |  #9  
OP Senior Member
Thanks Meter: 119
 
685 posts
Join Date:Joined: May 2012
The problem with this phone in particular is that the gain is set too high, but since I first posted the OP I've learned that this was also a problem with the galaxy nexus, at least on a lesser magnitude. And the fact that there is no way for apps to adjust gain is an Android problem in general (and news to me as well).
8th January 2013, 01:25 AM   |  #10  
jamez243's Avatar
Senior Member
Thanks Meter: 8
 
320 posts
Join Date:Joined: Jul 2008
Quote:
Originally Posted by andy o

The problem with this phone in particular is that the gain is set too high, but since I first posted the OP I've learned that this was also a problem with the galaxy nexus, at least on a lesser magnitude. And the fact that there is no way for apps to adjust gain is an Android problem in general (and news to me as well).

I am also having this issue most apparent in the voxer app when you play back the message you send ... you can tell it's way too over driven.

My nexus 7 doesn't do this

Post Reply Subscribe to Thread

Tags
clipping, distortion, gain, mic gain, microphone
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes