| When you listen to a live musical
| |
| | COMPRESSION TYPES
|
| instrument, the sound you hear is an
| |
| | There are two broad compression types:
|
| analog sound wave. Such a wave can take
| |
| | 1. Lossless codecs. This kind of
|
| an infinity number of values. This signal
| |
| | compression reduces the file size while
|
| has to be converted into a sequence of
| |
| | retaining every scrap of information from
|
| numbers (0s and 1s in native machine
| |
| | the original file. This means that the
|
| language) for storage and playback on a
| |
| | original file can be reconstructed
|
| computer. This process of digitisation
| |
| | exactly as it was before the compression.
|
| creates a raw digital music file which
| |
| | Lossless compression does not
|
| uses 10MB or more per minute (at least
| |
| | significantly reduce the size of an audio
|
| 30MB for a 3 minute song).
| |
| | file. Examples of general lossless
|
| On a PC, a .WAV is an example of a
| |
| | compression algorithms include zip or
|
| default audio file, while AIFF(Audio
| |
| | gzip compressions.
|
| Interchange File Format) is the default
| |
| | 2. Lossy codecs. These throw away some of
|
| format on a Mac. On a Unix machine, Sun
| |
| | the information from the original music
|
| Microsystems' AU(AUdio) format is the
| |
| | file. Ideally what's thrown away is what
|
| default for audio. These file formats are
| |
| | the human ear cannot hear, namely sounds
|
| an exact replica of the original sound,
| |
| | below 20Hz and above 20KHz. Thus, the
|
| except for small sampling errors. (They
| |
| | most successful lossy codecs are based on
|
| also support limited audio file
| |
| | an understanding of psychoacoustic
|
| compression.)
| |
| | perception. Lossy compression can reduce
|
| These files have to be compressed to the
| |
| | the size of the file to less than 10% of
|
| more usual levels of 3-5MB per song.
| |
| | its original size. Most of the codecs you
|
| Compression rearranges the sequence of
| |
| | will come across are of this type.
|
| numbers, sometimes throwing away less
| |
| | Examples include MP3 and WMA codecs.
|
| significant information, in order to
| |
| | CONSTANT V VARIABLE BIT RATE
|
| reduce the file size. The way the
| |
| | Something else you might come across
|
| compression is achieved leads to the many
| |
| | concerning compression is bit rate. This
|
| different audio file formats available.
| |
| | is the number of bits (0s and 1s) per
|
| Each compression algorithm requires a
| |
| | second in an audio stream. This kind of
|
| decoder to make sense of the data during
| |
| | represents how much information is being
|
| playback. The combination of a compressor
| |
| | conveyed per second. The bit rate within
|
| and a decoder is called, surprisingly, a
| |
| | a single music file can be constant or
|
| codec.
| |
| | variable.
|