1 / 10

III Digital Audio III.5 (W Oct 22) MP3 and other digital audio file formats

III Digital Audio III.5 (W Oct 22) MP3 and other digital audio file formats. We deal with computer file formats for saving digitized audio (= acoustical) data.

Download Presentation

III Digital Audio III.5 (W Oct 22) MP3 and other digital audio file formats

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. III Digital Audio III.5 (W Oct 22) MP3 and other digital audio file formats

  2. We deal with computer file formats for saving digitized audio (= acoustical) data Such formats contain not only the audio-related data, but also a number of additional technical information about the encoding method of the raw data, and also data concerning the composer and other poietic information. This additional information can be complex in function of the actual method. We shall see for MP3 that the encoded data stream is in itself a virtuosic achievement invented to enable playing a piece starting at any time moment of the piece. (Remember that Fourier transform needs all time moments!) The additional data strongly depend on compression methods invented to reduce the saved data with respect to the original audio data. Compression is the rate original data/file data. For example, if the original data is a 10 minute CD data and the file needs 10MB, what is the compression? Answer:44.1×103 Hz × 16 Bit × 2 channels × 10 min × 60 sec / 107 × 8 Bit ≈ 10.58

  3. There are two compression types • Lossless compressionThis means that the original data can be completely reconstructed from the compressed ones. • Lossy compressionThis means that the original data cannot be complely reconstructed from the compressed ones. First Example of lossless compression: TV pixels in Black&White 100 pixels B1*W1*B2*W2*… 10 pixels 1000 bits uncompressed B, W = 1…. (≤ 10 bits for 210 = 1024) numbers of successive uninterrupted black or white pixel sequences RLE = Run Length Encoding used in MP3

  4. There are two compression types Second Example of lossless compression: Huffman compression, used in MP3 Step ACount frequencies of values/symbols Frequency Value Step DStart over with the newvalues and frequenciesappend the 0,1 to 12: * at the endof the algorithm! Step CAdd the frequencies of the two least frequent values and define new value * Step BLabel 0, 1 the two least frequent values

  5. There are two compression types • Lossless compressionThis means that the original data can be completely reconstructed from the compressed ones. • Lossy compressionThis means that the original data cannot be complely reconstructed from the compressed ones. First Example of lossy compression: ADC (Analog to Digital Conversion, as opposed to DAC) from analog to CD with 44 100 Hz and 16 bit amplitude digitization CD with 44 100 Hz and 16 bit amplitude digitization 0100001010100100010001010… rate = ∞

  6. There are two compression types Second Example of lossy compression: Quantization in MP3 compression: In the 16-bit representation of amplitude, the five last bits are neglegted: So, for example1011 1100 0101 1110 is transformed to 1011 1100 0100 0000and then to the 11 relevant left bits 1011 1100 010 In MP3, there is a much more important lossy compression that is generated by criteria from psychoacoustics. We shall come back to this after a first presentation of MP3 and its history.

  7. Important terminological and historical facts MPEG (Moving Pictures Experts Group) is the code name for the standardization group ISO/IEC JTC1/SC29/WG11 (Int. Standards Organization/Int. Electrotechnical Commission). It was created in 1988 to generate generic standards for encodings digital video – and audio data. MPEG-1 is the result of the first work phase of the group and has been established in 1992 as standard ISO/IEC IS 11172. It contains Layer-1, Layer-2, Layer-3, which means three operation modes with increasing complexity. By MP3 one denotes Layer-3 of MPEG-1. MPEG-2 Advanced Audio Coding (AAC) is the result of the second work phase. In enhances Layer-3 in many details. We are not going to discuss this phase here.

  8. Important terminological and historical facts (cont.) The development of these compressed audio formats goes back to research by Dieter Seitzer since 1960, at that time working at IBM, and his student Karlheinz Brandenburg, who is above all responsible for the psychoacoustical compression methods. It is remarkable that Seitzer’s patent was rejected in 1977, it was however accorded in 1983, but was then suspended because of missing interest from the industry! MP3 is above all based on research and development by Karlheinz Brandenburg at the Fraunhofer Institut für Integrierte Schaltungen (IIS) in Erlangen. It is an open standard, but it is protected by many patents (≥13 US patents, ≥16 German patents). We shall discuss legal aspects at the end of this topic.

  9. Important terminological and historical facts (cont.) • MP3 includes these options: • Mono and stereo, in particular joint stereo encoding for efficient combined encoding of both stereo channels. • Sampling frequencies inlude 32 kHz, 44.1 kHz, 48 kHz, for MPEG- 2 also 16 kHz, 22.05 kHz, 24 kHz and for MPEG-2.5 (Fraunhofer-internal extension) also 8 kHz, 11.05 kHz, 12 kHz. • The compression’s bitrate (= the bits traversing the audio file per second) goes from 32 kbits/s (MPEG-1) or 8 kbits/s (MPEG-2) up to 320 kbits/s. For MP3 the bitrate can even vary from frame to frame (a frame is the unit package in MP3, we come back to it later) and, together with the so-called bit-reservoir technology, allows a variable as well as constant bitrate. • Moreover, compression MP3 has the advantage to be platform-independent. This is also a strong reason for its popularity.

  10. List of Audio File Formats

More Related