image to MIDI music

RGB MusicLab

RGB MusicLab converts RGB (Red, Green, and Blue) value of an image and surface points (X, Y, Z) of the 3D object to chromatic scale sounds. The program reads RGB value of pixels from the top left to the bottom right of an image. One pixel makes a harmony of three note of RGB value, and the length of note is determined by the brightness of the pixel. RGB value 120 or 121 is the middle C, and RGB value 122 or 123 is added a half steps of the scale that is C#. Pure black that is R=0, G=0, B=0 is no sounds. 

It composes a score from an image directly. The technique of music is called an algorithmic composition. Also this music and visual is a Multi-Media Art and sometimes refers to as Synesthesia. 

sadly by your side, Angelo Semeraro

This project divides music into three parts: beat, tune and harmony; and then defines these three components of music as red, blue and grey.

Sadly by your side changes the paradigm of how music is made and stored, from DJ control to control through algorithms with external visual elements, increasing the sense of participation and allowing for a wide space of experimentation. It reminds me of the ‘auto-generated art’ I’ve been trying to achieve.

Bitmaps & Waves


You can use a combination of audio editing software GoldWave, WavePad Sound Editor to view images as audio files in real time. Images must be in bmp format.


This is done by converting the image into image data, then using Flatten to expand the image data into a one-dimensional list, and then converting this one-dimensional list into audio.

The main difference between images and music is that images are unfolded in two dimensions, whereas music is unfolded in a one-dimensional time-based class of media.

Leave a Reply