[HELP] Audio Visualizer's code won't compile [Blender Cookie Tut]

I’ve been trying to get this code running and i just have no idea what could be wrong with it. I’m new to python (of course…) and help would be greatly appreciated.

code: http://www.pasteall.org/22615

the tutorial im following: http://www.blendercookie.com/2011/06/02/building-an-audio-visualizer-in-python/