Related Links

  • Science Fair Project Guide

Project Summary

Difficulty  6 
Time required Average (about one week)
Prerequisites None
Material Availability Readily available
Cost Very Low (under $20)
Safety No issues

Donate to Science Buddies


Internet Safety Tips
Get educated about online safety
with help from Symantec.

symantec.com/norton/familyresources

Abstract

Do you love to listen to your MP3 player while you're exercising, or listen to songs on the Internet? The relatively recent development of MP3 technology has made it possible to take a stack of CD's and store them on a device no bigger than a deck of cards. How does the MP3 format squeeze all those CD's down so well, and can it go too far? Try this music science fair project to find out!

Objective

To determine the amount of data compression that is acceptable in different genres of digital audio music recordings.

Introduction

Listening to music is one of life's great joys, but for much of human history, music has only been available to people in a live format. All of that changed in the late 1800's with the development of the first audio recording device, which saved and played back the song "Mary Had a Little Lamb." So it wasn't exactly Justin Timberlake, but it was thrilling to hear nonetheless.

How audio data is saved has changed dramatically over the last century, and even in the last two decades. You probably can't imagine living without an MP3 player, or surfing the Internet without audio, but those are very recent inventions. MP3 is a digital audio compression algorithm that was developed to make digital audio files smaller and easier to move around. The MP3 algorithm takes an uncompressed digital audio recording, often in a standard format known as WAV, and shrinks it down to a smaller size. It works by selectively taking out those frequencies from the original audio recording that the human ear can't hear very well. The resulting MP3 recording is typically ten times smaller than the original and, for most people, sounds close enough to the original to provide a good musical experience.

As an example, a standard, digital, "CD-quality" audio recording is sampled 44,100 times each second, and then stored in 16 bits of data. Multiplying 44,100 by 16-bit samples yields 705,600 bits per second of data for one channel. Stereo requires two channels, so for each second on a CD recording, you are storing two times 705,600 bits per second or 1.4 million bits per second! Recording and saving just one minute of a song requires approximately 10 megabytes (MB) of data space! So if you wanted to save just one of your standard, 70-minute music CD's (70 minutes was chosen as an industry standard), you would need 700 MB of data space!

The MP3 data-compression algorithm fixes that by compressing the recording and eliminating those frequencies that most humans have trouble hearing. The frequencies that are removed do not have to be stored, and therefore, the size of the MP3 file is smaller than the original. How much smaller the MP3 file is from the original recording depends upon you. You choose how much of the original recording you want to keep or remove by adjusting the bit rate, the number of bits per second with which you encode your MP3 file.

The bit rates that are typically allowed for encoding with most software range from 96 to 320 kilobytes per second. The higher the bit rate, the closer you are in fidelity to the original recording. If you want a compressed recording that sounds about like what you hear on the radio, you can choose a bit rate of 128 kilobytes per second, which is considered medium-range quality. In this music science fair project, you'll put your listening and encoding skills to work and see, for different kinds of music, what bit rates are acceptable (are close enough in fidelity to the original to provide a good musical experience), and what bit rates make music sound like singing chipmunks. How low can you go?

Terms, Concepts and Questions to Start Background Research

Questions

Bibliography

This source describes what MP3 does and why it is useful:

This source describes the history of the MP3 algorithm:

This link provides free, open-source software with the capability for creating MP3 files with different compression bit rates:

This source describes how to save MP3 files using free open-source software:

Materials and Equipment

Experimental Procedure

  1. Select five songs to test from your CD's or .WAV files. Try to choose songs with different pitch and tempo qualities. For example, select one song that has a lot of low, deep frequencies, another that has high-pitched frequencies, one with a slow beat, one with a fast beat, and one with a mix of qualities. Or try song titles from different genres of music, such as classical, hip-hop, jazz, pop, bluegrass, electronic, folk, reggae, blues, or rock.
  2. Select three bit rates of encoding that you would like to test (low, medium, and high) and enter the values you have chosen in a data table, like the one below, in your lab notebook.
  3. Download and run the Audacity software and capture a sample of one of your chosen songs that is 10-30 seconds long. Record the length of time of your sample, so that you can use the same length of time for your other trials.
  4. Encode the sample with the low-compression bit rate you have chosen. Save the MP3 recording you have created.
  5. Encode the sample with the medium-compression bit rate you have chosen. Save the MP3 recording you have created.
  6. Encode the sample with the high-compression bit rate you have chosen. Save the MP3 recording you have created.
  7. Repeat steps 3-6 for your remaining song titles.
  8. Listen to the first song from your CD or .WAV file.
  9. Listen to the low-compression MP3 version of the song. Is it acceptable to your ear and a good music experience? Write down your observations in your data table.
  10. Listen to the first song from your CD or .WAV file again.
  11. Listen to the medium-compression MP3 version of the song. Is it acceptable to your ear and a good music experience? Write down your observations in your data table.
  12. Listen to the first song one more time from your CD or .WAV file.
  13. Now listen to the high-compression MP3 version of the song. Is it acceptable to your ear and a good music experience? Write down your observations in your data table.
  14. Repeat steps 8-13 for the remaining songs.
  15. Examine your data table. Did the amount of acceptable data compression change with each song? What is different about the songs that were able to take a low-compression bit rate and still be acceptable? What is different about the songs that required a high-compression bit rate to be acceptable?

Data Table: Acceptable and Not Acceptable Musical Experiences

Song Title Low-Compression Bit Rate ( ____ Kbps) Medium-Compression Bit Rate ( ____ Kbps) High-Compression Bit Rate ( ____ Kbps)
       
       
       
       
       

Variations

Credits

Kristin Strong, Science Buddies

Edited by Peter Boretsky, Lockheed Martin


Last edit date: 2008-12-05 10:27:00


Career Focus

If you like this project, you might enjoy exploring careers in Music.

Sound Engineering Technician
Any time you hear music at a concert, a live speech, the police sirens in a TV show, or the six o'clock news you're hearing the work of a sound engineering technician. Sound engineering technicians operate machines and equipment to record, synchronize, mix, or reproduce music, voices, or sound effects in recording studios, sporting arenas, theater productions, or movie and video productions.
 



Join Science Buddies

Become a Science Buddies member! It's free! As a member you will be the first to receive our new and innovative project ideas, news about upcoming science competitions, science fair tips, and information on other science related initiatives.


Support Science Buddies

If this website has helped you, won't you consider a small gift so we may continue developing resources to help teachers and students?

 



 

Science Buddies gratefully acknowledges its Presenting Sponsor
 
It's free! As a member you will be the first to receive our new and innovative project ideas, news about upcoming science competitions, science fair tips, and information on other science related initiatives.


Science Fair Project Home      Our Sponsors      Partners      About Us      Volunteer      Donate      Contact Us      Research Grants & Outreach      Site Map

Science Fair Project Ideas      Science Fair Project Guide      Ask an Expert      Blog      Teacher Resources      Parent Resources      Student Resources      Science Careers      Join Science Buddies     


Privacy Policy Science Buddies

Copyright © 2002-2010 Kenneth Lafferty Hess Family Charitable Foundation. All rights reserved.
Reproduction of material from this website without written permission is strictly prohibited.
Use of this site constitutes acceptance of our Terms and Conditions of Fair Use.