After trying to calibrate the analog sensor to play a tune, I was unsuccessful in getting particular shades to consistently play the tones I want. I instead tried to use the photocell to detect white or black, representing 0 or 1. Using 4 photocells, I can create 16 combinations which is enough for a 2 octave scale. Below is the printed chart I used to map the tones and a clip playing the 2 octave scale .
