Category : amplitude

I am new in Android developpement and I want to extract the sampling raw of the whole audio file. In fact, I am saving an audio file using the phone MIC based on the code below: mediaRecorder = new MediaRecorder(); mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); path = Environment.getExternalStorageDirectory().getAbsolutePath()+"/test.m4a"; mediaRecorder.setOutputFile(path); mediaRecorder.setAudioChannels(1);//Max number of channels==>To make the treatment easier? ..

Read more