Become a Site Supporter and Never see Ads again!

Author Topic: 2GB limit and wav/aiff files  (Read 13992 times)

0 Members and 1 Guest are viewing this topic.

Offline scb

  • Eli Manning should die of gonorrhea and rot in hell. Would you like a cookie, son?
  • Trade Count: (11)
  • Needs to get out more...
  • *****
  • Posts: 8677
  • Gender: Male
2GB limit and wav/aiff files
« on: October 14, 2005, 09:31:35 AM »
WAV/AIFF are 32 bit formats.  the max amount if information that the file formats can store is 2^ 32 bits, or 4 gigs. This means that technically, wav files have a hard limit of 4 gigs.  However, most software programs use signed numbers, so they use 1 bit for the sign.  This drops the amount of bits available to 2^31, or 2 gigs.  So the file format has a 4 gig limit, but most software programs make it a 2 gig limit by using signed numbers. 

file systems and operating systems are not the reason for the 2 gig limit.  it's a combination of the wav/aiff format and how software handles the files. 

To answer the question of "how come a JB3 can split on 3 hours instead of a size issue?"  Well, do you know how large a 3 gig 16/44.1 file is?  Remember 90 meter dat tapes?  They recorded a little over 3 hours, right?  What size did it say on there?  2GB. 

So it's not a hardware limitation.  It's not something hardware manufacturers or software designers decided to make up on their own.  It's a limtation in the file format itself.  To address larger files, the format needs to be larger than 32 bits.  Wav64, for example, although it's not a "standard" (as far as i know), can handle HUGE files, because it's a 64 bit format.  2^64 is a HUGE number of bits

Offline morst

  • I think I found an error on the internet; #UnionStrong
  • Trade Count: (2)
  • Needs to get out more...
  • *****
  • Posts: 6020
Re: 2GB limit and wav/aiff files
« Reply #1 on: April 06, 2008, 04:34:20 AM »
Sure would be nice if file systems could just make two mono tracks the way Protools does in "Split Stereo" mode. Then they could be twice as long! (Sound Designer II files are named with ".l" and ".r" for the left and right channels.)


RSS | Mobile
Page created in 0.037 seconds with 27 queries.
© 2002-2024
Powered by SMF