Clear Vibrations

Quakertown, PA's Mobile Enhancement Headquarters

550 California Road Suite 7
Quakertown, PA 18951
267-227-3875
  • Home
  • Services
    • Car Audio
    • Custom Installation
    • Driver Safety
    • Fleet Services
    • Remote Car Starters
  • About Us
    • Work for Clear Vibrations
  • Reviews
  • Location
  • Contact Us
  • Facebook
  • Instagram
  • Twitter
  • YouTube
You are here: Home / RESOURCE LIBRARY / The Basics of Digital Audio Compression

The Basics of Digital Audio Compression

Digital Audio Compression

We recently talked about how the conversion from analog to digital works and explained some of the basic terminology associated with digital audio files. In this article, we are going to look at how different digital audio compression algorithms work to reduce file size so that files can be shared more easily.

The Basics of Digital Audio

Digital Audio CompressionAs we explained previously, sampling an analog audio waveform at CD-quality resolution requires 44,100 samples per second with a resolution of 16 bits for a pair of stereo channels. This results in a data stream that is 1,411 kilobits per second. For a one-minute long song, you’d need to store 84,672,000 bits of information. That’s about 50 megabytes for a five-minute song.

When we store audio in an uncompressed format, the information in the file doesn’t affect the size of the file. We could have a track containing a recording of a symphony orchestra, an audio test track or the last, last, last performance of the Rolling Stones. The size of the file will be the same if the track length is the same.

Lossless Audio Compression

Digital Audio CompressionReducing file size has always been a concern when it comes to transmitting a file. Back when we had dial-up internet service, it would take hours to download a whole song in an uncompressed format. Acoustic modems had an optimal transfer rate of about 300 bits per second. High-speed analog modems reached a peak of 48 kilobits per second using data compression algorithms. To transfer high-quality audio, it would take about 30 seconds for every second of music. See the problem?

One of the most popular and well-known file compression methods is to zip a file. Zipping a file analyzes the content of the file and replaces repeated strings of data with a shortcut to identical information. When you unzip the file, you get the original back without any modification.

In terms of audio compression formats, the most popular lossless formats are Free Lossless Audio Codec (FLAC), Apple Lossless Audio Codec (ALAC) and the Monkey’s Audio (APE) format in a distant third place.

In terms of compression, converting our 70.69 megabyte audio file to FLAC results in a file size of 37.5 megabytes. This is a reduction of about 50 percent with no loss of sound quality, accuracy or detail.

Lossy Audio Compression

Digital Audio CompressionWhether you are trying to shrink an audio file or a photograph, one of the easiest ways to reduce the file size is to throw away some of the detail in the original file. For audio files, this often means limiting high-frequency information and reducing the detail of or eliminating low-level signals.

If we convert our original audio file to a 320 kbps MP3 file, the file shrinks to an amazing 16.0 megabytes. We do so by throwing out audio information that is difficult to hear. For example, if there is a loud guitar riff in one channel, the compression algorithm can dramatically reduce the detail of the relatively low-level audio information in the other channel without much change in the perceived quality of the playback. This is called perceptual audio encoding because the algorithm specifically affects information that is more difficult to hear (or perceive).

At a compression rate of 320 kbps, most listeners can’t tell the difference between the original file and the compressed version. As the compression increases, the differences become much more apparent. We start to lose high-frequency information and detail.

Digital Audio CompressionIf we want to shrink the file further, we can convert it to a 128 kbps MP3 file. The benefit of extreme data compression is that our audio file now has a size of 6.59 megabytes. At this size, the song can be attached to an email without much concern for bandwidth or download time on a modern broadband internet connection.

The most popular lossy file compression formats are MP3 (formerly MPEG-1 Audio Layer III or MPEG-2 Audio Layer III), Adaptive Transform Acoustic Coding (ATRAC), Advanced Audio Coding (AAC) and Windows Media Audio (WMA).

Does File Size Matter?

Digital Audio CompressionAs mentioned, audio compression algorithms were created to allow us to transmit audio over limited-bandwidth connections. Today, data storage is incredibly inexpensive. You can buy a 128 GB USB memory stick for less than $25. You can store about 400 hours of high-quality FLAC audio on a 128 GB memory stick. At the same time, internet bandwidth speed is at an all-time high. Most smartphones with LTE can download data at 150 mpbs. That’s faster than most people’s high-speed internet at home. Downloading a 37 megabyte file over a connection like that takes about five seconds.

Unless you are bandwidth-limited, you may as well download your music in at least CD-quality FLAC or an uncompressed WAV format. That way, you get the best sound quality possible from your audio system. If you have questions about how many tracks you can store on a memory stick or what digital media file formats are compatible with your car radio, visit your local mobile enhancement retailer. They should be able to answer any questions you may have.

This article is written and produced by the team at www.BestCarAudio.com. Reproduction or use of any kind is prohibited without the express written permission of 1sixty8 media.

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on Pinterest (Opens in new window) Pinterest

Related

Filed Under: ARTICLES, Car Audio, RESOURCE LIBRARY

About BestCarAudio.com

BestCarAudio.com is a showcase for the very best mobile electronics retailers in the world and a place to educate and inform interested consumers about existing and emerging technologies.

Recent Articles

Rockford Fosgate TMS69

Product Spotlight: Rockford Fosgate TMS69

May 12, 2025 

Where once the domain of only a few specialty brands, motorcycle audio speakers are now available from dozens of brands. Unfortunately, that doesn’t mean all the offerings sound … [Read More...]

The back of a car audio subwoofer on one side and a man with a perplexed thinking face looking at it on the other side

Car Audio Myths: DVC Subwoofers Can Handle More Power

May 11, 2025 

We’re back to bust another car audio myth wide open. This article will discuss the myth that DVC subwoofers can handle more power than a single voice coil driver. After some … [Read More...]

Various car audio amplifiers, speakers, and equipment

Car Audio Myth: You Can’t Hear Low-Frequency Distortion

May 4, 2025 

At least once a week, someone comments on social media or in a forum that you can’t hear low-frequency distortion from subwoofers or amplifiers. We have no idea where this myth … [Read More...]

Compustar EZGO II

Product Spotlight: Compustar EZGO-II

April 28, 2025 

Hands-free proximity unlocking is a feature found on many new cars and trucks fresh off the showroom floor. The Compustar EZGO-II adds this convenience to your remote car starter … [Read More...]

a black car in the snow with its headlight on and a hand holding a stopwatch off to the side

What’s the Ideal Car Warm-Up Time with a Remote Starter?

April 27, 2025 

Never in a million years did we think that the internet would debate the appropriate amount of time that’s ideal for a remote starter to warm up a car. Some folks believe that even … [Read More...]

Customer Reviews

Subscribe to Our Website

Enter your email address to subscribe to our website and receive notifications of new posts by email.

Quakertown Showroom and Installation Facility


Get Directions to Clear Vibrations

Hours

Monday9:00 AM - 5:00 PM
Tuesday9:00 AM - 5:00 PM
Wednesday9:00 AM - 5:00 PM
Thursday9:00 AM - 5:00 PM
Friday9:00 AM - 5:00 PM
SaturdayClosed
SundayClosed

Services

  • Car Audio
  • Custom Installation
  • Fleet Services
  • Driver Safety
  • Remote Car Starters

Connect With Us

  • Facebook
  • Instagram
  • Twitter
  • YouTube

Copyright © 2025 Clear Vibrations · Privacy Policy · Website by 1sixty8 media, inc. · Log in

 

Loading Comments...