¡@

Home 

java Programming Glossary: byterate

how to convert or record .wav file in 16khz 16bit mono little-endian?

http://stackoverflow.com/questions/12260476/how-to-convert-or-record-wav-file-in-16khz-16bit-mono-little-endian

36 long longSampleRate 16000 int channels 1 long byteRate RECORDER_BPP RECORDER_SAMPLERATE channels 8 long byteRate 256.. byteRate RECORDER_BPP RECORDER_SAMPLERATE channels 8 long byteRate 256 byte data new byte bufferSize try in new FileInputStream.. out totalAudioLen totalDataLen longSampleRate channels byteRate while in.read data 1 out.write data in.close out.close catch..