Well, either you try to use the user actions (the easiest, probably), or you try to detect areas of color and play a sound for each area (not for each pixel!), only every n milliseconds (to let a note the time to raise and decay, for example, or to play the sine for half this time, to get the "blinking" effect).
↧