a program that randomly generates musical notes, and corrects them to be "in key"