📦 Huffman-Coding ┣ 📜 decode.cpp # 💡 Logic for decompressing files ┣ 📜 encode.cpp # ⚡ Logic for compressing files ┣ 📜 huffman.cpp # 🧠 Implementation of Huffman Tree & algorithm ┣ 📜 huffman.hpp # ...
This repository provides an implementation of a compression algorithm of this type, the Huffman algorithm. This algorithm is implemented in the Python programming language.
In MPEG Layer III coding the compression gain is mainly achieved through the unequal distribution of energy in the different frequency bands, the use of the psychoacoustic model, and Huffman coding.