This is a very simple implementation, stripped bare of all the nice command line switches and console output. It just encodes from one .wav file to another, and it has been tested only on one piece of music and only with default parameters.