added buffered wav reader.  Should really do this with java's bufferedinputstream.