Fix problem reading 16-bit samples
Merge pull request #4 from r9y9/feature_wav_spike

Fix problem reading 16-bit samples
gofmt -s
Add unit tests to wav package and refactor

Moved constants out, some refactoring of sample extraction. Added unit tests for reading wavs.
Merge pull request #5 from nlefler/unit_test

Add unit tests to wav package and refactor
Add API for streaming samples from an io.Reader
Merge pull request #6 from nlefler/stream

Add API for streaming samples from an io.Reader
Index wav data by sample then channel

Swap indexes of data exposed by wav package. Data is now indexed by sample then by channel, e.g.
[sample0[ch0, ch1], sample1[ch0, ch1], ...]
Merge pull request #7 from nlefler/index_swap

[Breaking API Change] Index wav data by sample then channel