(Code Correction) Android get correct Amplitude

I am writing an Activity that will record audio using Android's AudioRecord. I need two forms of output, I want to record audio live from MIC source and then output the Amplitude in Log.d. I have been experimenting with two forms of code but the real problem is that I do no really understand what is going on and so therefore can not trouble shoot it.

I would like the code fixed please and the output to the Log in dB please. Heavily comment your work.

This is a code correction and not a full project.

Payment will be completed upon testing of the code in my Eclipse.

Note: I was certain that the original data stored int he buffer would be in Pascals, then to convert to Decibels should have been easy. Now I am not sure it is Pascals anymore.

Skills: Android, Java

See more: amplitude, android amplitude, what is writing code, what is android, android activity, get a code, correction, correction code, comment a code, android java, android mic, java activity record, audio correction, comment code, android comment, java comment code, code record audio, code correction, activity log forms, project code writing java, log android, android fixed, android code full, android full code, android project code source

About the Employer:
( 8 reviews ) Dixon, United States

Project ID: #5323434

3 freelancers are bidding on average €114 for this job


A proposal has not yet been provided

€206 EUR in 1 day
(15 Reviews)

Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! More

€105 EUR in 3 days
(1 Review)

I read your source code and i think i have solution for this problem. Contact with me and I will give you my source code for testing. thanks

€30 EUR in 1 day
(0 Reviews)

Hi we are a team of freelance software developers, if you contact me at our website we can discuss the details of the project. w w w . sol v e r . i o

€23 EUR in 1 day
(0 Reviews)