wav icon indicating copy to clipboard operation
wav copied to clipboard

golang .wav reader and writer

Results 6 wav issues
Sort by recently updated
recently updated
newest added

It seems channels are missed in the calculation of wav file's duration, here is the code: https://github.com/cryptix/wav/blob/8bdace674401f0bd3b63c65479b6a6ff1f9d5e44/reader.go#L147 File informations by wav ------------- File size : 1478955086 bytes Canonical format :...

Add support for stereo wav file concatenation: https://github.com/cryptix/wav/issues/13

[power-plug.wav.tar.gz](https://github.com/cryptix/wav/files/2132873/power-plug.wav.tar.gz)

hi~ i have some problem。 if wav.canonical == false { var extraparams uint32 // Get extra params size if err = binary.Read(wav.input, binary.LittleEndian, &extraparams); err != nil { return err...

Reading a 2-channel, signed 16bit PCM stream doesn't work (common) because the bytes are [converted to int32 instead of int16](https://github.com/cryptix/wav/blob/master/reader.go#L258) n = int32(s[0]) + int32(s[1])

The data size in the wav file contains parts (28 Bytes) of the size of the wav header information. Reason: The bytesWritten component of the Writer struct sums up the...