Used basic encoding from python library + added functionality for compressing WAV files.  Custom mu_law algorithm doesn't work as expected.