Slashdot Mirror


What Sounds Better, MP3 or Ogg?

I've never been able to make a clear decision on the subject. These days I rip all my CDs to MP3 at 160kbs which means about 80 megs for a longer album. With a 100g drive on order ($220. I remember paying more then that for .1% of that space) disk space isn't really the defining issue, but that doesn't mean I'm gonna rip everything at 300kbs just because I can. I'm curious what people think sounds better, and what bit rates they find to be acceptable for both casual listening, and more picky listening. Don't forget to mention what sort of equipment your listening on so we know where you are coming from.

49 of 660 comments (clear)

  1. Ogg by LinuxGeek · · Score: 4, Insightful

    Ogg sounds better, but I can't go to walmart and buy a portable Ogg player. Hopefully this will change with some reprogrammable units. Anything like this on the horizon?

    --

    Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
    1. Re:Ogg by Elwood+P+Dowd · · Score: 4, Funny

      I can't imagine that the RIAA would ever let someone make a hardware MP3 player that's reprogrammable. They were upset enough that you could download the MP3s back off the RIO device, even when it wasn't supported by RIO. Imagine what those Free Software wackos will do if they can reprogram the whole unit. It'd be anarchy.

      --

      There are no trails. There are no trees out here.
    2. Re:Ogg by xercist · · Score: 3, Informative

      Iomega has promised a firmware update for their HipZip supporting Vorbis as soon as 1.0 is released.

      And yes, the quality:bitrate ratio in ogg kicks mp3's ass.

      --

      --
      grep "xercist" /dev/random ...you'll find me in there someday
    3. Re:Ogg by seanadams.com · · Score: 5, Insightful

      There are two chips which are very common for MPEG decoding in portable electronics - the MAS3507D and the STA013. Both of these chips are essentially "black boxes" - MPEG in, PCM out. Their DSPs have just enough horsepower to do MPEG decoding, and the firmware is all in ROM. Ogg decoding, as many have already pointed out, needs considerable amount of additonal CPU cycles and RAM as compared to MPEG. Ogg just wasn't designed for embedded systems. Right now the only remotely viable solution for OGG decoding in a portable device would be to go with something like an ARM system-on-chip. Would you pay $250 for a portable player that supported OGG when you can get an equivalent MP3 player for $150? I didn't think so.

      I just don't understand the objection to MP3... it's a decent format, well worth the $2/unit royalty for the decoder chips. Maybe MPEG doesn't compress as well as Ogg, but I would consider this an even trade for the less expensive decoding.

    4. Re:Ogg by fusiongyro · · Score: 4, Informative

      Actually, the primary objection to Mp3 is not the compression. Rather, it is the licensing issues surrounding Mp3.

      Read all about it at http://www.xiph.org/about.html.

      Daniel

    5. Re:Ogg by fossa · · Score: 5, Insightful
      "Ogg sounds better, but I can't go to walmart and buy a portable Ogg player."

      My thoughts exactly. I'm as generally as happy with OGG at 128 or 160 as I am with MP3 at 192, but then I wouldn't be able to use my music in a car-based MP3 player...

      Bah. You want to see ogg in commercial players? Use it then dammit and stop using mp3. Stop whining about lack of commercial support; it's a kind of Catch-22 see? If no one uses ogg because it isn't popular then of course it won't get commercial support. It's gonna take an initial sacrifice (so grow a spine and give up your precious mp3) so that ogg can become popular. Only then will we all reap the benifits (ubiquitous Ogg Vorbis).

      Also, read this fascinating interview from early this year with Jack Moffitt and Christopher Montgomery, the two head guys behind Xiph and ogg. They discuss many things including the Iomega HipZip, which does support Ogg Vorbis.

    6. Re:Ogg by Xylantiel · · Score: 3, Informative

      Actually the concern is the ~$20 per unit that the LICENSE to use an encoder costs. That's any encoder, not just theirs. And this isn't so much the problem, as is the fact that Fronhofer (I believe that's who) can change this price at any time, on a per customer basis. Say maybe at the urging of the RIAA in order to eradicate all mp3 encoders in favor of SDMI (or whatever).

      Open formats are critical to open information exchange, this is exactly why there is such a fight to keep patents out of the w3c standars.

    7. Re:Ogg by dstone · · Score: 4, Insightful

      the SSSCA bill that's floating around Washington

      Fair enough, but consider that the bill is floating around Washington, DC, USA. Emphasis on USA. All your bill are not belong to us. Some of the finest electronic components right now aren't the ones available to the US market. The highest quality, the coolest features, etc. aren't what sells in the the largest, dumbed-down, mass-consumption markets. High end Sony ES home audio gear, the coolest DVD features, region-free players, etc. for example are regularly imported from the UK and Japan by people who want/need that type of gear. Perhaps your bill will prevent you from importing non-DRMS devices though. Where there's a will (and a market elsewhere), there's a way.

  2. vorbis needs a little while to market penitrate by motherhead · · Score: 3, Interesting

    I think oggs sound great but i am still ripping mp3s at 192 bits or better because they also sound great and everything i have is geared towards running them, (WinAmp, SoundBlaster Live, Creative Nomad Jukebox, nothing flashy) I think that ogg has what it takes to supplant mp3s in the future (better sounding compression and smaller filesize) and all that it lacks is maturity.

  3. I am reminded... by Misch · · Score: 4, Informative

    This sounds similar to a previous /. story. Although the tests were apparently run with a variety of people in the musical arena, the tests weren't run blindly (apaprently the panel knew if they were listening to an mp3 or an oog file.)


    But, it's still worth a read, imho.

    --

    --You will rephrase your request for me to go to hell. Goto statements are not acceptable programming constructs
    1. Re:I am reminded... by jonathan_ingram · · Score: 5, Informative

      The tests that you link to were done incredibly badly, and should just be ignored.

      Here is a test that, although not perfect, was at least semi-blind. The conclusions: at that bitrate, MPC ('MPegPlus' not 'MP3Pro') and AAC were the best, followed by LAME MP3, OGG & WMA8 all together, and finally the very worst was XING encoded MP3.

      This test was run with Vorbis RC2. RC3 will be out in a week, with much improved noise masking. For a taste of RC3, you can check out the Vorbis CVS, which includes most of the RC3 fixes but encodes at a fixed rate of 128 kp/ps. This raises the low pass, improves the noise masking, and the stereo channel coupling code.

  4. mp3 by Moleman · · Score: 4, Informative

    I like mp3 a lot more than ogg. I have an album or 2 ripped with ogg as well as some randoms songs from compilations. I did them around 200kbps VBR and my mp3s are 192 kpbs CBR. I'm listening on cambridge soundworks 4.1 surround speakers on an MX300.

    I found the ogg files really tinny and light, so I'd stick with mp3.

  5. bitrate the least of the trouble at that level? by BenHmm · · Score: 4, Insightful

    Question for the masses:
    Doesn't the quality of the speakers, the noise on the wires, the interference from the monitor and the size of the bass cabinet etc etc etc have a more pertinent effect on sound quality when you get above a certain sample rate.

    128 is better than 64, sure, but above that isn;t the difference between monitor mounted speakers and a dolby 5.1 creative surround sound system, say, the most important one?

    I dont know - I'm asking you...

    1. Re:bitrate the least of the trouble at that level? by drinkypoo · · Score: 4, Informative
      128 is better than 64, sure, but above that isn;t the difference between monitor mounted speakers and a dolby 5.1 creative surround sound system, say, the most important one?

      Yes and no, but mostly no. I have a pair of Bose 601 Series II speakers attached to my stereo. They reproduce sounds *very* well. The stereo in question is a Sony STR-DE635 reciever with dolby digital, et cetera. It has 80 watts x 5 channels of discrete amplification. While there are stereo systems with a higher signal to noise ratio, this is a pretty damn good setup. I play mp3s from either my dreamcast (analog output) or my new Apex AD-3201 DVD player, which has a truly crappy interface for playing mp3s, but sounds okay, and plays VBRE without any trouble. It's got a coaxial digital connection to my stereo, and it spits mp3s out at it at 44.1KHz, 16 bit PCM (after decoding).

      With all this said, I can definitely hear the inconsistencies in lower-bitrate (like 128Kbps) mp3s. The only encoding rates I'll use any more are mid-high VBRE (which will go up to 290Kbps or so) and 320Kbps for archival purposes of very touchy music, like classical pieces. If I have something which is purely spoken word, and it doesn't involve screaming, I'll sometimes drop down to 64Kbps mono just to make the files smaller, but generally I encode them as VBRE along with everything else.

      The thing you really tend to lose a lot of in 128Kbps mp3s is bass. Deep bass tends to get crunchy VERY fast, even at slightly higher bitrates like 192Kbps. You can actually hear that even on computer speakers (I use a microsoft digital sound system in analog mode only) or on your car stereo (I burn mp3s back to CD fairly frequently) but especially on a high-end stereo, which will more faithfully reproduce the sounds its given. So actually, on a higher-end stereo, you will hear every bad frequency caused as a compression artifact.

      I have no idea what low-bitrate audio sounds like on true 'prosumer' level home theater sounds like, but I bet it's really atrocious. It's bad enough on my only somewhat upscale layout.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:bitrate the least of the trouble at that level? by skoda · · Score: 4, Interesting

      Yes, those things matter. And that's another factor in what format is "best". At the risk of sounding trollish, anyone listening to music via their computer is most likely not particularly concerned about sound quality.

      The S/N ratio of most soundcards is farily poor, especially compared to decent receivers.

      Speaker wire and cabling makes a difference. No one agrees on how much, though :)

      Speaker placement & seating position greatly impacts sound quality (e.g. stereo imaging).

      Speakers play an obviously important role.

      Finally, most people just arent' aware of, or don't care about, the actual sonic quality of stereo equipment. We just want something that sounds good to us.

      Consider a previous poster, who loves his Bose speakers and Sony DE receiver. Home audio enthusiasts generally agree that the Sony DE line is definitely inferior to the higher DB and ES series. Likewise, Bose is generally known to be of lower sonic quality than other equivalently priced speakers. But he loves the setup, and that's the thing that matters.

      Similarly, I've got a solid mid-range receiver (Onkyo 696) matched to low-end speakers (KLH bookshelf). Sounds great to me, but it's not really top-quality sound.

      The encoder quality is just one of many possible limiters in sound reproduction. And if you're playing it through low-fi equpiment (e.g. computer soundcard and computer speakers), then just pick one that sounds decent and run with it.

  6. VBR by mR+SlIcK · · Score: 4, Informative

    Personally I think using r3mix on LAME mp3 encorder makes the mp3 sound exactly like you are listening to the cd. And if you rip the cd with EAC, you have a perfect copy. I never really liked VBR before but it is actually starting to prove itself to be worthy. Check out http://www.r3mix.net for more info.

  7. ogg vorbis all the way! by auttie · · Score: 5, Informative

    I actually just did a pretty vigorous test of this the other day. I tested 128, 160, 192, and 256 bitrate mp3s and oggs against the source wav file. At 128 they both sounded similar, but the ogg file did seem a little brighter and clearer than the mp3, and the wav file of course blew them both away. At 160 ogg vorbis really shines... the mp3 remains kind of dull, muddy, and the high end is very "sizzly" compared to the ogg file which sounds brilliant and clear. I barely noticed a difference between the wav file and the ogg at this bitrate. Going up to 192 I found the difference between the ogg and the wav indistinguishable while the mp3 STILL retained some of that annoying high-end sizzle and midrange mud. If you've got the space... 192 oggs amazing... I'm doing mine at 160 because while disc space is cheap, the difference between 160 and 192 is negligible. As for 256... don't bother doing oggs at this level... it's just a waste of disk space. As far as mp3s go... IMO you'd have to encode them at 256 to get the same fidelity as a 160 bitrate ogg vorbis file.(your milage may very... i have been an audio engineer for a while and have picky picky ears.)

    Now, if only I could flash my Rio into decoding these files i'd be in digital audio heaven! Also... I'm cannot wait for the 1.0 Ogg encoder to come out... encoding times should be much faster and fidelity even better. Amazing work!

    Hope this helps.

    -auttie

    --
    --->auttie
  8. Re:nerves by drinkypoo · · Score: 4, Informative
    This is really, really starting to get on my nerves..... I cannot see the point of ripping music FROM A CD at higher than CD QUALITY (128 kbps). Unless I'm missing something, isn't it totally pointless to do so?

    MPEG is lossy compression. Period. Even if you encode at 320Kbps, you are still losing data. You lose a lot less data at 320Kbps than you do at 128Kbps, but you still lose things.

    128Kbps is NOT CD quality. A CD is a 44KHz, 16 bit PCM data stream, uncompressed. It's usually decoded using a 1 bit DAC, IE, via pulse width modulation.

    Nothing is "CD Quality" except uncompressed audio or audio compressed with lossless compression like ZIP, RAR, ACE, gzip, bzip, et cetera. "Multimedia" compression is without exception lossy compression - Even our beloved DivX ;-) MPEG-4 High Speed compression is lossy, it's just less lossy than most.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  9. It completely baffles me that... by kypper · · Score: 4, Informative
    people will rip at 128kbps with the ignorance that '128 is CD quality'.


    Do me a favour, everyone:

    1) Rip your CD to 128kb mp3s.

    2) Re-burn it to CD. (use a rewrite if you're a cheapskate)

    3) Listen to the two side-by-side.


    Big Fscking Difference!


    192 is the best bang for your searching efforts, because any higher takes up too much bloody space. But that encode I can burn to a custom CD and it'll sound fine.


    Now, back to Ogg... Ogg sounds about the same at 160kb as an mp3 at 190, (debate and argue all you want...) which is why I like its compression system. Still, I wouldn't touch a 128kb ogg either :op

  10. Try VBR before you go to 300kbps by Dast · · Score: 5, Interesting

    I don't know much about ogg, as I use mp3 for most of my music encoding. I've played around with various bit rates and finaly settled on what I felt was the best for me in terms of quality vs size.

    I now encode all of my music at a variable bit rate 64-256kbps with lame. Lame 3.70 does a really good job of this and produces files (at least for the types of music I listen to) that sound very good. For the most part, they encode smaller than a 192kbps, as the average bit rate used is less. As a check, peeking at John Coletrane's Giant Steps, the average bit rate is right around 150. The bulk of my music averages between 160 and 192kbps.

    The cool thing about vbr is that if the file needs more than that, is can use up to 256kbps to help make the harder to encode spots sound better. So I guess the worst case size you could get would be a song completely encoded at 256kbps (but I can't say that has ever happened).

    I have a hard time telling these vbr 64-256kbps files apart from the orignal cd. Sometimes I can tell, but it is rare and difficult. However, IANAA (I am not an audiophile), so doing your own tests should help.

    All of your standard tools should support vbr files. Xmms does a fine job. I did need to upgrade mpg123 to pre0.59s, however.

    Anyway, consider vbr before you go straight to 300kbps.

    --

    This sig is false.

  11. Serious Sam sequel will use Ogg by antdude · · Score: 3, Informative

    I just read this article about Croteam using it for their next game:

    "We did a major change in the sound engine between FE and SE. And its name is Ogg Vorbis. Yeah, that's right, we're using ogg for music playing. In case someone hasn't heard of it yet, Ogg Vorbis (http://www.vorbis.com) is a patent-free, open source audio codec project. Or in english: a music compressor that plainly rocks. Make sure you check it out. We've tried encoding all the music for SE with Oggdrop at 64kbps and the quality was perfect even at such low bitrate. In the final version, since we won't need the extra space, we'll be shipping with 128kbps music tracks, for even higher fidelity. The guys there are really helpful and supportive and the whole project is surprisingly functional already. There are plugins for all major music players and other music programs."

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  12. How to do listening tests by Dr.+Spork · · Score: 5, Interesting
    If you really care which format sounds best and want your listening tests to be taken seriously, do them right. (I worry many people don't really care about the sound, and want to just take this topic as an opportunity to plug the format which they favor for political reasons.)

    But if you do care about the actual sound, rip some tracks you like from different types of albums. Then, cut out one part of the .WAV file and encode it using different MP3 encoders and different bitrates. (Or, if you want to save time, use only LAME for MP3, because there's a near-consensus that it gets the best sound. Don't forget to try VBR.) Then encode it in OGG format, also at various bitrates.

    Now, the important step:

    Decode the OGGs/MP3s back to a .WAV file, and make sure you name your files so you know which is which. Now, ask your roommate to burn all these .WAV files on a CD in an order that will not be revealed to you. Also burn the WAV that never went through compression/decompression (see if you can identify it by sound). Now, get your best pair of headphones, go to your stereo with a pad of paper, play the tracks over and over, and take notes on which track sounds the best.

    Only after you've decided which tracks sound the best can you ask your roommate which tracks were encoded with which method.

    This is not hard to do, and absolutely necessary if you want anyone to take your opinion about encoder quality seriously.

    spork

    1. Re:How to do listening tests by jonathan_ingram · · Score: 5, Informative
      If you don't have a spare friend, you can use the ABX testing method to see if you can distinguish between two files. Take a file, compress it, save to a WAV, and then give the files to the ABX program, which acts as your spare friend :)

      If you're running Windows, you can get ABX from http://www.pcabx.com/. On UNIX systems, the LAME source code comes with an ABX program (in the misc/ directory, I think).

      Here is an example of a test that took place using a slightly different testing methodology, more akin to MUSHRA (which is used to evaluate lots of encoders at the same time): http://www.ff123.net/128tests.html.

  13. What about Wave? by ucblockhead · · Score: 3, Informative
    Shit, if you are getting a 100 Gig drive, why not just screw the lossy compression and just save the wave files? 100 gigs should hold 150 cds in wave format.

    --
    The cake is a pie
  14. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  15. MPEGplus by weeeeeww · · Score: 4, Informative
    You should look into alternatives to those two. MPEGplus (*.mpc; *.mp+) is a variable bit rate (VBR) codec that gives much higher sound quality than MP3 at equivalent bit rates. I used it in conjunction with Exact Audio Copy (EAC - the *best* CD ripping software out there), and was quite pleased with the results. Supposedly, if you use the "-insane" parameter on the encoder, it's completely indistinguishable from the original, with average bit rate of around 230 kbps. I didn't test this, but here is a link to a simple comparison, and here is a more detailed one. MPEGplus' homepage has a pretty detailed description of how it works. Unfortunately it doesn't sound very good at low bit rates (but at 170 kpbs it sounds better than high (192-256+ kbps) bit rate MP3s), but hey, what's that 100 GB drive for?

    Of course, with a drive that size, you could go all-out and use Monkey's Audio, lossless audio compression (you can decode to get *exactly* the same WAV file that was encoded. Compression ratio of only 2:1 or so, but again...what's the 100 GB drive for?!! Get on Google and search around for some comparisons, and make an educated choice.

    1. Re:MPEGplus by jonathan_ingram · · Score: 5, Informative
      You must be using Windows. Monkey's Audio is a Windows only format... and you should not trust your data to a single-OS file format (yes, I would say the same for Linux-only file formats). Use FLAC instead.

      MPC has better licensing than Monkey's Audio: the *decoder* is open source (GPL even), so you will always be able to decode your music. *encoding* is only possible on Windows however (although there is an older binary version available for i386 Linux systems), and the encoder will be made shareware in the near future. This is a real pity, because tests have shown that even at 128kp/s MPC is up there with AAC (MPEG-4 audio).

  16. Define your fidelity level by brink · · Score: 5, Interesting
    Given that mp3 and ogg are each lossy (there will be erasure of sound elements) to a certain extent, this question is almost sort of disingenuous. Ultimately the answer reduces to "What sounds good to you?" As the question is stated, it kind of sounds like you want to be sort of an audiophile, but not go all out (which I can relate to, trust me.)

    What I mean by this is, are you trying to be as true to the original recording as possible, or do you just want decent sound? If the former, you're trying to approach hardcore high-end audio and you don't want ogg or mp3. If the latter, then just go by what your ears tell you -- from everything I've experienced, the two formats are virtually indistinguishable on a standard speaker setup.

    Second, you're playing said file from a computer or some kind of mp3 player. How good are your speakers/headphones? Do they have the range, presence, crispness, etc. that you want? How good is your player's line out and D/A converter? How noisy is your sound card? Hell, how much RF interference does your computer produce or induce in the sound card? If you want to be really anal, what kind of cables are you using to run to the speakers (or stereo)?

    Ultimately, since you know that you're going with something that's not going to be totally true to the original, you just have to go with what you think sounds good. You have to remember, not all ears are created equal. Go by what's good for you.

    Having said all that (and at the risk of contradicting myself), with -specific- songs I've noticed a difference between encoding at 128k and, say, 192k. This is especially true when listening with quality headphones. Classical music in general or music like Orbital in specific seem to sound better to me at 192k. After 192, I personally can't tell a difference. Your mileage may vary. I've listened to two identical classical pieces, one compressed at 128k and one at 192k, over a friend's hifi stereo and there was a difference in hearable elements and sense of presence. Over my lofi stereo there's no discernable difference.

    So, of course make sure you take this with however much salt you desire. It all comes down to what sounds good to you, and what kind of sound setup you're using. As the question was stated, it's difficult to give an accurate answer -- and of course, even a "correct" answer may not necessarily apply to you.

    Including this one.

    --
    - Jonathan
  17. lobby intel for ogg support in their firmware by Anonymous Coward · · Score: 4, Informative
    The intel pocket concert is a nice player with reprogrammable firmware.

    I sent them an email asking for ogg support and they said if there was enough interest they would implement it.

    course. someone'll have to mod this up first. ;).

    1. Re:lobby intel for ogg support in their firmware by fossa · · Score: 4, Interesting

      I emailed an mp3 radio station I once listened to and asked them to offer a vorbis stream. They responded and stated that they've looked into it (woohoo) because of mp3 licensing, but it would require a lot of time and work to switch over. They implied that they intended to switch over eventually however. A deluge of polite requests for vorbis streams would surely speed things up.

      On a slightly different note, I recently purchased some hardware for which open Linux drivers were available. So I emailed the company and told them that the availability of free / open drivers was the deciding factor of my choice of their product over a competitor's (it was). We need to do everything we can to encourage and reward good behavior in hardware manufacturers. They do listen as evidenced by the parent.

  18. Re:Bit Rates by BorgDrone · · Score: 5, Funny

    I just saw a nice quote today: "audiophiles are people who listen to the audio equipment, not the music"

  19. Re:And WMA is about 2X better by jonathan_ingram · · Score: 3, Informative

    You get almost the same quality at half the size with WMA

    Sadly, you can't. Listening tests have shown that WMA 8 has sacrified sound quality at medium/high bitrates over WMA 7 to improve quality at the low end. So it's great for music over a modem, but at 96k and above it is no better than Ogg Vorbis.

  20. Re:Mp3.. Ogg? by rcw-home · · Score: 3, Informative
    The Hardware Issue- Do you have surround sound? That would be a major question.

    No, it's not, not if you're playing music originally from CD. CD's are stereo. Not 4-channel, not 5.1. Do you expect your surround system to magically figure out what speaker to send a signal to?

    With that said, four-speaker stereo can significantly increase the size of your room's "sweet spot" and reduce the stereo distortion effect you hear when turning your head. Add a subwoofer for deep bass response, and that's about the most you'll need for accurate playback of any two-channel source.

  21. Ogg is much better, at least in high bit rates! by ponos · · Score: 4, Interesting



    I have done a >REAL3000$ stereo equipment (Van den Hul
    cables, atacama stands, gold plated connectors
    etc) to play 2 tracks in :
    a) vorbis, 192
    b) mp3, notlame, high quality VBR, stereo, 128-320, 195 kbps average
    c) original wav file

    The tracks were ripped from a superb quality
    classical recording (I play the piano), from
    DECCA.

    I then had 3 of my friends compare the track
    quality "blindly".

    The difference between vorbis and mp3 is
    immediately noticeable. Vorbis was found superior
    by all the listeners. Some people had difficulty
    telling vorbis from wav but they generally
    tended to prefer the wav. (each one was
    questioned individually)

    Personally I find the difference quite striking
    and was truly amazed!

    This was an important finding for me, because
    I make amateur recordings at home and I need
    an easy means of archival (we are talking many
    GB here, and I don't intend to fill my HD).
    I decided to use vorbis at 350 for all my
    archived recordings. (I also keep .wav on
    cds).

    I cannot say whether vorbis is also superior
    in lower bit rates such as 128kbps.

    Petros

  22. Clue! by tqbf · · Score: 5, Insightful
    How are surround sound speakers relevant to this discussion? Do you actually listen to music filtered through some cheesy "concert hall" effect?

    What difference does it make if your receiver does Dolby Digital? Your MP3s aren't an AC3 source. Receivers with "all the bells and whistles" are often of LOWER quality than those dedicated to doing one task well. Dolby Digital is for movies with earth-shattering-kabooms.

    Are there really people here that think a "16 bit" sound card can't reproduce full CD audio? How do you think they play WAV files?

    It's amazing the number of completely irrelevant factors people are bringing up here. Is there a word for the phenomenon that occurs when someone shells out money for something and then feels the need to factor its presence into anything remotely related to it?

    It's also amazing that nobody is bringing up some REAL issues:

    The quality of your connectors is more important than that of your sound card. Bring the audio to your receiver over SPDIF or TOSLINK, not over analog RCA cables! Sound cards --- ALL of them --- have really awful RCA connectors.

    Even SPDIF and TOSLINK aren't lossless --- but the conveyance of waveform audio in your computer to your audio peripherals is. Since the inside of your computer has lots of interferance (hard drives, power supplies), it logically makes sense to deliver your audio as far away from your computer as possible before converting it to send to your receiver.

    So USB audio makes a *lot* of sense for setups that simply want to do faithful MP3 playback --- a cheap Roland UA-30 will do SPDIF, TOSLINK, powers itself off the bus, and can sit yards away from your computer.

    I don't understand the original question or some of the responses regarding bit rates. I encoded my entire CD collection at 192kbs MP3. I'm not an audiophile by ANY means (and I don't want to be: I'd rather not TRAIN myself not to like my sound system!!!) --- but I *regret* doing this; guitar and (real) drum driven music sounds awful in a good car stereo (Pioneer+JL+DynAudio) at 192, and tolerable at 256.

    Even 2 years ago disk space was cheap enough to make 256 the reasonable choice. But when you can get a 75G stackable firewire drive/enclosure for less than $200, what possible incentive could you have for encoding at less than 256?

    I can't tell the difference between 256 and anything above. VBR improves sound quality when you set a floor of 256 and a ceiling of infinity; otherwise, it's just a silly hack to save disk space at the expense of your MP3 files. It may not noticeably damage audio quality, but it sure as hell makes your MP3 files more complex, harder to analyze and play with/sort/etc. MP3 is just a poor file format for what VBR asks it to do.

    Another big gotcha with MP3 is joint-stereo, the "reasonable default" in many encoders. Joint stereo is another psychoacoustic hack that saves an inconsequential amount of disk space at the expense of noticeable degradation in sound quality. It "spoofs" stereo for frequency ranges that its model believes is hard to localize in human ears. Make sure you nail your encoder at real stereo.

    The most painful gotcha of all, fortunately, is one that most people have managed to avoid, and that is that codec quality is a HUGE factor. My original batch of 600 CDs was done with bladeenc (mass groan!); bladeenc is/was completely broken. People aren't kidding when they say that Fraunhofer sounds better than random other encoders. Fortunately LAME is a great choice.

    As for Ogg: it's great that we have an open source codec. This will come in very handy for streaming audio delivery and for the cores of sound engines in games or other random programs. Because of this it's also great that Ogg is (apparently) more efficient than MP3. One hopes it will continue to become more and more efficient so it can give Microsoft's compromised but extremely efficient format a run for its money.

    But since disk space isn't an issue, if you don't trust MP3 (putting you squarely in the minority), I'd say use Shorten or some other lossless format before making the irrevocable decision to put all your music into young Ogg Vorbis. It takes a *long time* to re-encode all of your CDs (*sob*).

    Remember this: your time is far more valuable than disk drive space. Don't encode your music to the weak sound system you may have now: encode it to the ideal, even if you can't exploit it now, so that you'll be able to listen to your music without wasting time re-encoding it later on.

    1. Re:Clue! by svirre · · Score: 3, Informative


      The quality of your connectors is more important than that of your sound card. Bring the audio to your receiver over SPDIF or TOSLINK, not over analog RCA cables! Sound cards --- ALL of them --- have really awful RCA connectors.


      While digital interfaces bring a theoretical possibility for a quality change over analog links, this is _not_ due to the properties of the cables or jacks.

      Short of a connector totally covered in corrosion, no jack or reasonable cable will ever influence signals in the audio band.

      Even SPDIF and TOSLINK aren't lossless

      Yes they are, these are straight digital interfaces. Short of malfunction no data will be lost through them.

      I can't tell the difference between 256 and anything above. VBR improves sound quality when you set a floor of 256 and a ceiling of infinity; otherwise, it's just a silly hack to save disk space at the expense of your MP3 files. It may not noticeably damage audio quality, but it sure as hell makes your MP3 files more complex, harder to analyze and play with/sort/etc. MP3 is just a poor file format for what VBR asks it to do.

      VBR is part of the mp3 stadard, so it's not a hack by any stretch of the imagination.

      VBR is IMO the Right Way(TM)to do audio coding as it essentially let you select a target quality instead of a target bitrate.

      Current implementations of VBR are good enough to not degrade the sound noticeably so there is no real reason not to encode with VBR.

      can't tell the difference between 256 and anything above. VBR improves sound quality when you set a floor of 256 and a ceiling of infinity; otherwise, it's just a silly hack to save disk space at the expense of your MP3 files. It may not noticeably damage audio quality, but it sure as hell makes your MP3 files more complex, harder to analyze and play with/sort/etc. MP3 is just a poor file format for what VBR asks it to do.


      If joint stereo is a hack, then what do you call all the other techniques that make up mp3/ogg/whatever encoding.

      JS simply utilizes the fact that significant signal is common for both channels and encodes this only once. Storing this information twice makes little sense.

      JS is a efficient way to reduce space, which can be used to increase overall sound quality by using less aggressive compression on areas which actually matter.

  23. Arggh! Bad units... by Dominic_Mazzoni · · Score: 5, Insightful

    I have no idea where you got the idea that 128/44 is standard CD quality. I'm not even sure what 128/44 means.

    Let's figure out what the bitrate of CD-quality audio is:

    1. 44100 Hz (i.e. 44 kHz)
    2. Two channels
    3. 16 bits per sample

    44100*2*16 = 1411200 bits per second, or 1411 kbps. That's the bitrate of CD audio.

    Note that these are bits, not bytes. A CD takes up 1411/8 = 176 kB per second.

    So the fact that an MP3 sounds pretty good at 192 kbps (which is 24 kB per second - the capital B for Bytes instead of bits) is actually quite impressive. It's compressing by about a factor of 7.

    Luckily, most rippers don't even give you a choice. They just rip the raw bytes and stick a WAV header on each track. Good rippers verify that they're reading the CD correctly, of course, but they don't do any compression or re-encoding.

  24. Which listening tests? by JohnTheFisherman · · Score: 3, Interesting

    I avoided WMA for years, since I was afraid of all the horrible things people were saying about it. I finally tried it, and at least to my ears, a 96K WMA sounds as good as a 160K MP3. OGG is about a wash vs. MP3, and it's not supported nearly as well, which gives me about zero reason to use it. I don't spend much time in Linux, which is pretty much the only area where OGG is better supported than WMA.

    Which listening tests are you referring to? I'm pretty darned picky, and I can hear a difference. 96K is pretty bad on OGG and MP3, and very good on WMA, at least for rock music.

    And I would urge everyone to do their own listening tests - I took the pepsi challenge, and WMA won hands down.

  25. check www.r3mix.net by Malor · · Score: 4, Informative
    http://www.r3mix.net is the place to go learn about how to do mp3s RIGHT.

    I haven't directly compared OGG and mp3, mostly because I'm very happy with the quality of the mp3 encoding.

    In my own testing, the r3mix.net settings were pretty much indistinguishable from the original in terms of frequency response. I did notice some changes in spatial effects. One of my CDs in particular was affected, Deepforest 2. With the original CD playing, the sound tended to bounce all around your head when wearing headphones. After being encoded by LAME, the sound still moved some, but it was much more granular. Most of the effect was lost. However, the actual FREQUENCY RESPONSE was awesome, and the only way I could really tell the difference was by listening very intensely. It is more than adequate for normal listening.

    I did these tests about a year and a half ago, on LAME 3.81, and apparently it has improved quite a bit since. That team respects the r3mix site enough that they actually added in an '--r3mix' command line switch to implement all of their suggested settings at once. Apparently LAME now keeps more of the original signal; it's not quite so enthusiastic about assuming you can't hear certain kinds of noise. I'm hopeful this may have fixed the encoding issues I had with the earlier version.

    Basically, given the fact that he has tons of space available, and given that there's all sorts of portable MP3 players in the world, I think he may still be happiest with MP3. I certainly am.

    Equipment used: Non-golden ears, but decent ones. Soundblaster Live Platinum 5.1 (which has some frequency response issues with REAL audiophiles), Sennheiser HD 580 headphones for 'real' listening, Midiland S2 4100s (the older 2 speaker model) for casual music and gaming.

    Aside: The 580s are AWESOME headphones, and you can often get them very cheap at auction. I got mine about two years ago for about $125. They have a reputation of having flaky connections. Mine did indeed have a problem when I first got them, which I solved simply by removing and replugging the wire in the bottom of the headphone. They are fully modular, easy to disassemble and clean, and sound INCREDIBLE. Two downsides: they really need an amplified headphone jack to reach their true potential, and they are big headphones. They're very comfortable but large.

    Aside on the early model Midilands: great quality speakers, dismal amp. Hissy at any volume. Someday I'll move the way-cool little satellites onto a real amplifier, and will toss the subwoofer/amp in the trash.

  26. Re:nerves by drinkypoo · · Score: 3, Insightful
    As I understand, the compression algorithm removes from the WAV frequencies we cannot hear; just like the JPEG picture format degrades the picture quality based on the human eye perception.

    JPEG is a bad example here. Our most developed sense is eyesight; The eye is a very complex piece of equipment, and we have more brain dedicated to eyesight than any other sense.

    Also, a lot can happen to sound before it reaches your ear. A lot less happens to light (especially at close range.)

    With that said, I can definitely tell the difference between a JPEG and the original uncompressed image, even at fairly high quality settings.

    The idea behing JPEG's loss being acceptable is that photographic-type images, the kind JPEG is intended to be used for, are already grainy, due to the nature of the universe, which is also grainy. Therefore the grainyness (is that a word?) of JPEG does not cause a problem, ostensibly. In reality, you can't control HOW JPEG makes things grainy, so you may lose detail you were counting on to get a high-quality image out.

    The audio information to which you are referring is known as "psychoacoustic" audio information. While you cannot actually hear the frequencies which MP3 is supposed to be dropping, those frequencies when combined with other frequencies, the resonance of your eardrum and associated mechanisms, and so on, become audible. Sometimes it's only perceptible as a slight pressure on the eardrum, but it changes the way all other sounds are perceived at the same time. This is what the vinylcentric audiophiles are talking about when they try to explain why they prefer vinyl over a CD. When you play a very good piece of vinyl on a very good turntable, using a very good needle, going into a very good analog amplifier, and using very good speakers, headphones, or whatever, there is definitely a difference between vinyl and a compact disc.

    As you say, whether or not this difference is important is entirely up to the individual listener. But MP3 does not in fact only lose frequencies that are ostensibly not important to you, as you seem to believe; It creates QUITE perceptible differences, especially with heavy bass, as I have previously mentioned. Even a person with partial hearing loss should be able to detect the difference between the original CD source and a 128Kbps MP3 in most cases, again, especially with regards to heavy bass.

    If I listen to a music encoded in MP3, OGG, or whatever, and find it undistinguible (sp?) from a CD, it *has* CD quality -- at least, for me -- even though I have lost data in the process. "Quality" is a relative term, and will vary from person to person.

    This is true. If 128 (or lower!) Kbps bitrate mp3s are suitable for you, then go on with your badself. Me, I discard mp3s with a lower-than-192Kbps bitrate, unless it's some exceptionally rare material, or it's something where the quality doesn't matter so much, like plain speech.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  27. 96K Ogg 320K MP3 by MoNsTeR · · Score: 3, Interesting

    I ripped the Playstation Descent soundtrack to .wav, and proceeded to encode it to mp3. Problem was, there was one track with a particular instrumental arrangement that my normal 160K MP3 (LAME) just mangled. I tried various mp3 codecs, all the way up to the max of 320Kbps, and couldn't get it to sound correct. Then I tried Ogg Vorbis just for fun. Even 96K Ogg reproduces it correctly.

    Not exactly a scientific comparison, but a valuable example none the less. I've found that mp3's biggest problem is that it will mangle certain patterns in certain songs. Chances are, if you picked a random song out of my 1000+ playlist, it would sound reasonbly good at 128, or even 112 or 96. But there's a few in there, just a handful, that require 160 to sound ok, and a few (as above) that even 320 can't save. Try encoding Metallica's (heh, irony) "Until It Sleeps" at 128 or lower. When the main riff kicks in, you should be moved to vomit by how awful it sounds. Try again at 160 and it should be ok. If you can't hear it, consider yourself VERY lucky ;)

  28. BTW, some terminology and thoughts from us at Xiph by xiphmont · · Score: 5, Informative
    My first thought when I saw this article was, "Oh boy... this should get ugly and yet remain light and fluffy" but all the posts I've seen (reading at +2) have been pretty good. I don't really have much of anything to add other than 'we have some really nice quality improvements in store for rc3', mainly new noise estimation metrics, lots of stereo fixes, and other random nicities (like 20kHz cutoff at 128...)

    BTW, for more in depth discussion that has been ongoing, have a look at the forums at r3mix.net and the Ogg-specific forums at Hydrogen Audio. I keep up with both forums, and the folks there tend to make prerelease build binaries available for people to play with. For up-to-date detailed information without the overhead of the Vorbis-dev list, those are the places to go.

    One more link for folks who want to know more: The beginning of the document describing Vorbis stereo discusses good terminology and qualification of subjective fidelity. It's nothing new to most posters I expect, but it might help keep the discussion consistent.

    Happy hacking,

    Monty
    xiph.org

  29. .ogg wins in a blind test by htmlboy · · Score: 4, Interesting

    i became a fan of .ogg this summer, just because i thought it sounded better on my altec lansings. so when i came to school this fall, i couldn't resist challenging my audiophile next door neighbor/old roomate/good friend to test it.

    i'd just gotten a wynton marsalis cd from amazon, so _carnival of venice_ was used as the testing track. i made a 256k .ogg, he made a 256k .mp3 with whatever encoder it is he prefers, and then we both decoded them back to .wav, and made a 3-track cd (the 3rd track being the song uncompressed).

    we did a blind test, kinda. put the cd in his player and set it on random. it was obvious that one track was better than the others (cd) and one was a lot worse than the others (mp3). the ogg sounded remarkably like the cd track, though there were some small things that allowed us to differentiate.

    i'm not sure i'd be able to do so well on the same test using my computer speakers, of course. but the difference is certainly there.

    test stereo setup:
    CD Player: NAD 512
    Integrated Amplifier: NAD 314
    Speakers: Acoustic Energy Aesprit 300
    Interconnects: Kimber Kable PBJ
    Speaker Cables: Kimber Kable 4VS

    of course, there are problems in the test in that we only tested one track, so the findings are only representative for the wynton marsalis genre. but it made me a fan of .ogg.

    i encourage everyone to try something similar and draw your own conclusions.

  30. *blink* ye gods. by Chris+Johnson · · Score: 5, Interesting
    There _are_ no coincidences :D

    I'm the guy who wrote up a 'sonogram encoder study' using a pathologically impossible waveform to encode, and then measuring how much different mp3 encoders fell apart, and in what ways. Like r3mix.net, I wound up supporting LAME, but with some explanations for what people find compelling about Blade and Fraunhofer, respectively.

    You also should know that people have been pestering me to add Ogg comparisons for _ages_, even wanting to send me the files I couldn't encode myself on an OS 8.1 Mac.

    Well, there have been some changes at Airwindows:

    • new powermac to take on ADAT editing duties and run the quirky old transfer card I have
    • OS 8.6
    • Amadeus 2 v 3.2.3, which imports and exports Ogg- unsure quite what version- and Amadeus isn't free, but the deal is I _have_ bought it earlier and my registration number works on 3.2.3
    • iTunes (more on this later)

    And so, _yesterday_, I set about getting a preliminary look at Ogg Vorbis using sonogram analysis on my Encoder Hell test sound- put in half a day on it, and updated my site to include the new information. And today, guess what turns up on Slashdot? Spooky.

    Now, I need to emphasise that the process wasn't exactly the same as last time- I had to include some 'control' sonograms using the same mp3s that I used last time (Frau 128 and Blade 320, strong but idiosyncratic performers of known characteristics) for comparison. It's preliminary, and I don't want to immediately go into a complete shootout again because (a) it's such an undertaking and (b) I'm not at all sure I'm using a current Ogg version here. That said...

    Here is the result of this early look at Ogg Vorbis, and I think I managed to sort of exactly what Ogg is relative to mp3. Quotes from the final report:

    "Conclusion: Ogg Vorbis, at least the version I tested, is not wildly superior to mp3. Used at bit rates under 192K it tries much harder to encode real high-frequency data, but on some sounds such as a tone sweep its sophistication backfires, producing artifacts that show up plainly in the sonograms."
    "However, used at higher bit rates it strikes a very clever balance, managing to pull together the best qualities of wildly different mp3 encoders into a single sonic presentation. Again, it behaves similarly to the very impressive BladeEnc in tonal purity, but instead of the miserable transient behavior of BladeEnc, it mimics the overstated transient behavior of Fraunhofer. This could easily be seen as best of both worlds."

    That is, to my mind, a pretty strong endorsement, requiring only that high bit rates be used (as is intended) As such, I think Ogg will only become more relevant as bandwidth and storage space inevitably expand. It also is, in my professional opinion, very well positioned to keep mp3 in check- mp3 can only maintain its dominance by not getting carried away with licensing and IP abuses, because Ogg is sonically superior enough to be able to take over _if_ given the opportunity of a situation involving harsh mp3 licensing, given widespread use of higher bit rates rather than low ones. (This is why I dismiss WMA- it belongs to yesterday, an era of limited storage space and harsh licensing restrictions)

    Now, about iTunes? I have some observations that I'd love to learn more about. Basically, I picked up iTunes because there's a patch making it possible to install on system 8.6, and I did that- only to be startled by a distinct difference in sound quality which I have the background to interpret. Briefly, it sounds like iTunes dithers its mp3 output to 16 bit, instead of truncating it.

    A bit of background: any decoder, either mp3 or Ogg or whatever, is effectively synthesising a waveform from limited information. It's adding harmonics together to produce a linear PCM representation that's piped to the sound output hardware.

    I suspect everyone making mp3 players has been simply truncating the waveform to 16 bit on the assumption that it's low quality anyway and doesn't matter... until iTunes... which has startlingly better dimensionality and depth than any other player I've heard.

    However- there's no patent on the general concept of dithering. Some of the fancier ditherers and noise shaping algorithms are proprietary, but I happen to know many that are actually GPLed...

    ...because I write them. And that means that although I am not a Linux C coder- since the code and the algorithms for quadratic and primitive root residue dithers and indeterminate-order noise shaping are in the GPL sphere, the Linux world can have those technologies freely- and the proprietary world can't. Which may mean that Linux players (mp3 or Ogg) can fairly easily boast strikingly better sound quality than proprietary ones...

    It's exciting to see the pieces of a truly superior free audio technology come together...

  31. Re:nerves by vsync64 · · Score: 3, Informative
    I think I've heard of lossless compressed-audio codecs, but I can't recall any names off the top of my head.

    SHN, perhaps?

    --
    TO BUY A NEW CAR WOULD MAKE YOU SEXUALLY ATTRACTIVE.
  32. Sounds better? by kreyg · · Score: 3, Funny

    I like MP3. The "EM" is a nice hard sound to start with, and transitions nicely into the rhyming "pee" and "three" to lead into the next word.

    "Ogg" just makes me feel like I'm choking on a donut.

    :-)

    --
    sig fault
  33. Re:Is this a valid test for of audio compression? by jonathan_ingram · · Score: 4, Informative

    Sadly, this often isn't valid for quite a few reasons.

    Quite often, encoders will use very different procedures to encode a low bitrates than they would use to encode at high bitrates. They will probably use a hearing model (which models the ATH - absolute threshold of hearing) which is less demanding, for example. They may even automatically low pass the music, or resample it to a lower bitrate.

    For example, Ogg Vorbis has different methods of channel coupling. At very high bitrates, no stereo information is lost. At medium bitrates, no stereo information is lost for the sounds we are most sensitive to, but for others the phasing is quantisised. The degree of compression determines the range of lossless coupling, and also the amount of quantisisation -- and each may have its own distinctive artifacts.

    MP3 can't encode stereo 44kHz (CD quality) sound at 48kp/s without sounding truely terrible. If you try with LAME, you will find that it automatically resamples, and uses one of the 'extensions' to the official MP3 specification which encode better at low bitrates by resampling the sound.

  34. lame --dm-preset standard (for ver. 3.90 or newer) by Artemis3 · · Score: 3, Informative
    Oh, here we go again...

    Ok, we got many things (using lame style names):

    CBR = Constant bit rate = Variable quality
    VBR = Variable bit rate = Constant quality
    ABR = Target bit rate = Variable but not as much quality

    OGG normally uses a form of ABR, but is capable to do true CBR and true VBR as well (not sure which versions enabled for).

    Also, even if you are using true CBR, there is little room for flexibility in the form of the "bit reservoir"; you can save some bits in the "easy parts" so they can be better spent in the hard parts.

    Second, mp3, being open in some way or another, has the side effect of many encoders available. Different encoders produce different quality. Take 4 192kbps mp3s encoded with 4 different encoders, and you will discover quality differences as day to night.

    And to use Lame properly, first, let me suggest that you *at least* use Lame 3.89b. Lame 3.70 is *too old*. If you get Lame 3.90a, even better.

    Want to be on the safe side? use this single option:

    lame --dm-preset standard

    This will produce near 256kbps files, and its the hightest quality you can get out of mp3s.

    If you think you can live with 192kbps like files, then use

    lame --r3mix

    Otherwise stick to the normal, don't apply options you don't know much of. Typically you *always* want -h, and -b for the desired bitrate in case of CBR, or minimun frame bitrate for audio in the case of VBR (usually 112 or 128). ABR is VBR attempting an average bitrate. And no, it is not wise to use option -B at all (let the encoder use up to 320kbps frames when using VBR).

    If this topic of lossy compression is of interest for you, then you should visit:

    Proyect Mayhem, channel #Project_Mayhem at irc.openprojects.org
    and
    r3mix.net, channel #r3mix at irc.openprojects.org

    Um... on side note, have you seen The Wavelet Tutorial yet? Wavelets are planned for Ogg Vorbis 2.x, stay tuned... :)

    --
    Artix
    Your Linux, your init.
  35. An engineering challange by Technician · · Score: 3, Interesting

    Anybody have a Dennon Test CD or digital equivilant? Anyone have a distortion anlyzer? Osciliscope? Spectrum display? Take a CD of some of the sine wave tracks (direct digital mastered) and encode them into the various formats. Check the results. I am interested in THD, S/N ratio, Jitter, and ailising frequencies. Anybody up to this and posting repeatable test results? Lets find out what the artifacts are on a 20 HZ bass signal as well a 440 HZ and 3 KHZ. I have part of the test equipment needed to perform the tests. My amp is rated at 0.005% THD which is below the capibilities of my test equipment to measure it.

    --
    The truth shall set you free!