var fDesc=new Array(); fDesc[0] = "There are millions of possible colors on most computers. The main thing i2sm does is translate those millions of colors into 128 possible notes. While this seems like an awful lot of data is sort of blurred, i2sm is capable of making some interesting songs.

Images on computer screens are composed of dots of light called pixels. When i2sm begins analyzing an image, it starts at the coordinates specified in the StartX and StartY boxes. From that point it spirals out in a clockwise spiral analyzing pixels as it goes. It analyzes the hue (color), the saturation (intensity) and the brightness of each pixel then i2sm translates that information into a note and adds it to the song file. Once its done the analysis phase it saves a temporary copy of the song file then loads Windows Media Player to play back the song. Simple eh?

If there is any interest in i2sm then someday in the future I would like to be able to zoom in and out on the image to set the analysis boundries. I would also like to be able to produce songs in other formats such as mp3."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }