Led cube 8x8x8 Spectrum Analyzer code ?

I have make the cube 8x8x8 use my arduino uno, and I do the modul to make the cube respond to music. The schematic here :

But i don't known how to code it, can someone help me ?

Hi! Do you mean you have the code but don't know how to program it or do you mean you need to write the code?
Do you have code examples for the 8x8x8 cube??