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. Converting an image captured by camera to grayscale

Hi guys,
I have a camera application that captures a 640x480 image.I want to
convert this image to grayscale.I know I have to use the setSaturatio
(float sat) in the ColorMatrix method to zero but I dnt know how I can
set it to grayscale...
Can someone please help me out?
Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Ubuntu 64-bit x86 Android build: lib32z1 and lib32z1-dev packages are needed

I successfully compiled the Android source on a Ubuntu & Kubuntu AMD64
platform with Intel EM64T architecture. The only thing is that the
lib32z1 and lib32z1-dev
Debian packages both need to be installed to make the build complete
successfully with all the other build dependencies listed on [HTML]
http://source.android.com/download[/HTML]

 When first compiling with only the zlib1g and zlib1g-dev packages, it
was ending in an Error 2: not being able to find a valid libz.so after
a -lz search giving hits in a few different directories, but not
finding a valid lib. So I searched the repositories and installed the
lib32z1 deb package, and it still ended in the same error. Then I
installed the lib32z1-dev package and it compiled like a charm. I
believe the zlib1g* libs are 64-bit compiled, and since it is
compiling for a 32-bit target, it needs the 32-bit compression
Z-library.

 There were no major compilation errors that stopped the build after
the lib32z1 packages were installed, and the make completed
successfully.

 Hopefully this will help others!

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. How to use BitmapFactory.decodeStream to specify the size of my output Bitmap?

4. dip and setting values in code

5. How to hide user dictionary? or suggested words on keyboard

6. How to hide user dictionary? or suggested words on keyboard

7. Getting Audio Metadata