Re: [LAU] Creating a very long audio file?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Monty Montgomery <xiphmont@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Tuesday, April 2, 2013 - 7:15 pm

--f46d0407142d5b508604d9658e4a
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Apr 2, 2013 at 3:12 PM, Paul Davis wrote:

>

Specifically:

"The WAVE_FORMAT_EXTENSIBLE format code indicates that there is an
extension to the Format chunk. The extension has one field which declares
the number of "valid" bits/sample (wValidBitsPerSample). Another field (
dwChannelMask) contains a bits which indicate the mapping from channels to
loudspeaker positions. The last field (SubFormat) is a 16-byte globally
unique identifier (GUID)."

it does not change the size of the size field of the RIFF or data chunks,
which is what matters here.

--f46d0407142d5b508604d9658e4a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 2, 2013 at 3:12 PM, Paul Dav=
is <paul@linuxaudiosystems.com> wrote:
On Tue, Apr 2, 2013 at=
2:35 PM, Monty Montgomery <xiphmont@gmail.com> wrote:<=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
#ccc solid;padding-left:1ex">

Regular WAV at ~CD rate is limited to about 5 hours because the length
encoding fields are 32 bit. =A0You 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.I wasn't aware that WAVEFORMATEXTENSIBLE covered fil=
e sizes - the spec seems to be mostly about "higher resolution" s=
ample formats. what did i miss?
Specifically: =A0=A0 "The WAVE_FORMAT_EXTENSIBLE format=20
code indicates that there is an extension to the Format chunk. The extensio=
n has=20
one field which declares the number of "valid" bits/sample (wValidBitsPerSample).=20
Another field (dwChannelMask) con=
tains a=20
bits which indicate the mapping from channels to loudspeaker positions. The=
last=20
field (SubFormat) is a 16-byte gl=
obally=20
unique identifier (GUID)."it does not change the size of the s=
ize field of the RIFF or data chunks, which is what matters here.=

--f46d0407142d5b508604d9658e4a--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Creating a very long audio file?, Arve Barsnes, (Tue Apr 2, 6:18 pm)
Re: [LAU] Creating a very long audio file?, Monty Montgomery, (Tue Apr 2, 6:35 pm)
Re: [LAU] Creating a very long audio file?, Paul Davis, (Tue Apr 2, 7:12 pm)
Re: [LAU] Creating a very long audio file?, Paul Davis, (Tue Apr 2, 7:15 pm)
Re: [LAU] Creating a very long audio file?, Monty Montgomery, (Tue Apr 2, 7:24 pm)
Re: [LAU] Creating a very long audio file?, Erik de Castro Lopo, (Tue Apr 2, 10:42 pm)
Re: [LAU] Creating a very long audio file?, Paul Davis, (Tue Apr 2, 7:29 pm)
Re: [LAU] Creating a very long audio file?, Arve Barsnes, (Tue Apr 2, 8:24 pm)
Re: [LAU] Creating a very long audio file?, Monty Montgomery, (Tue Apr 2, 8:22 pm)