The article:
http://blog.bjrn.se/2008/10/lets-build-mp3-decoder.html
.