shithub: sox

Download patch

ref: ffa8948b790ce62f96098ffbc3e9207bf605c628
parent: 2140d0e6e36862a1c55e7a3307734a37c6360b0a
author: robs <robs>
date: Sat Sep 29 11:10:35 EDT 2007

non-standard, non-WAVE_FORMAT_EXTENSIBLE (esp. 24-bit) PCM wav

--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,11 @@
 sox-14.0.1
 ----------
 
+  File formats:
+
+  o Added support for non-standard, non-WAVE_FORMAT_EXTENSIBLE
+    (esp. 24-bit) PCM wav.  (robs)
+
   Bug fixes:
 
   o Fix Sndtool read error causing noise at start.  (Reynir Stefansson)
--- a/soxformat.7
+++ b/soxformat.7
@@ -557,6 +557,17 @@
 .B \-B
 option with the output file options.
 .TP
+.B .wavpcm
+A non-standard variant of
+.BR .wav .
+Some applications cannot read a standard WAV file header for PCM-encoded
+data with sample-size greater than 16-bits, but can read a non-standard
+WAV header.  It is likely that such applications will eventually be
+updated to support the standard header, but in the mean time, this SoX
+format can be used to create files with the non-standard header that
+should work with these applications.  (Note that SoX will automatically
+detect and read WAV files with the non-standard header.)
+.TP
 .B .wve
 Psion 8-bit A-law.  Used on Psion SIBO PDAs (Series 3 and similar).
 .TP