Audio Compression Primer 236
Hack Jandy writes "For those of you with a little extra time this afternoon, check out Sudhian's primer to all things concerning audio compression. The article details everything from DRM to CRC matrixes (with a healthy dosage of Ogg)."
Is FLAC worth it? (Score:4, Insightful)
Unless your doing some form of audio editing or "production" recording, is lossless really worth the extra size compared to a 192kbps Ogg or MP3? I usually have more problems with static from the stupid 3.5mm jack than a lossy format.
Re:Is FLAC worth it? (Score:2, Funny)
In short--its entirely up to you!
Re:Is FLAC worth it? (Score:3, Interesting)
I'll go stereo to mono and reencode at 22khz for my tv captures. It sounds the same to me.
As for mp3s, etc, the only time I ever listen to it in the car, and there's so much ambient noise, it's not worth bothering. Hell, 128k joint stereo sounds like the CD to me, I don't know any better.
I don't listen to much music anymore. All the bullshit and RIAA and this is legal and blah blah blah, it's all killed music as an artform for me. I used to play guitar in bands,
Re:Is FLAC worth it? (Score:3, Interesting)
Really seems to depend on the codec; I can get 128kbps MP3s with notlame that sound really good through moderately decent headphones, but I download other people's 128kbps MP3s and you can hear the artifacts clearly.
Have they been re-encoded once or more (losing quality), re-encoded from a slower bitrate, or was the encoder that did it just severely crap? Who knows.
I notice that 192kbps MP3s seem to be more common now than they
Re:Is FLAC worth it? (Score:2)
1. Artifacts. That is the easiest way to recognise an MP3. Because you can hear them!!!
2. Frequency decay. This is tricky and you need a lot of attention to hear it. Some frequencies are cut off, that is the whole concept of MP3 compression. Some of them would be audible or perceptible.
all in all, I'm backing up all my CDs in MP3, 320kbps. I used to do it at 256kbps, but I did a few mont
Re:Is FLAC worth it? (Score:2)
MP3 degrades the sound in another way; it doesn't do quadraphonic
Maybe I'm being stereotypical, but my mental stereotype of a Pink Floyd fan is someone with an expensive hi-fi, obsessed with quality sound. Frankly, I'd expect them to be the target audience for DVD-A and SACD.
As a genuine question (re: backing up as WAVs; and if you're that
Re:Is FLAC worth it? (Score:2)
You just need to stop letting MTV tell you what to listen to. There is a ton of great music out nowadays - it just isn't on the radio.
Re:Is FLAC worth it? (Score:2)
FLAC is often worth it. (Score:4, Interesting)
Most of the time I am content with a good Ogg encode (I mean, hell, I'd never have heard the difference if the samples weren't played back to back!) I generally only use FLAC for a) my favorite albums and b) classical music. Size wouldn't be an issue... but for the fact that I keep an oft-updated mirror of the data on a second computer. As drive space is become rather inexpensive, I forsee a time when lossless will be the way to go, except for portables.
*Ascend Acoustics CBM-300 stereo pair, HSU sub, and a HK AVR-325 receiver.
Re:FLAC is often worth it. (Score:3, Interesting)
Oggenc, using libogg 1.0 I believe. Played back with winamp 5, whatever they use as their decoder. We also tried converting the Ogg back to a PCM wave file and burning the new and old wav to CD, to see if that made a difference.*
I'm not sure if there is a limitation on FLAC that makes it unable to carry more information than OGG, but remember that the real limitation would then be the CDs, which are mastered at 16bit/44.
Life above 20kHz (Score:2)
Have a read: "There's Life Above 20kHz!"
http://www.cco.caltech.edu/~boyk/spectra/spectra. h tm [caltech.edu]
Feel free to jump to section X & XI (results).
I haven't been able to find too much more, newer work done on the subject, so I don't think there is a great deal of scientific interest in it. Interesting read though.
Re:Is FLAC worth it? (Score:2, Informative)
You might choose Ogg for your audio then sometime in the future, a new lossy format sweeps the industry. Your Ogg files might not convert well to the new format.
and besides...Disk is Cheap!
Re:Is FLAC worth it? (Score:4, Interesting)
Re:Is FLAC worth it? (Score:3, Interesting)
Same here... I began a search last year for a Vorbis CD player, and found that they simply do not exist (I've heard rumors of a few available only in random SouthEast Asian countries, but that doesn't really do me a whole lot of good).
So rather than either transcode my OGGs to MP3s, or rip my CD collection again (for the third time... Boy did I every choose poorly to pick VQF the first time) to MP3 to keep alongside m
Re:Is FLAC worth it? (Score:2)
iPods play MP3. You don't have to use AAC.
Re:Is FLAC worth it? (Score:2)
Re:Is FLAC worth it? (Score:3, Insightful)
That's exactly why I switched to FLAC as well. When you choose a lossy codec, you're locking yourself in to it. With FLAC, I can reencode to anything else with minimal effort and no transcoding loss.
My flac albums are an average o
Re:Is FLAC worth it? (Score:2)
I have two reasons. First, I've had my physical CD collection stolen, which sucks. I wish I had lossless rips of all
Re:Is FLAC worth it? (Score:2)
I think the only real question is, how soon until FLAC becomes pointless because you might as well stick with WAVs? I suppose there will always be benefits to wrapping WAVs inside of another format, which can store things like tags and other such metadata. Also, the coming of better-than-CD audio formats will only increase the want/need for lossless compression.
Re:Is FLAC worth it? (Score:2)
Never. Debian packages all ship with compressed text documentation even though it probably only saves a few hundred bytes in many cases. The manpages on most Unix systems are gzipped until you actually read them. Compare a 2KB text file with a several-meg .wav - if it's worthwhile to compress the former, then there will be a benefit to compressing the latter for years to come.
Hey! Me too! (Score:5, Insightful)
I've got about 350GB of lossless audio goodness in a set of nice oak bookshelves built into my wall. Considering that the time it takes to get up, get a CD, rip it, and encode it is not much longer than it takes to locate a FLACed album on my fileserver and encode it - that is, the encoding stage is several times longer than the "get up and rip the first track before starting to encode" phase - I think I'll stick with my current system.
Re:Hey! Me too! (Score:2)
FLAC will live forever (Score:3, Informative)
Another reason it's going to be around and much more prevalent as time goes on is that the compression is so good and the speed/resource usage figures are so attractive. When I rip CD's to FLAC I am limited to 40x by my burner (CPU utilization is around 20-25%). When I rip the same CD to ogg, I top out under 30X because the processor has reached 10
Re: Full hard drive (Score:2)
When I want to go mobile with my music, I transcode
Re:Is FLAC worth it? (Score:2)
Well, I store all my new rips as flac. Disk is cheap, the time it takes to rip all my albums is not. I just encode to ogg for my player, but if I need mp3 (or another bitrate) or something else I can regenerate it without having to rip all over again or do a double-lossy co
Re:Is FLAC worth it? (Score:3, Interesting)
Re:Is FLAC worth it? (Score:2, Insightful)
-Peter
Re:Is FLAC worth it? (Score:2, Insightful)
300GB hard disk = $150.
Average flac compressed CD =~ 250MB
That equals 1200 albums stored on $150 of hardware, or 13 cents per CD and it is only getting cheaper.
The question should really be - for long term storage, is it really worth not going lossless? Remember, you can always convert from flac to your favorite lossy format at whatever bitrate you want, but yo
Re:Is FLAC worth it? (Score:2)
Space to store my music in FLAC = 1.5TB
Cost for the extra storage = 600$
Money that I don't have = 600$
Seriously... if I had 600$ to blow away, I'd use it to upgrade my lousy 256k/s DSL to ~750k/s for the next 2 1/2 years.
Besides, who is to say whether you'll have everything that you'll want for the future? What if you decide that you want cd covers and and there's a neat piece of hardware to simplify their creation? What if the future is multichannel sound? Wha
Re:Is FLAC worth it? (Score:2)
Applicable. And both make you have to dig out your CDs again. Additionally, you skipped the other possibilities that I listed - and I hardly listed all possibilities. One has absolutely no way to know what formats will arrive in the future - and formats seem to change pretty rapidly nowadays.
> Lossy algorithms understand you not
No, you do not understand them (and please stop speaking like that, it makes for an annoying discussion). If your CD is 44100 kh
Re:Is FLAC worth it? (Score:2)
I'll put it to you this way: remember back when mp3s were too large for you to reasonably store on your computer unless you had money to burn? There was another type of music that was popular in some circles back then, called "tracked music" -
Re:Is FLAC worth it? (Score:2)
Ogg Vorbis (192K): 43 Megs
FLAC: 325 Megs
Uncompressed WAV: 575 Megs
I would have to guess that your choic
Re:Is FLAC worth it? (Score:2)
Except that WAV is no more "pure" than FLAC - that's the beauty of a lossless format
Re:Is FLAC worth it? (Score:2)
Virtually dismisses lossy compression (Score:5, Insightful)
Each to their own, but I am more than satisfied with oggs or mp3s encoded at a reasonable bitrate - I think the popularity of hardware such as iPods suggest that most other people are too.
Re:Virtually dismisses lossy compression (Score:2)
But then maybe I just don't know what a healthy dosage might be. Could it be that seeing Ogg mentioned three times in an article could be fatal?
Re:Virtually dismisses lossy compression (Score:2, Informative)
I don't agree with the dismissal of lossy algorithms either, but I think it makes sense given the context.
Re:Virtually dismisses lossy compression (Score:3, Informative)
Did I miss a crucial link or something?
iPods don't play .ogg (Score:2, Informative)
Re:Virtually dismisses lossy compression (Score:2)
128K should be enough for everyone (Score:2, Interesting)
Re:128K should be enough for everyone (Score:4, Insightful)
Re:128K should be enough for everyone (Score:3, Informative)
Or consider this; since FM radio has a limited range of frequencies that come across well, songs that are intended to be widely played on FM radio (e.g. Britney Spear's latest "hit" song) are actually engineered to sound best in those frequencies. With the end result that when you hear Britney Spears on the radio, the track sounds just like it does on the CD.
Meanwhile, quality music, lovingly mixed ont
Re:128K should be enough for everyone (Score:3, Interesting)
Just recently I finally heard the difference between a 128 kbit mp3 and the uncompressed version in a blind test. It required good speakers and amplifier. Some instruments in certain frequency bands were definitely quieter and some instruments had their stereo imaging slightly wrong. Some transaural 3-d effects were diminished. It surprised me to hear the difference because I know that my ears have been damaged by playing in loud
128/192 kbps is enough for everyone... (Score:4, Insightful)
On repeated double-blind tests on very expensive equipment, even audiophiles are unable to distinguish between CD quality and LAME encoded 192 kbps MP3 files. Those who say they are able to aren't using double-blind tests or have super-human mutant ears. If you go check over at Hydrogen-Audio (where audiophiles and people who care far too much about LAME settings hang out), most of the forum posts indicate that anything above 192 kbps is transparent even to their equipment, which is pretty above average.
On regular equipment, PC World did a small test a while ago on standard equipment: http://www.pcworld.com/reviews/article/0,aid,6412
Their results found that ~192 kbps is pretty much transparent as well.
mp3-tech.org also has a listening test availible. On their run, they found 192 CBR kbps to be nearly transparent (*feels* different, but don't know why), and 256 kbps CBR to be completely transparent (can't tell compressed from source CD).
"The listening equipment is the following
* Teac VRDS 25 CD reader
* MIT T2 cables
* Yamaha AX 1050 amplifier
* Denon PMA 960 amplifier (for frequencies 50Hz)
* Celestion speakers"
This test was also done a while ago on an older mp3 compression program( c. 1998), so current LAME encoding probably allows for complete transparency at 192kbps or so.
I smell BS (Score:2)
128/192 kbps is far from enough (Score:2)
See this other post [slashdot.org], and before you start asking, I encoded with lame, with the r3imx archive CBR profile (at least for the 256kbps track). And this is the second time I do this kind of test with two different people. So there is obviously a difference for him between 256kbps and uncompressed.
And remember that if average joe cannot tell the difference with his $200 speakers, he will be disappointed when he'l
"VBR" 320kbps (Score:3, Informative)
Sampling frequency would typically be 44.1KHz, bitrate would be 128kbps. Also, FM radio quality (with good reception) compares to about 96kbps well-encoded mp3, so there's not much point in them recording higher except for archival purposes.
You should be using LAME to encode, and LAME only goes up to 320kbps (blade for instance goes up to 384kbps, but is much lower quality), ergo you can only hav
Nyquist (Score:2)
Some guy has a law that says you need to sample at a rate twice as frequent as the signal your sampling. Makes sense if you think about it.
That would be Mr. Nyquist. In practice, you get about 80% of the ideal bandwidth due to a non-zero transition width in the anti-alias filter and extreme group-delay at passband edge.
To be precise, you have to sample at twice the bandwith of your signal. For a lowpass signal (audio would count), this is twice the highest frequency present. For a bandpass signal (
Re:128K should be enough for everyone (Score:2)
A 10kHz waveform sampled at 20kHz would be one single point at the peak of one wave and the trough of another. What happens when you go to put it back together? Well, basically you just get a smoothed line from one point to another.
What if your waveform had a peak that (for example) was sustained and then suddenly dropped to the trough? Well , all you'd get out the other end would be the same line from the p
Re:128K should be enough for everyone (Score:4, Informative)
Bose is doesn't make high-quality speakers, they make expensive speakers that don't perform nearly as well as alternatives (for instance, the Acoustimass satellites use crappy paper cones that perform poorly in the upper frequencies). A $300 pair of B&W DM302's will thrash anything Bose makes soundly for sound quality. Also investigate Hale, Thiel, or Paradigm. If you really want to spend thousands, spend it on Magnepan (Magneplanar 1.6Q) or Vandersteen (2ce signature) or the higher end speakers from the companies I already mentioned. But those DM302's are good enough to be highly rated by places like Stereophile magazine and they're an incredible deal.
If you really want a bunch of little satellite speakers, Energy makes a much better sounding (and somewhat cheaper) system like that. I hear from people I trust that Tannoy makes an incredible one as well, but I haven't heard it.
Re:128K should be enough for everyone (Score:2)
Re:128K should be enough for everyone (Score:2)
Re:128K should be enough for everyone (Score:2)
BOSE = Buy Other Sound Equipment. Expensive, and they sound like dirt.
Re:128K should be enough for everyone (Score:2)
Re:128K should be enough for everyone (Score:2)
ie, 192kbps introduces virtually no discernible signal distortion.
Waste of time . . . (Score:4, Insightful)
being pedantic, but... (Score:3, Informative)
Shouldn't that be 1200 kb/s? 150 KB/s * 8 = 1200 kb/s, right? Or is the 150 KB/s figure I'm using incorrect (I could have sworn that was the 1x CD speed)?
Re:being pedantic, but... (Score:2, Informative)
The 150KB number is for CD-ROM data storage, the gap between the two data rates is for the extra error detection and correction.
Re:being pedantic, but... (Score:2, Informative)
There's even a little more room, in the subcode channels where one can hide the data for CD+G (karaoke) or CD-TEXT.
Re:being pedantic, but... (Score:3, Informative)
Shouldn't that be 1200 kb/s? 150 KB/s * 8 = 1200 kb/s, right? Or is the 150 KB/s figure I'm using incorrect (I could have sworn that was the 1x CD speed)?
Data CDs are 150 KB/s at 1x, but you're missing an important difference between data and audio CDs.
CD sectors are 2352 bytes (I'm ignoring subchannels here). Data CDs have 2048 data bytes, plus 304 bytes of error-correction data, so every bit comes off perfectly. Audio CDs have no error correction, so they use all 2352 bytes for audio data (on the ass
Re:being pedantic, but... (Score:2)
Re:being pedantic, but... (Score:2)
iTunes reports 44.1khz, 16 bit Stereo .wav and .aiff files to be 1411kbps.
We're talking about the same number here: 1.41e6 bits/sec. It appears that iTunes is basing their numbers on kilobit=1000 bits. Since I had been comparing to a value based on that 150KB/s number, in which 1KB=1024 bytes, I used 1024 instead, hence 1378.
Re:being pedantic, but... (Score:2)
Shouldn't that be 1200 kb/s? 150 KB/s * 8 = 1200 kb/s, right? Or is the 150 KB/s figure I'm using incorrect (I could have sworn that was the 1x CD speed)?
Permit me to be even more pedantic :-)
150kB is approximately the right speed, but is tweaked for ISO FS overhead. Audio CD's have no file system, and can thus store 746MB of PCM audio per 74 minute CD or 807MB of PCM audio per 80 minute CD.
The actual rate is 44100Hz * 16 bits * 2 channels = 1 411 200 bits/second.
AAC (Score:4, Informative)
I did a little googling and found this (http://www.teamcombooks.com/mp3handbook/13.htm [teamcombooks.com]):
Re:AAC (Score:5, Interesting)
The parent is plain wrong. ("Don't believe all you read on the internet, kids")
Re:AAC (Score:2)
Since this article is mostly about lossless codecs and barely mentions the lossy ones, I don't see it as unusual that it doesn't mention AAC. It doesn't mention MP3 Pro, Real Audio, VQF, or many others, either.
The interesting information from Apple that it leaves out is about Apple Lossless Encoder. [apple.com] This is built into iTunes, so it's easy to rip to this format on both Macs and PC's. Obviously, it can be played back with iTunes too. It compresses to about 60%. It can be played back on the iPod, and it does
16 bit CD encoding (Score:2)
I always thought CDs were encoded in 12 bit, not 16?
Re:16 bit CD encoding (Score:2)
I still hear MDCT distortions (Score:3, Insightful)
Call me crazy, but I insist that there are certain 'killer' tracks where I can hear this distortion even at higher bitrates in advanced MDCT codecs like Vorbis, namely Led Zeppelin / Rock and Roll whose drumline consists of a ridiculous number of cymbal crashes in rapid succession.
The way I see it, the future is lossless. With hard drives burgeoning to over 500GB and Fiber-to-the-Home becoming a reality within the near future, why bother saving a little extra space at the cost of degraded quality, which, the more you listen to audio compressed with a certain transform, the more likely you are to hear distortions? I think in the future we'll see a greater trend towards lossless audio compression with codes like FLAC and its ilk.
Re:I still hear MDCT distortions (Score:2)
Things like talking books as such would do very well using Speex. The only problem is I have yet to see a mobil player that supports it.
Actually, you hear quantization distortion (Score:2, Informative)
The MDCT in itself is actually lossless. Any distortion you notice is most likely introduced by the quantization applied post MDCT during compression.
Re:I still hear MDCT distortions (Score:5, Interesting)
Of course this doesn't go against what you're saying at all, other than calling FLAC "perfect" is wrong. It might be the same as the CD, but that has it's own problems.
Re:I still hear MDCT distortions (Score:2)
the future is definately not lossless. why would we go backwards? with cpu's getting faster more emphesis will be put on accurate encoding instead of fast encoding and the distortions will eventually go away
Re:I still hear MDCT distortions (Score:2)
Sure it is. Once you hit 192KHz at 24-bit, there isn't a speaker-system on earth that can do any better, and certainly the human at the recieving end can't tell the difference. Since a human can only listen to so much music at a time, when you've got the storage to store everything lossless, why would you bother to compress it, if only to save on encoding time?
Re:I still hear MDCT distortions (Score:2)
Just because you have the extra space doesnt mean you should waste it. If you have the space for N lossless objects, and you can compress them at 50% (low compared to mp3/ogg), you free up half the disk.
Re:I still hear MDCT distortions (Score:2)
No, I don't use TIFFs for my images, but that's because my internet bandwidth is the limiting factor, not my storage space. Since I'm assuming we're talking about legally-ripped MP3s, internet bandwidth doesn't enter into the equation here. What's growing at a
Re:I still hear MDCT distortions (Score:2)
Because assuming prices are the same relationally to now, you could compress all of your music and it would fit on a 500gig mp3 player, which would presumably be half as expensive.
more algorithms (Score:5, Informative)
Re:more algorithms (Score:3, Informative)
transcoding (Score:2)
I believe that I used the default settings for both oggenc and lame,
Re:transcoding (Score:2)
Re:transcoding (Score:2)
Missing "Apple Lossless Encoder" (Score:2)
Weapon of Choice
"However, you can choose to use different audio formats for any track that you import from CD. iTunes lets you convert your music to MP3s at high bit-rate for no additional charge. Using AAC or MP3, you can store more than 100 songs in the same amount of space as a single CD. Discerning customers and audioph
ARRRG! He gets Nyquist WRONG! (Score:4, Informative)
WRONG!
Nyquist's criterion is "You must have at least twice as many samples as the largest BANDWIDTH of the signal in order to correctly reconstruct it."
You can take a 10.7 MHz signal, and sample it at 10000 samples per second, and correctly reconstruct it, so long as the signal is guaranteed to be bandwidth limited to 10.7 MHz +/- 2.5 kHz. This is often done in software defined radio to aquire the signal from the intermediate frequency (IF) of the analog front end.
You also have to have an appropriate reconstruction filter at the output of the system in order to correctly recover the signal - if you don't have the right reconstruction filter, you will NOT reconstruct the signal correctly.
You also have to take into account the effects of any signal modulation - take a 20 kHz sine wave, and burst it for 10 msec, and you widen the bandwidth of the signal by about 100 Hz (depending upon the exact shape of the burst - a perfect square burst will widen the signal as a sinc function and will, in effect, increase the bandwidth to infinity, which is why square bursts are generally Considered Harmful in communications work).
Also, you don't oversample a signal in time to account for "rounding errors" - you oversample in time because the frequency response of sampling a system in time introduces a sinc response in frequency - by moving the sampling rate up you reduce the impact of this response on the recovered signal's frequency response. You also greately ease the requirements on the reconstruction filter - the filter can be wider (have fewer poles in the transfer function - thus fewer parts needed).
Re:ARRRG! He gets Nyquist WRONG! (Score:2)
You can sample and reconstruct a 10kHz sine wave with a 20kHz sampling rate, but the samples have to be taken at the peaks of the sine wave for the reconstruction to be accurate. In the worst case, the samples could be taken at the zeros of the si
Re:ARRRG! He gets Nyquist WRONG! (Score:2)
What you describe is sampling a 10kHz sine wave at 10kHz. In that case, only one point per period of the sine wave is sampled, and the reconstruction is a straight line. At a sampling rate of 20kHz, I can capture two samp
Re:ARRRG! He gets Nyquist WRONG! (Score:2)
That is correct. I think pure sinusoidal signals give Nyquist sampling more trouble than general signals, so in fact most sampling schemes use a sampling rate just slightly higher than the Nyquist rate. For example, I think audio signals are bandlimited to 0-20kHz before being sampled at 44.1 kHz (for recording to a CD, for
Re:ARRRG! He gets Nyquist WRONG! (Score:3, Informative)
"humans can hear from 50 to 22,000Hz on average" (Score:3)
Good background, but heavily biased (Score:3, Interesting)
However, the rest of the article is approached from the heavily biased opinion point of an "audiophile", which the majority of the population is not. These audio experts have fantastic equipment and a keen sense of hearing, allowing them to distinguish between the subtle difference between high fidelity recording and playback. Such people like software like foobar2000 [foobar2000.org] and care a lot about dynamic range, and for the most part think that lossy encoding is a shame. This is a bit about being picky, and a bit about showing off, but either way it's a minority viewpoint.
But such people are by far the minority of the public. Most of us don't get caught up in the subtle details of audio recording and playback, partially because we don't care, and partially because we don't have the fine equipment (electronics and human ear) to notice such things. So the article for instance completely dismisses lossy encoding, even though this is by far the most exciting frontier of modern audio compression. You can get 64 kbps (ogg vorbis) or 32 kbps (aac) streams that sound amazing to most people, as good as FM radio.
As an Engineer that is what I find exciting, because we can transport "essentially the same" amount of media in far, far less bandwidth than it required a decade ago. And the efficiency is improving all the time, ditto for video.
perception of compression differs immensely (Score:2)
I think you mean Vorbis, not Ogg. And even then... (Score:2)
There is a distinction between Ogg and Vorbis that is lost in the summary (and much of the discussion). Ogg is a container format which can hold many other kinds of data (video like Theora, audio like Vorbis, and lyrics in a format which is being worked on, just to name a few) including combinations of data encoded with various codecs. So the lossy encoding in question is Vorbis, not Ogg.
Just because a program can understand the cont
Musepack? (Score:2, Flamebait)
Also, if you do a frequency analysis of the raw input compared to MPC's --standard setting output, there's very little difference, where as MP3/etc. will do a "round" or "drop off" after a certain frequency, usually 16-20kHz.
Anyways, hydrogenaudio.org is a great site for information about all this stuff..
It's sort of a primer (Score:2)
Re:Developers? (Score:2, Insightful)
And what the fuck is this? The sampling rate of the sound has absolutely nothing to do with "rounding errors". There is rounding only within the sample itself, as it is quantized to an x-bit value.
This guy should take a math class.
You are wrong. Go read the flac specification. (Score:2)
Flac is very much like run length encoding, in fact run length (ie DC signal) is one of block types.
FLAC says take this starting point and extend it for X samples by applying one of four very simple formulae to generate each subsequent sample. Then take that signal and add this residual signal to it (which has a very small amplitude so can be expressed in a small number of bits) and you've got the output signal.
It is WAY WAY simpler than a lossy codec, and thinking of it as having the RLE concept at its c
Re:The actual meaning of lossless ?? Any clues? (Score:2, Informative)
That is, the checksums for A and A' should match, etc.
That's how I define mathematically lossless.
Whatever this asshat is on about double blind and testing and all that, has more to do with the ability of his FLAC playing equipment to sound the same as his CD player, which is a whole 'nother ball of wax altogether.
Re:Make the right choice. Choose Vorbis. (Score:4, Funny)
But no one came.
Tremor doesn't always help (Score:2)
Xiph.org couldn't have made it any easier for hardware manufacturers, providing the integer codec Tremor (to run on embedded processors)
There are two kinds of devices that can theoretically decode MP3 but not Vorbis. Vorbis, even with the Tremor fixed-point implementation, generally requires more arithmetic operations and memory accesses per sample than MP3 does, and a device that decodes MP3 in real time at 95% CPU utilization (using the other 5% to drive the user interface and the storage device) may