Better WAV conversion script.

Complete with cmd line options for specifying variations in the output.