def get_components(self, root='<STR_LIT:C>', visible=False):
root_val = note_to_val(root)<EOL>components = [v + root_val for v in self.components]<EOL>if visible:<EOL><INDENT>components = [val_to_note(c, scale=root) for c in components]<EOL><DEDENT>return components<EOL>
Get components of chord quality

        :param str root: the root note of the chord
        :param bool visible: returns the name of notes if True
        :rtype: list[str|int]
        :return: components of chord quality