Convert .wav file to binary and then back to .wav?

Uday Kanth picture Uday Kanth · Jun 15, 2011 · Viewed 11.5k times · Source

I'm doing a project in java which requires me to encrypt a wave file. So, is there a straight forward process to convert a wave file into binary and back? I'll be applying an encryption algorithm on the binary data.

Answer

jpm picture jpm · Jun 15, 2011

Most languages have utilities to read and write files in binary mode. If you happen to be on a Linux system, it's the same as character mode. In any case, it's not a matter of "converting" to binary, just a different method of reading it.