Fw: Re: [CM] CLM and file sizes?

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Fri, 10 Nov 2006 15:33:35 -0800


On Fri, 2006-11-10 at 13:52 -0800, Bill Schottstaedt wrote:
> I think the problem is that AIFC and wave headers have 32-bit size fields,
> whereas Next-style headers ignore the size field if it is obviously wrong.
> I got the same bug you reported writing an AIFC file, but I've written
> a 7 hour 2-channel 44KHz file (4.23 GBytes) using mus-next as the
> header type.  So it's a bug in sndlib, not OSX.  I'm not sure there's
> a real solution for the AIFC/RIFF cases -- if I limit the written size to
> 31 bits, you can probably get all the data, but most programs won't notice
> it.

I think there's a "w64" format that goes above the 2G limit of wav
files. Timemachine uses it by default (through libsndfile, I think), and
Ardour is going to use it in its new 2.x version, otherwise length of
recording time available for high sampling rates becomes unacceptably
low. 

-- Fernando