I wanted to visualize some music, but I actually had no clue where to start.

What it does

It takes in a stream of audio (using PyAudio) and it applies a Fast Fourier Transformation algorithm to the stream (using a modified built-in from Numpy), which processes the audio and represents it visually on a Pygame GUI.

How I built it

I used Pyaudio, the numpy/scipy suite and Python for the data processing part, and the front-end Pygame.

Challenges I ran into

It was so hard. It was just simply hard. I had to learn the details for a fourier transformation without a solid background in linear algebra, which was absolute nuts.

Accomplishments that I'm proud of

But in the end, everything worked out just fine. A lot of Googling and a lot of textbook flipping, I finally understood the Fourier Transformation algorithm and got the program to work.

What I learned

With dedication (and Google haha), anything will work in the end!

Built With

Share this project: