Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Impact of data compression (mp3 & wma) on frequency content

  1. #1
    Join Date
    Aug 2003
    Posts
    913

    Default Impact of data compression (mp3 & wma) on frequency content

    I did some screenshots of the spectral charts of a couple pieces of music to show what gets cut out (on a gross level) when you compress music. It's pretty interesting to see side-by-sides of a few different files.

    http://www.bradjudy.com/audioblog/20...uency-content/

    Has the original and six different compressions for pieces of two different songs. I had previously played with using Audition to selectively cut out high frequencies to see how it sounded and the different was audible through my ER-6s once I got down into the 15kHz range.

    It just occured to me that I should add the relative file sizes for reference. I'll do that.

  2. #2
    Join Date
    Mar 2005
    Location
    Austin, TX
    Posts
    46

    Default

    Thanks for the comparison BradJudy! The basis for all audio compression is how much you're willing to sacrifice audio quality for disk space. There are many different options for audio compression, and the couple that I know of that can retain 100% of audio quality are FLAC and WMA lossless. Basically, these codecs do a mathmatical replacement on long strings of repeating bits. When played, the bits are replaced and the audio played is bit for bit identical to the original. The drawback here is that these formats have very little compression.

    For MP3, WMA and the like, the encoder performs psyco-acoustic algorithms so that the most important parts of the music are retained. From one article I read on MP3, the encoder basically raises the noise floor and drops signals that are below a certain dB level. For pop and rock music that is always played at moderately to loud levels, it's not as noticable. The music that hurts the most from MP3 (and others) encoding is classical music and others with lots of subtle nuances.

    I've ripped my entire CD collection to MP3, and I think it's fine for daily/causal listening, but if I really want to sit and listen to music I'll go to the CD source. I just don't have enough disk space (and backup space) to rip my collection to FLAC.

    FYI: FLAC (Free Lossless Audio Codec)

  3. #3
    Join Date
    Aug 2003
    Location
    Manhattan Beach, California
    Posts
    7,054

    Default

    Great stuff Brad! Thanks!

    I also rip everything to MP3(256 CBR) and agree that it is great for daily/casual listening....and the car....I just integrated my iPod with my car stereo.
    -curtis

  4. #4
    Join Date
    Aug 2003
    Posts
    913

    Default

    Thanks.

    I actually feel that solo vocals suffer the most with compression. I had wondered a bit about what this 'air' that is often mentioned in audio really is. I found out when I started cutting out the high frequencies on solo vocals as I think they do lose something noticable.

    I had hoped to compare some other techniques like ogg or flac, but Audition cannot read those files. I'll poke around and see if there is a plug-in for them. One option might be having a player output to wav (I know winamp can do this) and then read the wav file.

    I tend to rip to 192kbps mp3 which sounds fine for work and on my portable player. In this experiment, I could tell a difference between the 128k files and the original, but I think I would be hard pressed to tell the others from the original. Of course, this was via my ER-6s and not my speakers or even my HD-600s and wasn't blind.

  5. #5
    Join Date
    Apr 2004
    Posts
    413

    Default

    thanks brad. i think the file size will add the final piece of the puzzle. i was wondering about ogg. maybe a plugin will popup for you.

    tamuct, that must have taken a long time! i have ~ 280 CDs. i'm seriously considering an iPod now, and of course the xbox360 will have streaming capabilities so maybe i should go ahead and start ripping now. i'm tired of windows vista, so it's about time to repartition and change the organization of my HDDs anyways. ah, flashbacks of the old napster/audiograbber days.

    maybe the lesson learned is don't compress your overtones.

  6. #6
    Join Date
    Aug 2003
    Posts
    913

    Default

    I found Audition plugins for ogg and FLAC here - http://www.vuplayer.com/other.php

    Does anyone know if a particular encoder is preferred by the ogg or flac fans?

  7. #7
    Join Date
    Apr 2004
    Posts
    413

    Default

    cool.

    i don't have many colleagues or friends who use FLAC, or rip music for that matter. i'm using flac 1.1.2 via cdex.

  8. #8
    Join Date
    Aug 2003
    Posts
    913

    Default

    I'll probably just use CDex with Ogg and FLAC since I already have that installed. Hopefully I'll get that done and post it tonight or tomorrow night.

  9. #9
    Join Date
    Mar 2005
    Location
    Austin, TX
    Posts
    46

    Default

    I've been torn between the various formats to use. From articles I've read, OGG and AC3 both perform better at each bitrate over MP3, but many players don't support OGG or FLAC. I figured that just about anything could play MP3s encoded at 128kbps or better, so I went with that.

    I also have lots of CDs (~200) and it did take quite a while. The hard part was finding a free program to rip and encode them. As much as I hate to admit it, I used the built in ripping of Micro$oft Media Player to make MP3s of them. All the other good rippers wanted money (something to do with paying royalties to Fraunhofer)

  10. #10
    Join Date
    Aug 2003
    Posts
    913

    Default

    tamcut - Take a look at CDex or EAC. I use CDex and it has the LAME encoder built-in (top choice for mp3 encoding). It will handle the ID3 tags, directory/file naming and playlist creation as it builds files. Best of all, it's free.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •