Add WAVE Encoder.

Also, realize that naive bit depth conversion doesn't work.