def delay(self, positions):
if not isinstance(positions, list):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if not all((is_number(p) and p >= <NUM_LIT:0>) for p in positions):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>effect_args = ['<STR_LIT>']<EOL>effect_args.extend(['<STR_LIT>'.format(p) for p in positions])<EOL>self.effects.extend(effect_args)<EOL>self.effects_log.append('<STR_LIT>')<EOL>return self<EOL>
Delay one or more audio channels such that they start at the given
        positions.

        Parameters
        ----------
        positions: list of floats
            List of times (in seconds) to delay each audio channel.
            If fewer positions are given than the number of channels, the
            remaining channels will be unaffected.