Poor audio quality captured from microphone with MediaRecorder

by alex.tchumel » Wed, 12 Aug 2009 06:39:15 GMT


Sponsored Links
 Hi!
I've implemented "Audio Capture Setup and Start" example (http://
developer.android.com/guide/topics/media/index.html) with small
modification - the output format is MPEG_4 not  THREE_GPP.

The result - records with extremely poor audio quality. :(

Could you help me to understand where is error and how is possible to
do really good audio records with Android?

I've done an experiment with Camcorder - standard Android application.
Sound quality of the video is same poor. The audio signal is extremely
low (quite).

Is it "by design" or may be some hardware problem (T-Mobile G1)?

I've found description similar problem here -
 http://osdir.com/ml/AndroidDevelopers/2009-06/msg00752.html - 
"Microphone audio capture with emulator is of very poor quality". In
my case this problem reproduces on the real device. Unfortunately I
have not found answer. I read about some "custom" encoders.. but have
not found any example how implement them.

Thanks in advance,
AT

--~--~---------~--~----~------------~-------~--~----~



Poor audio quality captured from microphone with MediaRecorder

by alex.tchumel » Wed, 12 Aug 2009 06:39:16 GMT


 Hi!
I've implemented "Audio Capture Setup and Start" example (http://
developer.android.com/guide/topics/media/index.html) with small
modification - the output format is MPEG_4 not  THREE_GPP.

The result - records with extremely poor audio quality. :(

Could you help me to understand where is error and how is possible to
do really good audio records with Android?

I've done an experiment with Camcorder - standard Android application.
Sound quality of the video is same poor. The audio signal is extremely
low (quite).

Is it "by design" or may be some hardware problem (T-Mobile G1)?

I've found description similar problem here -
 http://osdir.com/ml/AndroidDevelopers/2009-06/msg00752.html - 
"Microphone audio capture with emulator is of very poor quality". In
my case this problem reproduces on the real device. Unfortunately I
have not found answer. I read about some "custom" encoders.. but have
not found any example how implement them.

Thanks in advance,
AT

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Sometimes get a blank screen on app restart

My application flow usually works like this:
Splashscreen calls user agreement
Success from user agreement makes Splashscreen call MapActivity
in MapActivity's onWindowFocusChanged(boolean hasFocus)
{
   if (hasFocus && firstStart)  // firstStart is static boolean
       //start another activity to call user details window
}


Now sometimes (but not always) when a user runs my app, goes back the
the 'desktop' with the home button, and then restarts my app later the
application will just display a blank screen.

Sometimes switching the orientation of the phone will cause the
display to work.  Sometimes it takes switching the orientation a few
times to cause the display to work.  Hitting the back button will kill
the offending activity which is either the user agreement or the user
detail window and the application will continue as normal correctly
displayed.

I am looking for suggestions for what I might be doing wrong or how I
can assure my activities will display when they come up.
--~--~---------~--~----~------------~-------~--~----~

2. Sprint Android Phone

I was over looking at Sprint's developer site and noticed they have 
information on their Android phone and the forum has a section which 
apparently opened today.
http://developer.sprint.com/site/global/develop/technologies/android/p_android.jsp

The phone is supposed to be available October 11th.

- Brian



--~--~---------~--~----~------------~-------~--~----~

3. Externalize strings automatically

4. Debug certificate has expired!

5. A bug with android 1.5 when deleting a phone using delete()

6. AppWidget efficiency

7. Configuring camera at Android device emulator?