def append_note(self, note, root, scale=<NUM_LIT:0>):
root_val = note_to_val(root)<EOL>note_val = note_to_val(note) - root_val + scale * <NUM_LIT:12><EOL>if note_val not in self.components:<EOL><INDENT>self.components.append(note_val)<EOL>self.components.sort()<EOL><DEDENT>
Append a note to quality

        :param str note: note to append on quality
        :param str root: root note of chord
        :param int scale: key scale