OBHS: An Optimized Block Huffman Scheme for Real-Time Audio Compression

📅 2025-11-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the need for lossless compression of real-time audio streams, this paper proposes a low-complexity block-wise adaptive Huffman coding algorithm. The method integrates fixed-size block processing, block-level adaptive Huffman tree construction, canonical code representation, and an intelligent fallback mechanism, achieving linear-time encoding complexity O(n). Its key contributions are: (1) joint intra-block statistical modeling and inter-block codebook coordination to significantly improve encoding/decoding efficiency while guaranteeing lossless reconstruction; and (2) elimination of global model building overhead, thereby balancing real-time performance and compression ratio. Experimental results show that the algorithm achieves a 93.6% compression ratio on silence-rich audio and maintains consistently high compression performance across pink noise, pure-tone, and real-world recordings. On average, it outperforms conventional Huffman coding by over 12% in compression ratio, making it well-suited for resource-constrained real-time audio transmission scenarios.

Technology Category

Application Category

📝 Abstract
In this paper, we introduce OBHS (Optimized Block Huffman Scheme), a novel lossless audio compression algorithm tailored for real-time streaming applications. OBHS leverages block-wise Huffman coding with canonical code representation and intelligent fallback mechanisms to achieve high compression ratios while maintaining low computational complexity. Our algorithm partitions audio data into fixed-size blocks, constructs optimal Huffman trees for each block, and employs canonical codes for efficient storage and transmission. Experimental results demonstrate that OBHS attains compression ratios of up to 93.6% for silence-rich audio and maintains competitive performance across various audio types, including pink noise, tones, and real-world recordings. With a linear time complexity of O(n) for n audio samples, OBHS effectively balances compression efficiency and computational demands, making it highly suitable for resource-constrained real-time audio streaming scenarios.
Problem

Research questions and friction points this paper is trying to address.

Develops lossless audio compression for real-time streaming
Optimizes Huffman coding with blocks and canonical representation
Balances high compression ratios with low computational complexity
Innovation

Methods, ideas, or system contributions that make the work stand out.

Block-wise Huffman coding for audio compression
Canonical code representation for efficient storage
Linear time complexity for real-time streaming
🔎 Similar Papers
No similar papers found.
M
Muntahi Safwan Mahfi
Department of Computer Science, American International University - Bangladesh (AIUB), Dhaka, Bangladesh
M
Md. Manzurul Hasan
Department of Computer Science, American International University - Bangladesh (AIUB), Dhaka, Bangladesh
Gahangir Hossain
Gahangir Hossain
Associate Professor, Data Science
CybersecurityAICognitive NeuroscienceMachine Learning ApplicationsRecommender Systems