Program that generates an image based of music / frequencies

Hey all,

First of all I’m a real beginner in Processing and coding. I’ve had some basics at uni (New Arts Media faculty). Graphic design and so on.

During the short time I had with processing I really fell in love since it is kinda the coding language for people that don’t really know how to code. Especially graphic designers and so on. (More or less ofc)

So straight to the project.

I want to write a program that would allow me to import a song and create an image based on certain variables I’ve set earlier. I want to assign frequencies to colours and let the program create an image, kinda like a printer. Going from left to right, then a row higher till the song stops.

Is it code-able? If so are there any limitations? Or would it be possible to pick the slightest frequency differences? Not just once a second or so? So that a default unit would be a single pixel to create high-res images?

How hard would it be to assign the colours to the frequencies?

Sorry if the thoughts are all over the place, I’m just trying to find out if it’s doable before I do any serious planning.

Thank you in advance for answers and if you could link to examples or some knowledge bases that could help me during this project I’d be grateful.

-Jay

To get you started:

https://processing.org/tutorials/
https://processing.org/reference/libraries/sound/

:slight_smile:

Cheers! So just to make it straight, this is doable, right? :stuck_out_tongue:

You are only limited by your imagination. :slight_smile:

Try this but with your own sound file:

:slight_smile:

Awesome, thank you, will dive into it!