iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Digital Audio Compression

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Paul Katsande

When you listen to a live musical instrument, the sound you hear is an analog sound wave. Such a wave can take an infinity number of values. This signal has to be converted into a sequence of numbers (0s and 1s in native machine language) for storage and playback on a computer. This process of digitisation creates a raw digital music file which uses 10MB or more per minute (at least 30MB for a 3 minute song).

On a PC, a .WAV is an example of a default audio file, while AIFF(Audio Interchange File Format) is the default format on a Mac. On a Unix machine, Sun Microsystems' AU(AUdio) format is the default for audio. These file formats are an exact replica of the original sound, except for small sampling errors. (They also support limited audio file compression.)

These files have to be compressed to the more usual levels of 3-5MB per song. Compression rearranges the sequence of numbers, sometimes throwing away less significant information, in order to reduce the file size. The way the compression is achieved leads to the many different audio file formats available. Each compression algorithm requires a decoder to make sense of the data during playback. The combination of a compressor and a decoder is called, surprisingly, a codec.

COMPRESSION TYPES
There are two broad compression types:

1. Lossless codecs. This kind of compression reduces the file size while retaining every scrap of information from the original file. This means that the original file can be reconstructed exactly as it was before the compression. Lossless compression does not significantly reduce the size of an audio file. Examples of general lossless compression algorithms include zip or gzip compressions.

2. Lossy codecs. These throw away some of the information from the original music file. Ideally what's thrown away is what the human ear cannot hear, namely sounds below 20Hz and above 20KHz. Thus, the most successful lossy codecs are based on an understanding of psychoacoustic perception. Lossy compression can reduce the size of the file to less than 10% of its original size. Most of the codecs you will come across are of this type. Examples include MP3 and WMA codecs.

CONSTANT V VARIABLE BIT RATE
Something else you might come across concerning compression is bit rate. This is the number of bits (0s and 1s) per second in an audio stream. This kind of represents how much information is being conveyed per second. The bit rate within a single music file can be constant or variable.

A. Constant bit rate (CBR). The music/audio file is compressed to the same level throughout the file. For example moments in the audio file having only a drum beating are reduced to the same bit rate as moments having all musical instruments playing at the same time. You would think there is more information to convey when all instruments are playing at the same time than when only the drum is beating. You would rightly choose a high bit rate to accommodate the complex sounds from all the instruments. But a higher bit rate results in a correspondingly larger file.

B. Variable bit rate(VBR). Each moment is compressed to a different bit rate depending on the complexity of the sound. For example, while the drum beat alone can be compressed at 96 Kbps (kilobits per second), the moments with all musical instruments playing could be compressed at 256Kbps. This results in a smaller file size without sacrificing the quality of the music. Remember file size is inversely proportional to bit rate.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

The author is a postgraduate electronics engineer, and webmaster of http://www.akama.co.uk.
Article Tags: bit [See Dictionary], file [See Dictionary], rate [See Dictionary]
Got a question about this article? Ask the community!
Article published on September 07, 2007 at Isnare.com
 
Rate this article:

Camcorder Recording Methods and Technology
Submitted by: Allen Roberts

Over the years, camcorders have evolved from tape (which has spanned many decades), to DVD, and more recently to Harddrives(HDD) and Flash Memory...

Valuing Your Entertainment With the LED LCD TV
Submitted by: RahXephon NeO

If you are looking into the latest technology for entertainment, then considering a LED LCD TV may be the best alternative...

Nokia 7510 Supernova Mobile Phone Review - The Ultimate Fun But Affordable Phone
Submitted by: Carlson Osbourne

The Supernova series that Nokia has released over the past few years has been met with a variety of reactions from mobile phone reviewers, with the most prevalent feeling being one of disappointment...

The Key Features of a HP CP3525 Printer
Submitted by: Derek Rogers

The Hewlett Packard CP3525 is an incredibly advanced series of Laser Jet printers They provide fantastic quality prints in double quick time; the compact size of the CP3525 lends it for use in the home and small offices...

Did Windows 7 Boom or Bust?
Submitted by: John Dow

It's been a few weeks now since the launch of the Windows 7 release by Microsoft The launch in general was much lower key than past version launches, probably for a couple of reasons...

GBC H312 Laminator Review
Submitted by: Jeff McRitchie

The H312 replaces the H310 in the GBC HeatSeal line of pouch laminators Like its predecessor, this machine is targeted toward small business or home offices that do light to moderate amounts of laminating and need the flexibility to process larger documents...

GBC HeatSeal H435 Laminator Review
Submitted by: Jeff McRitchie

A new addition to GBC's Jam Free line of laminators, the HeatSeal H435 is presented as a laminating solution for small to medium sized organizations that need the flexibility of being able to laminate documents of many sizes, and of thicknesses up to 7mil...

GBC HeatSeal H520 Laminator Review
Submitted by: Jeff McRitchie

Aimed at the medium to large office market, the GBC HeatSeal H520 is designed as a solution for organizations that need to laminate documents of many different sizes...

GBC HeatSeal H535 Turbo Laminator Review
Submitted by: Jeff McRitchie

It is no secret that in today's business world, it's vital to produce top-notch work quickly That is hard to do that when you're waiting around for your laminator to work...

GBC ProClick P50 Binding Punch Review
Submitted by: Jeff McRitchie

As one of the premier manufacturers of binding machines, GBC produces machines both large and small for a wide range of uses...

GBC HeatSeal H700pro Laminator Review
Submitted by: Jeff McRitchie

GBC makes some great laminators and their HeatSeal H700pro is a perfect example It is one of the best laminators the company has manufactured...

GBC HeatSeal Ultima 35 Roll Laminator Review
Submitted by: Jeff McRitchie

If you need to buy a roll laminator for your school or business, the GBC Heatseal Ultima 35 is a laminator you should really take a look at...

Reviewing the GBC P210E Electric ProClick Binding System
Submitted by: Jeff McRitchie

The GBC P210E electric ProClick binding machine is a unit that makes it really easy to bind your important documents...

GBC ProClick Binding For Beginners
Submitted by: Jeff McRitchie

One of the easiest and least expensive ways to bind your documents is by using GBC ProClick spines GBC has the binding market cornered with their high-quality binding machines, and their ProClick binding spines offer yet another innovative way to produce professional-looking documents...

GBC ProClick P200 Binding Machine Review
Submitted by: Jeff McRitchie

General Binding Corporation (GBC) has long ruled the binding machine marketplace In fact, they are easily the largest binding machine manufacturer in the world...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy