News for hackers. Stuff that matters.
Re:Adventures of developing an MP3 decoder in Python by mryall on Sunday October 03, 2010 @06:52PM (#1753888)
The bit that cracked me up:

> I finished the decoder and it can produce wav file output from an mp3. The good news is that is works, the bad news is that its 34 times to slow to play the audio runtime.

I think it's great to try learning something in a language that makes experimentation easy. Looking forward to see how he goes with the optimisation.

Re:Adventures of developing an MP3 decoder in Python by noonespecial on Sunday October 03, 2010 @07:35PM (#1753996)
My first attempt to write a decoder was done on a "Cyrix" 586 processor at 90 Mhz. (The kind that fit in a 486 motherboard and let you pretend you had a pentium.) I wrote it in pascal. It did just a little better than 1.5 weeks per minute of audio. I was thrilled to no end that I'd made it work at all.

My hats off to him.

Re:Adventures of developing an MP3 decoder in Python by StavrosK on Monday October 04, 2010 @04:40AM (#1755035)
Wait, if it took a day per second, how did you even know it worked? :P
Re:Adventures of developing an MP3 decoder in Python by noonespecial on Monday October 04, 2010 @01:50PM (#1756549)
I downloaded "Hotel California" via FTP from tamu.edu, set it for somewhere about the middle and did 10 seconds. I recognized what I heard and was thrilled.
Re:Adventures of developing an MP3 decoder in Python by masklinn on Monday October 04, 2010 @06:35AM (#1755220)
Left it running for days on short samples? (also 1.5 weeks for 60 seconds would be ~6 seconds per day, not one).
Re:Adventures of developing an MP3 decoder in Python by StavrosK on Monday October 04, 2010 @07:17AM (#1755286)
Huh, this is true. I wonder where my math went, there.