This is an example, how to save audio data to a text file, and load this text file, prepare and display it. This is very important if you want to visualize music in non-realtime (e.g. the visualization is too complex).
Check Video Tutorial:
And some of my results using this workflow:
p = play/mute music
s = play/pause
Music: CocoRosie - The moon asked the crow
To tweak this sketch, first download it.
Make your updates, then upload your tweak!