Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
TODAY'S NEWS
Apple tops the $100B+ tech club
Microsoft details Windows 8 for ARM devices
Blogger exposes major Google Wallet security flaw
Web app lets enterprise set security, sharing for Google Apps users
Cloudscaling to offer OpenStack private cloud platform
Valentine's Day Patch Tuesday: Microsoft to issue 9 patches, 4 critical
Mobile World Congress sneak peek: Quad-core smartphones, Ice Cream Sandwich & more
Microsoft details 'Windows on ARM' program
March debut of 'iPad 3' a sure bet, says analyst
Resume Makeover: How an Information Security Professional Can Target CSO Jobs
FBI unbolts Steve Jobs 1991 investigation file
Cisco boosted profit, sales in Q2 while cutting costs
Macs take on the enterprise
Four crazy tech ideas from Google's Solve for X project
/

Sound tricks for digital music

Gibbs archive

Having spent the past four weeks discussing a multimedia operating system (BeOS), media has been on Gearhead's mind. Moreover, because our evil twin in the "Backspin" column has been opining about Napster, Gearhead thinks it's time to take a look at the MP3 audio encoding system.

MP3 is an abbreviation for MPEG-1 Layer 3, an open standard for music compression defined in 1991 by the Moving Picture Experts Group, a working group of the International Standards Organization (www.iso.ch/) and the International Electrotechnical Commission (www.iec.ch/).

MPEG-1 is actually a collection of complex standards. According to the MPEG site (www.cselt.it/mpeg/), MPEG-1 is for "coding of moving pictures and associated audio for digital storage media at up to about 1.5M bit/sec."

MP3 compresses music data by a factor of up to 15-to-1, while attempting to minimize perceived (not actual) quality loss. In other words, despite the radical compression ratio and bits being tossed out, Metallica still sounds like Metallica (Gearhead suspects the loss of most bits would leave a Metallica ditty intact as far as the ear could tell; preserving the nuances of Brahms or Bach is an entirely different matter).

MP3 uses a number of techniques, commonly referred to as perceptual coding, that let us decide what data we can throw out by analyzing the frequency and energy distribution of the music in various ways and relating that to a psycho-acoustical model of human hearing.

The minimal audition threshold is a technique that relies on the idea that the ear responds nonlinearly to sound, according to the law of Fletcher and Munson (http://web.wt.net/~rg21518/fletcher.html).

In the context of MP3, the law means you can ignore sounds under a range of frequency thresholds, depending on how loud they are, because they will not be heard.

This basically involves determining which sounds are blocked by other sounds as far as the human ear is concerned. Thus, a trumpet playing a soft note will be masked on and off if played along with, say, a French horn section.

Another MP3 perceptual coding technique is known as the reservoir of bytes, the method of allowing different segments of an MP3 file to be encoded at different bit rates. This means encoding accuracy can be reduced according to the psycho-acoustical model, which removes data based on how the ear receives sound and the brain perceives it.

MP3 also uses something called Joint Stereo that reduces stereo data. This can be done because the low frequency components of the music aren't as important to stereo imaging as high frequencies. Therefore, the stereo components of the bass end of the music can be combined into a mono image, providing another way of tossing out data.

Finally, Huffman coding is performed on the modified data. This doesn't compress the data further, but stores the data efficiently.

Doing all this encoding has its complexities, which we will discuss next week, along with encoding and decoding software.

Sound off to gh@gibbs.com.

RELATED LINKS


NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.