Mp3 adds... .WHAT?

Author
davdud101
Max Output Level: -69 dBFS
  • Total Posts : 1058
  • Joined: 2010/07/15 13:30:44
  • Location: Detroit, MI
  • Status: offline
2013/05/28 15:54:38 (permalink)

Mp3 adds... .WHAT?

So I was reading this article (actually, someone's comment) on what converting from a lossless codec to mp3 does to your sound. I wanted to test the hypothesis: What does mp3 add (or remove) from the fundamental lossless recording?

I took my own song, "Rain", and put both the WAV and MP3 in Audacity. Here's how it looked:

    nothing in the top one, but some strange compression in the bottom one...

From there, I uploaded it to Sound Cloud. Here's what I got:
https://soundcloud.com/davdud101/rain-mp3-analysis
    notice how all you hear is strange noise from the drumkit and vox

So what say you? Is this a major degradation of the sound quality?

 
Mics: MXL 990, MXL R80, 2 x MXL Tempo XLRs, Cobalt Co9, SM48, iSK Starlight
Cans: Hifiman HE4XX, AKG M220
Gear: Cakewalk BBL - PreSonus Firepod - Alesis Elevate 3 - Axiom 49
DAW: Win10, AMD FX-8300, 16GB DDR3
#1

14 Replies Related Threads

    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/28 16:20:55 (permalink)
    MP3s are meant to be compact so it has to do something to the original waves to achieve the smaller size. That's why it's important to have a good program to do the conversion. If it compresses it in a crummy way you might hear it more. Just like there are different algorithms for dumping 24/32 bit files to 16 bit. The good news is MP3s have been around for a long time so there are many programs that make the final product almost imperceptible from the original to the human ear. If you look at it though as you have there you will see a difference. If you are unhappy with the quality try another program to see if that helps. The important thing is what is perceived by the listener. If things are mixed, mastered and converted properly the average music lover or even a seasoned engineer won't be able to notice much difference.
    #2
    Jeff Evans
    Max Output Level: -24 dBFS
    • Total Posts : 5139
    • Joined: 2009/04/13 18:20:16
    • Location: Ballarat, Australia
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/28 16:35:09 (permalink)
    It depends on a few factors too such as the bit rate in mp3 encoding. Taking the bit rate up to 256 or 320 KBits/sec will give you a better sound too. You don't want to mp3 encode a very heavily mastered wave file either that is slammin right up to -0.1 dB FS. You almost need to master slightly differently or at least limit to say -1 dB FS instead. There are a few techniques to getting a good mp3 version of your mix. Not all mp3 encoders are created equal either. 

    But get into AAC encoding instead here:

    http://en.wikipedia.org/wiki/Advanced_Audio_Coding

    The successor to mp3. It is already way ahead and the results are quite spectacular. A much more interesting format.

    Unfortunately these compressed formats are becoming all too common as the main distribution product and listening media. It is still important to work in higher resolution formats such as we do in order to at least have a great mix to convert to a lower res if need be.

    I find compressed formats great for sending mixes and things to clients so they can preview things. In that mode they are amazing and very helpful. Well mixed and mastered wave files still sound better to me.

    Specs i5-2500K 3.5 Ghz - 8 Gb RAM - Win 7 64 bit - ATI Radeon HD6900 Series - RME PCI HDSP9632 - Steinberg Midex 8 Midi interface - Faderport 8- Studio One V4 - iMac 2.5Ghz Core i5 - Sierra 10.12.6 - Focusrite Clarett thunderbolt interface 
     
    Poor minds talk about people, average minds talk about events, great minds talk about ideas -Eleanor Roosevelt
    #3
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/28 18:29:52 (permalink)
    Here's how you can get an idea of what the MP3 encoding is removing. 

    Put a single hi-hat hit at the front of your song in the count-in area. This will be used later for alignment. Export the project as a normal wave, then create an MP3 from that wave. Now open a new project and import both the wave file and the MP3. Using the hi-hat hit, visually line the two files up. Match their levels to within a fraction of a db (this will take some trial and error). Now invert the polarity of either of them and bounce the two to a third track. If you've matched levels well, this third track will contain pretty much what the MP3 encoder has removed. 
     
    I should point out, though, that this is purely an intellectual exercise and has no practical value. The whole concept behind perceptual encoding is that what's being removed is stuff you can't hear anyway. So just because you can hear it in isolation doesn't mean it was audible in the original mix.




    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #4
    rumleymusic
    Max Output Level: -60 dBFS
    • Total Posts : 1533
    • Joined: 2006/08/23 18:03:05
    • Location: California
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/28 18:49:38 (permalink)
    MP3's first remove a great deal of dynamic contrast.  Sometimes it is not noticeable with loud heavily compressed music, but any kind of music that relies on sharp transient responses among the entire frequency range will suffer.  I have recorded plenty of chamber music that becomes lifeless once converted to MP3.  Of course on most consumer systems and headphones, the differences are less pronounced. 

    Daniel Rumley
    Rumley Music and Audio Production
    www.rumleymusic.com
    #5
    Guitarhacker
    Max Output Level: 0 dBFS
    • Total Posts : 24398
    • Joined: 2007/12/07 12:51:18
    • Location: NC
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/29 08:49:15 (permalink)
    well..... this is some interesting stuff....

    I don't pretend to know the intimate details of what happens behind the curtain .... but I do know that I always try to use the highest bit rate on the MP3 that will fit into the particular mp3 website's player given their limitations on file size. I shoot for 320 but will back off as needed. 

    320 on my portable players always. 

    I also know that something is missing because a wave of 40MB gets slammed back to 4 to 5 MB in the mp3 format..... so it had to drop something..... mathematically, it appears to be a ..... keep one bit, drop 8 or 9.... keep one,,,, drop another 8 or 9.... but I know it's not that simple.

    I know the basic rules and pretty much follow them..... leave head room, use the highest bit rate possible, etc....

    My website & music: www.herbhartley.com

    MC4/5/6/X1e.c, on a Custom DAW   
    Focusrite Firewire Saffire Interface


    BMI/NSAI

    "Just as the blade chooses the warrior, so too, the song chooses the writer 
    #6
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/29 09:44:15 (permalink)
    Have you guys tried this MP3 bit-rate blind ABX? It's an eye-opener.

    I was feeling pretty cocky after getting 5 out of 5 correct, even if that wasn't statistically significant. By the time I'd done 10 tests, my percentage was down to 83%, and after 15 tests it was 71%. It depended heavily on the style of music being A/B'd. I could nail the Jazz samples every time, but with distorted guitars and wailing vocals it was a total guess.


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #7
    drewfx1
    Max Output Level: -9.5 dBFS
    • Total Posts : 6585
    • Joined: 2008/08/04 16:19:11
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/29 13:08:43 (permalink)
    davdud101


    So I was reading this article (actually, someone's comment) on what converting from a lossless codec to mp3 does to your sound. I wanted to test the hypothesis: What does mp3 add (or remove) from the fundamental lossless recording?

    In theory lossy compression essentially tries to replace the parts of your audio that you are unable to perceive with noise.

    At higher bit rates it works very effectively. At lower bit rates the encoders start to have to remove/replace some stuff that is not perceptually masked and artifacts can become apparent. AAC is better at lower bit rates than MP3.

    Note that "what happens" depends on the signal present at any given time, the lossy encoder, the bit rate, etc. - so it's hard to generalize too much. 

    It's also very hard to gain any useful knowledge from looking at waveforms or listening to difference signals since it completely ignores the perceptual masking that is at the very core of lossy compression. Because if you can't perceive the stuff that's getting thrown away, it doesn't matter what or how much of it there is.

     In order, then, to discover the limit of deepest tones, it is necessary not only to produce very violent agitations in the air but to give these the form of simple pendular vibrations. - Hermann von Helmholtz, predicting the role of the electric bassist in 1877.
    #8
    Starise
    Max Output Level: -0.3 dBFS
    • Total Posts : 7563
    • Joined: 2007/04/07 17:23:02
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/29 14:05:29 (permalink)
     To say it "adds" something is totally opposite. As others have already mentioned Mp3 removes large portions of an audio file to make it smaller. The whole idea behind all of these formats isn't improved sound quality. The goal is to remove as much of the file as possible without any noticed difference. With a goal like that it isn't any wonder than anyone who wants to make things sound better might have a gripe with the format.
      Even if we can't always hear a difference, just knowing that the file has been chopped is enough to make any audiophile worth his weight want to run the other way. FWIW you can upload to Soundcloud in high bitrate wave files. This will take more of your storage space but the files will sound better. On my end it sounds like a rhythm track but one missing a lot of umphh.

     At best Mp3 and any other lossy format are a compromise to the sound in order to make it more portable.


     Scientists have figured out the ranges where we hear the best and removed the rest...but in some material you can tell a difference.

     What was that file you uploaded. Is it a differential between tracks like Bit mentioned. Did it sound like that before you uploaded it?
    post edited by Starise - 2013/05/29 14:07:53

    Intel 5820K O.C. 4.4ghz, ASRock Extreme 4 LGA 2011-v3, 16 gig DDR4, ,
    3 x Samsung SATA III 500gb SSD, 2X 1 Samsung 1tb 7200rpm outboard, Win 10 64bit, 
    Laptop HP Omen i7 16gb 2/sdd with Focusrite interface.
     CbB, Studio One 4 Pro, Mixcraft 8, Ableton Live 10 
     
     www.soundcloud.com/starise
     
     
     
    Twitter @Rodein
     
    #9
    davdud101
    Max Output Level: -69 dBFS
    • Total Posts : 1058
    • Joined: 2010/07/15 13:30:44
    • Location: Detroit, MI
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/29 15:36:21 (permalink)
    It's actually the exact process Bit said- took an mp3 and a WAV an inverted one. It's definitively an interesting topic to study, but with what you guys say, all there's is to know is pretty simple; removing as much data without much noticeable change in sound quality.
    In any case, it's still really cool to try.

     
    Mics: MXL 990, MXL R80, 2 x MXL Tempo XLRs, Cobalt Co9, SM48, iSK Starlight
    Cans: Hifiman HE4XX, AKG M220
    Gear: Cakewalk BBL - PreSonus Firepod - Alesis Elevate 3 - Axiom 49
    DAW: Win10, AMD FX-8300, 16GB DDR3
    #10
    dcumpian
    Max Output Level: -34 dBFS
    • Total Posts : 4124
    • Joined: 2005/11/03 15:50:51
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/30 08:39:03 (permalink)
    For those of you who are really interested, the forum below hosts many very good discussions on audio compression and the various formats. I learned a great deal from there when I started digitizing my CD collection.

    http://www.hydrogenaudio.org/forums/index.php?act=idx

    Regards,
    Dan

    Mixing is all about control.
     
    My music:
    http://dancumpian.bandcamp.com/ or https://soundcloud.com/dcumpian Studiocat Advanced Studio DAW (Intel i5 3550 @ 3.7GHz, Z77 motherboard, 16GB Ram, lots of HDDs), Sonar Plat, Mackie 1604, PreSonus Audiobox 44VSL, ESI 4x4 Midi Interface, Ibanez Bass, Custom Fender Mexi-Strat, NI S88, Roland JV-2080 & MDB-1, Komplete, Omnisphere, Lots o' plugins.    
    #11
    mattplaysguitar
    Max Output Level: -55.5 dBFS
    • Total Posts : 1992
    • Joined: 2006/01/02 00:27:42
    • Location: Gold Coast, Australia
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/30 20:26:50 (permalink)
    bitflipper


    Have you guys tried this MP3 bit-rate blind ABX? It's an eye-opener.

    I was feeling pretty cocky after getting 5 out of 5 correct, even if that wasn't statistically significant. By the time I'd done 10 tests, my percentage was down to 83%, and after 15 tests it was 71%. It depended heavily on the style of music being A/B'd. I could nail the Jazz samples every time, but with distorted guitars and wailing vocals it was a total guess.

    This is great! And I beat you :P After 15 tests I got 73% haha! Just like you, the Jazz and the Latin style acoustic percussion thing, I could pick it every time. The Rock one was the only one I made any mistakes on. For me, it was the acoustic guitar on the first that gave it away. The brightness and detail was lost in the 128kbps. It was the ride cymbal on the jazz that gave it away - same reasons as the acoustic. But without any detailed high end instruments in the 3rd distorted guitar rock piece, it was much more difficult to assess. It's good to challenge yourself too and just listen to it outright without listening to the test tracks.


    Pretty impressive encoding though. I'm amazed that's 128. Sounds more like what I'm used to from 192. It has improved a lot over the years. I'd like to know more about the encoding they used.


    Currently recording my first album, so if you like my music, please follow me on Facebook!
    http://www.facebook.com/mattlyonsmusic

    www.mattlyonsmusic.com 

    #12
    Starise
    Max Output Level: -0.3 dBFS
    • Total Posts : 7563
    • Joined: 2007/04/07 17:23:02
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/05/31 11:38:52 (permalink)
     
     These compressed file formats were a necessary evil and have made a lot of money for Amazon , Apple and others......billions of dollars. Anyone who has seriously wanted to have a big web exposure as a musician has probably made the compromise.

     Back in the days of tape some liabilities were tape hiss and those annoying cracks and pops from pressed records and the potential for scratches. The CD came along and the audio improved, then as I see it we needed a band aid approach to make things work in the age of computer music. They did the best they could with what they had to work with. The continued improvement of these formats and the more powerful computer will hopefully soon close the gap between what we had then and what we need now. Some may say the gap has already been closed.

      IMO the companies who make the big money online need to take more drastic measures to adopt the better formats. Mp3 seems to have become the de facto term for an online compressed file. Most people refer to their portable audio devices as Mp3 players. I hope we can get away from that. I think there is concern in some circles that an artist making a file for mass online distribution needs to insure cross compatibility by continuing to use Mp3.

     Converting to something else may loose customers who still play Mp3 exclusively on their portables even if it sounds better.

    Intel 5820K O.C. 4.4ghz, ASRock Extreme 4 LGA 2011-v3, 16 gig DDR4, ,
    3 x Samsung SATA III 500gb SSD, 2X 1 Samsung 1tb 7200rpm outboard, Win 10 64bit, 
    Laptop HP Omen i7 16gb 2/sdd with Focusrite interface.
     CbB, Studio One 4 Pro, Mixcraft 8, Ableton Live 10 
     
     www.soundcloud.com/starise
     
     
     
    Twitter @Rodein
     
    #13
    The Band19
    Max Output Level: -47.5 dBFS
    • Total Posts : 2795
    • Joined: 2012/05/29 19:21:32
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/06/01 00:43:39 (permalink)
    The correct but widely unreported answer is, "the frequencies between 4220 and 4225 suffer the most"

    P.S. It's widely unreported for a reason...

    Sittin downtown in a railway station one toke over the line.
    #14
    bapu
    Max Output Level: 0 dBFS
    • Total Posts : 86000
    • Joined: 2006/11/25 21:23:28
    • Location: Thousand Oaks, CA
    • Status: offline
    Re:Mp3 adds... .WHAT? 2013/06/14 21:10:18 (permalink)
    bitflipper
    Here's how you can get an idea of what the MP3 encoding is removing. 

    Put a single hi-hat hit at the front of your song in the count-in area. This will be used later for alignment. Export the project as a normal wave, then create an MP3 from that wave. Now open a new project and import both the wave file and the MP3. Using the hi-hat hit, visually line the two files up. Match their levels to within a fraction of a db (this will take some trial and error). Now invert the polarity of either of them and bounce the two to a third track. If you've matched levels well, this third track will contain pretty much what the MP3 encoder has removed. 

    I should point out, though, that this is purely an intellectual exercise and has no practical value. The whole concept behind perceptual encoding is that what's being removed is stuff you can't hear anyway. So just because you can hear it in isolation doesn't mean it was audible in the original mix.



    Dave,
     
    I've stated this on the forums many many times.
     
    The (partial) fundamental flaw with your outline above is that you forgot to remove the ~72 samples that mp3's add in front of the file (I've proved it over and over, and even Beagle admits they are there). That alone will (also) skew the so called null test.
     
    I ask you: would you purposely put ~72 samples in front of one of two .WAV files you suspected were not the same and null test them? No? Then why would you line up a .WAV and .mp3 without removing the dead air mp3's add at the beginning of the file?
     
    And oh, by the way.... this is not a purely intellectual exercise.
    #15
    Jump to:
    © 2024 APG vNext Commercial Version 5.1