Question of mp3 Being a Lossy Format

  • Thread starter Thread starter Raj Ganatra
  • Start date Start date
  • Tags Tags
    Format
Click For Summary

Discussion Overview

The discussion revolves around the nature of MP3 files as a lossy format, exploring the implications of file transfers and conversions on audio quality. Participants also delve into the technical aspects of audio sampling rates, particularly in relation to CD quality and the differences between MP3 and WAV formats.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant questions whether moving an MP3 file between different storage mediums affects its quality, suggesting that quality loss may only occur during format conversion.
  • Another participant clarifies that unless the files are burned as CD-Audio, the quality remains unchanged during transfers, asserting that these are perfect copies.
  • A participant discusses the sampling rate of CD quality audio, initially misstating it as 41100 Hz, later correcting it to 44100 Hz, and explains the concept of sample frames in relation to audio fidelity.
  • There is a comparison made between WAV and MP3 formats, emphasizing that WAV files retain more information and thus provide higher fidelity, while MP3 files discard some data deemed less noticeable to listeners.
  • A participant shares insights from their senior design project on audio mixing, explaining basic principles of sound mixing and volume adjustment, which adds a practical perspective to the discussion.

Areas of Agreement / Disagreement

Participants express differing views on the effects of file transfers on audio quality, with some asserting that quality remains intact while others imply that conversions lead to loss. The discussion on sampling rates and audio fidelity also reveals a lack of consensus on the implications of these technical details.

Contextual Notes

Some participants' statements include assumptions about the nature of audio encoding and the specifics of audio editing software, which may not be universally applicable. The discussion also reflects varying levels of understanding regarding technical audio concepts.

Who May Find This Useful

This discussion may be useful for individuals interested in audio engineering, music production, or those seeking to understand the technical differences between audio file formats and their implications on sound quality.

Raj Ganatra
Messages
2
Reaction score
0
Question of mp3 Being a "Lossy" Format

Hi,

How is mp3 "lossy"? For example, would I lose quality in an mp3 file if I move the file around: say that the mp3 is stored on my c drive, but then I burn it in the same format to a disk, then I copy it from the disk back to my c drive, then I again burn it to another disk, and then from there I re-copy it back to my c drive. Does this process cause the file to lower in quality each time I do this? Or does lossy just mean that if I convert to mp3 to wave, and then back to mp3, then the quality goes down?

Second question: on all those music editing software, can it only edit the song in .wav format? For example, let's say I open an mp3 file in one of those software, does the software first convert it to .wav, edits it, and then re-encode it back to mp3, thus causing a "lossy" effect? Or does the software directly edit the file in mp3 format so that there is no "lossy" effect?

Thanks!
 
Computer science news on Phys.org
Another question please: CD quality is said to sample sound at 41100 values per second. What is this "value"? Are they referring to 41,000 individual frequencies of sound per second? So if a sound is producing 100,000 frequencies for a certain second, does the recorder take a statistically accurate sampling of this (adequately randomized) with the sample size being 41,000?

Thanks again!
 
No the file will stay the same unless you are burning those files as CD-Audio because it will have to be encoded into a format stereos and radios and anything that accepts cd's can read. Every other step does not change the file quality however, it is a perfect copy.
 
Raj Ganatra said:
Another question please: CD quality is said to sample sound at 41100 values per second.
It's 44100 i think, and measured in Hz. Typically 1 Herz = 1 cycle per second. When talking about sound files 1 Hertz = 1 frame per second.
So a sound file, such as WAV, with "Sample Rate" of 44100Hz means it has 44100 sample frames per second.
A sample frame may be divided into a number of sample points,1 if Mono, 2 if Stereo ...etc. When playing a sound file, a program reads the sample frames and plays them back.
The difference between MP3 and WAV is in the size of the sample frames and the sample rate. The reason is that there is information in a WAV file that can be thrown away without the user noticing significantly. This is what we mean by losing quality, the WAV playback is much more faithful to what was recorded than the MP3, which throws small chunks away because they won't be very noticeable.
You can think about this in the following manner. When recording, a sound recorder needs to read in a sample every so often. If you read a sample 100,000 times per second, you will have a very high quality sound file, but most of the time you don't need that much. Compare this to a video. A video is also composed of frames. When creating an animation, if you use 2 frames per second, then the animation isn't smooth. As you go up in the frame rate the differences between each frame become smaller and the animation becomes smoother and smoother. It reaches a point at about 30 frames per second where you can't tell the difference between the animation and the real thing. This means that if you go up to 60 you won't see any improvement and you will only get a much bigger file size.
So the WAV is like the 60 frame per second animation, and the MP3 the 30 frames per second animation. Of course there's other things an MP3 encoder does to throw away useless information. For example, in your animation, instead of storing every frame, you might just store the first frame and the differences between each frame. You can do similar things to audio.
For my senior design project I'm doing an Audio Mixer so I've had to learn a lot about this stuff, and it's pretty interesting stuff, for example, did you know that in order to mix two sounds together all you need to do add the values in each frame together? And that to increase the volume by a factor X all you need to do is multiple the value of each frame by the value X?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
11
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 24 ·
Replies
24
Views
11K