def transpose(self, trans, scale="<STR_LIT:C>"):
if not isinstance(trans, int):<EOL><INDENT>raise TypeError("<STR_LIT>".format(type(trans)))<EOL><DEDENT>self._root = transpose_note(self._root, trans, scale)<EOL>if self._on:<EOL><INDENT>self._on = transpose_note(self._on, trans, scale)<EOL><DEDENT>self._reconfigure_chord()<EOL>
Transpose the chord

        :param int trans: Transpose key
        :param str scale: key scale
        :return: