Max MSP Patch. Recognizes the pitch from the sound input and assigns a color for each different tune.