Inspiration

We love creative electronic music and think it would be really cool to be able to compose a piece based on the features of a random picture.

What it does

Image2music_2.0 allows you to compose music just by selecting a source image file. The program processes the image and creates a musical piece of configurable length.

How we built it

Wrote the script in python, used PIL framework to parse the image into its RGB values per pixel. Then we used pysynth to randomly map a pixel's RGB values to musical notes, octaves, and durations.

For example, using the above image we created this 5 second long piece of music.

Built With

Share this project:

Updates