by Bob L » Wed Jun 02, 2004 12:31 pm
When creating 20 or 24 bit files, the files can be stored in different formats.
The packed format actually stores the data in 3 bytes per sample, which allows for a max of 24 bits.
The unpacked format stores the data in a full DWORD (4 bytes per sample), which allows for a max of 32 bits, and therefore the filesize is actually larger.
The unpacked format was something I created as an extension into the future when the bit resolution grows beyond 24 bits. It can sometimes also possibly improve performance due to the fact that our current Pc's access data in DWORD chunks and the packed format requires multiple register shifts to compact and expand the data into the odd size 3 byte format, which translates into more internal manipulation to access each sample.
In most situations the difference may not be noticable.
For compatibility with other 24 bit wav files in most other software, you should use the default packed format.
Bob L
When creating 20 or 24 bit files, the files can be stored in different formats.
The packed format actually stores the data in 3 bytes per sample, which allows for a max of 24 bits.
The unpacked format stores the data in a full DWORD (4 bytes per sample), which allows for a max of 32 bits, and therefore the filesize is actually larger.
The unpacked format was something I created as an extension into the future when the bit resolution grows beyond 24 bits. It can sometimes also possibly improve performance due to the fact that our current Pc's access data in DWORD chunks and the packed format requires multiple register shifts to compact and expand the data into the odd size 3 byte format, which translates into more internal manipulation to access each sample.
In most situations the difference may not be noticable.
For compatibility with other 24 bit wav files in most other software, you should use the default packed format.
Bob L