Analyze the sound with fft and make it flow like stream

I want to divide the sound into 256 stages with fft and like the image below.
This image is flowing from the bottom to the top, where the strongest intensity is displayed white. I want to display the sound as History like this, not to make the sound up or down in the spectrum like this, but I do not know how to write the program.

Hi tktr. My suggestion would be that you start with some of the audio examples included with oF and some of the fft add-ons from ofxaddons.com as well, and get the hang of those first. Some other things you might want to check out:

The ofBook chapter on Sound
Lewis Lepton openFrameworks tutorial - 035 audio reactive shape

Good luck!