LPAC Archiver

Version 1.4



Encoder Mode

General Settings



LPAC is a codec (coder / decoder) for lossless compression of digital audio files. "Lossless" means that any compressed file can be decompressed in a way it will be bit-wise identical with the original. This is the main advantage of LPAC compared to lossy formats like mp3 or realaudio. On the other hand, lossy codecs can achieve higher compression ratios. For example, mp3 at 128 kbit/s achieves a (fixed) compression ratio of 11, whereas LPAC's compression ratios range from 1.5 to 4, strongly depending on the audio material. Typically they are around 2 for pop music and 2.5 for classical music. This may not seem much, but remember you will get back every single bit, no matter how often you subsequently compress and decompress a file. It is true that general archivers (Zip, LZH, gzip) are lossless, too, but they often achieve nearly no compression on audio files.

LPAC is your choice if you want to save disk space without any quality drawbacks introduced by lossy codecs like mp3. The LPAC file format (*.PAC) is designed to be compatible and lossless across different platforms and processors. There are versions of LPAC for Windows, Linux and Solaris. LPAC Archiver is the user interface of the LPAC codec for Win32 (Windows95/98/Me/NT/2000). The codec itself is supplied as a DLL (lpaccodec.dll). For usage with LPAC Archiver 1.3, the codec version must be 3.00 or higher.

Further information on the latest versions of LPAC Archiver and the LPAC codec can be found on the LPAC Homepage.

Feature Highlights

A detailed description of all features is given in the following sections.

How does it work?

LPAC stands for Lossless Predictive Audio Compression. It uses a method called Linear Prediction to calculate an estimate for the audio signal's current sample value from previous samples. If the prediction is good, the difference between the estimate and the actual sample will be very small. These difference values are coded using so-called Huffman coding, which exploits that the possible values appear with different probabilities.

More information on lossless coding can be found in the document Verlustlose Audiocodierung (PDF, in German).

History of Modifications

Playing LPAC Files

With the LPAC plug-in for Winamp you can use Winamp to play LPAC files. This gives you the opportunity to use features like playlists, equalizers and much more.

Encoder Mode

In the Encoder Mode section you can select the type of compression, enable Joint Stereo and Random Access, choose whether to use the backward compatible file format, and set special Custom Compression Options.

Type of Compression

Joint Stereo

Tries to make use of the dependencies between the two channels of a stereo signal, which leads to better compression if the audio file mainly contains components which lay in the center, e.g. dominant vocal parts. This feature is not available in Fast Compression mode. In other compression modes, it should always be enabled.

Random Access

Generates a compressed file whose blocks can be accessed without decoding previous blocks. Such files are supported by the LPAC plug-in for Winamp to allow faster forward and rewind during playback. This feature slightly increases the file size and is not available in Fast Compression mode. If you just want to archive files in order to save disk space, you should not use this feature.

Check for accurate Decoding

Decodes the compressed file after encoding to ensure that accurate decoding is possible. The total encoding time will increase by approx. 30%. You should use this option if you enable Delete Source Files. If the decoding check fails, the wave file is not deleted.

Use backward compatible File Format for 8 bit and 16 bit Files

With this option, the codec is forced to use the file format of codec 1.5x for 8 / 16 bit wave files and the file format of codec 2.0x for 20 / 24 bit files. This option should be disabled unless you want to use an older codec (version < 3.0) for decompression.

Custom Compression Options

When the type of compression is set to Custom Compression, the following options can be accessed via the Options button.

Please note that you can only set these compression options if you are using the current file format (codec 3.0). If the type of compression is set to Custom Compression, the option backward compatible file format will be automatically disabled.

General Settings

These settings mainly apply to file handling.

Target Folder

Selects the folder where output files are to be saved. Choose the folder via the Select button. If no target folder is chosen (clear input line by pushing the Clear button), each file is created in the folder of the according input file. Applies to compression and decompression.


Defines what to do if a file to be written alredy exists.

Delete Source Files

Deletes the WAV / PAC source files after they have been encoded / decoded. When you use this option for compression, you should also enable Check for accurate Decoding. If decoding is not possible, the source file is not deleted.

Create report

Creates a report file "report.txt" in the target folder of the first file in the file list. Only available for encoding. Doesn’t affect compression.


Sets the priority class of the program. Normal is recommended.


Legal Notice

LPAC Archiver is freeware. The software may be copied and used for private and nonprofit purposes only. You are not allowed to modify this software or to use it for any commercial purpose.

The author shall not be held liable for any problems caused by the use of LPAC Archiver or LPAC files.


I would appreciate suggestions and comments. Please send them to

Tilman Liebchen
Technical University Berlin
Institute for Telecommunications
Einsteinufer 25
D-10587 Berlin, Germany

Phone: +49-30-314-24034
Fax: +49-30-314-22514
E-mail: liebchen@ft.ee.tu-berlin.de
WWW: http://www-ft.ee.tu-berlin.de/~liebchen

LPAC Homepage: http://www-ft.ee.tu-berlin.de/~liebchen/lpac.html

Tilman Liebchen, 8 November 2001