Regular WAV at ~CD rate is limited to about 5 hours because the length
encoding fields are 32 bit. You need to generate an extended WAV with
the WAVEFORMATEXTENSIBLE struct that allows a 16 exabyte data chunk.
I'm a little surprised sox doesn't do that by default.
Linux-audio-user mailing list