minor edit
implemented sample width, format, duration
quite a bit of stuff done