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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <linux-audio-user@...>
Date: Tuesday, April 2, 2013 - 8:24 pm

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

On 2 April 2013 21:29, Paul Davis wrote:

>

I guess this is a bug in sox then. If I use sndfile-concat (by first
turning the first wave file into w64), a correct w64 is made, and if I use
sndfile-salvage on the wave sox produced (the one with too much sound for
the header to explain) a correct file is also made. Either way, success!

Thanks for the insight guys.

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

On 2=
April 2013 21:29, Paul Davis <paul@linuxaudiosystems.com>=
wrote:

On Tue, Apr 2, 2013 at 3:24 PM, Monty Montgomery <xiphmont@=
gmail.com
> wrote:

Huh, you're right.

Oh, i see... we've been supporting >4GB wave files in the Xiph stuff=

by setting the length to 0xFFFFFFFF and assuming the data chunk is
last (intuiting chunk length from file length).nothing about RIFF implies that the data chunk is last.=A0 in fac=
t, there is no ordering at all except that the RIFF chunk is first. there a=
re several windows app that make this "mistake".

w64 is the format to use, and libsndfile handles it (and CAF) with dist=
inction.=A0I guess this is a =
bug in sox then. If I use sndfile-concat (by first turning the first wave f=
ile into w64), a correct w64 is made, and if I use sndfile-salvage on the w=
ave sox produced (the one with too much sound for the header to explain) a =
correct file is also made. Either way, success!

Thanks for the insight guys.=

--089e01183198122fa404d96685c3--

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)