Modified PCM silence generator and made simple wave generator.  Implemented new ShortToByte method from stack overflow.com