4

How can I read and then write .pcm files using Java on Android, which I just recorded using the microphone at different frequencies?

// TODO Auto-generated method stub
File fileForSaving = new File(Environment.
                    getExternalStorageDirectory(),recordings/" + name + ".pcm"); 
File file = new  File(Environment.getExternalStorageDirectory(),"test.pcm");
int sampleFreq = (Integer)freqset[SELECTED_INDEX];

I want to save the file to fileForSaving with different frequency rates.

Prof. Falken
  • 23,276
  • 18
  • 98
  • 168
hanif s
  • 478
  • 1
  • 3
  • 19

0 Answers0