Shorten reduces the size of waveform files (such as audio) using Huffman coding of prediction residuals and optional additional quantisation. It supports lossless and lossy modes.