The best example of audio data manipulating GPIO pins is the LightshowPi project. Experience in Python, especially NumPy is tantamount for the success of such a project. Audio input and output is done with the pyalsaaudiopyalsaaudio module.
TL,DR: Learn the mathmaticsmathematics behind the Fast Fourier Transform, learn NumPy.