Processing code for converting wav files to 1bit bmp files.