Scientific Audio Codec Shootout

Today we performed a wildly scientific comparison of a few audio codecs using an oscilloscope and La Linea.

Scientific Test Protocol

We acquired a framegrab from Google Image search and converted it into a list of points using a handheld vectorization device.

The vectorized Linea was then rendered into an audio file and displayed on a common oscilloscope operating in x/y-mode. In this mode the left channel controls deflection of the beam along the x axis, and the right the y axis.

Uncompressed

(download audio) For comparison, this is the uncompressed signal, showing la Linea in a characteristic pose.

La Linea on a scope
La Linea on a scope

MP3, 160 kilobit

(download audio) Encoded with lame -b 160, to match the bit rate of the Vorbis encoded stream.

La Linea, compressed with MP3
La Linea, compressed with MP3

Vorbis, 160 kilobit

(download audio) Encoded by oggenc, using the default settings

La Linea, compressed with Ogg Vorbis
La Linea, compressed with Ogg Vorbis

Conclusion

As can be plainly seen, Ogg Vorbis (left) is the superior codec for vector imagery.

Ogg Vorbis (left) vs MP3 (right)
Ogg Vorbis (left) vs MP3 (right)

From the same lab, Pål's waffle machine.

[Comment on this]

Posted February 24 2005
How to enumerate bits quickly using DeBruijn sequences.
GCC has some clever tricks up its sleeve for compiling the humble division operator.
Some simple bite-sized browser enhancements. Drag them to your bookmarks toolbar.
These little hacks were originally posted at the Medallia blog; since I no longer work there, I thought it would be more appropriate to keep them here.
More...
Nov 27 2008
15:18 ui\
15:18 wef
Nov 28 2008
22:08 cool, random art, right?
22:08 seen better, though
Nov 29 2008
19:35 wtf :)
Dec 1 2008
14:12 Kom til Trondheim da...
15:10 hi
Dec 3 2008
14:52 пп
Dec 4 2008
03:56 blabb
04:58 bleep
Dec 5 2008
06:10 yah!
Dec 11 2008
02:38 irc+code
Dec 12 2008
15:22 Not a search box, sorry. And the WAP IRC is gone forever.
Dec 28 2008
20:02 shit
Dec 31 2008
23:09 test - bb
Jan 3 2009
17:11 nice site

My CSS-fu is weak; please use a recent browser.

Some rights reserved.

Random, semi-related background image by jimmyroq.